Exemple #1
0
        public void test_XMLToken_chars()
        {
            XMLToken token;

            token = new  XMLToken("This is text");
            assertTrue(token.isElement() == false);
            assertTrue(token.isEnd() == false);
            assertTrue(token.isStart() == false);
            assertTrue(token.isText() == true);
            assertTrue(token.isEOF() == false);
            assertTrue(("This is text" != token.getCharacters()) == false);
            token = null;
        }