Package com.ctc.wstx.cfg

Examples of com.ctc.wstx.cfg.ErrorConsts


    {
        /* This is silly, but coverage testing is not happy that our
         * error-constant-defining class is never constructed.
         * So here we go, just to mark it off the list...
         */
        ErrorConsts ec = new ErrorConsts();
        assertNotNull(ec); // silly, but otherwise eclipse would about unused..
        assertNotNull(ErrorConsts.tokenTypeDesc(XMLStreamConstants.START_DOCUMENT));
        assertNotNull(ErrorConsts.tokenTypeDesc(XMLStreamConstants.END_DOCUMENT));
        assertNotNull(ErrorConsts.tokenTypeDesc(XMLStreamConstants.ATTRIBUTE));
    }
View Full Code Here


    {
        /* This is silly, but coverage testing is not happy that our
         * error-constant-defining class is never constructed.
         * So here we go, just to mark it off the list...
         */
        ErrorConsts ec = new ErrorConsts();
        assertNotNull(ec.tokenTypeDesc(XMLStreamConstants.START_DOCUMENT));
        assertNotNull(ec.tokenTypeDesc(XMLStreamConstants.END_DOCUMENT));
        assertNotNull(ec.tokenTypeDesc(XMLStreamConstants.ATTRIBUTE));
    }
View Full Code Here

TOP

Related Classes of com.ctc.wstx.cfg.ErrorConsts

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.