/* * 4 covered goals: * 1 com.werken.saxpath.XPathLexer.isIdentifierStartChar(C)Z: I4 Branch 228 IF_ICMPEQ L1003 - false * 2 com.werken.saxpath.XPathLexer.isIdentifierStartChar(C)Z: I7 Branch 229 IFEQ L1003 - false * 3 com.werken.saxpath.XPathLexer.setXPath(Ljava/lang/String;)V: root-Branch * 4 com.werken.saxpath.XPathLexer.<init>(Ljava/lang/String;)V: root-Branch */ @Test public void test11() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(""); boolean boolean0 = xPathLexer0.isIdentifierStartChar('r'); assertEquals(0, xPathLexer0.currentPosition()); assertEquals(true, boolean0); }
/* * 1 covered goal: * 1 com.werken.saxpath.XPathLexer.isIdentifierStartChar(C)Z: I4 Branch 228 IF_ICMPEQ L1003 - true */ @Test public void test10() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer("s"); boolean boolean0 = xPathLexer0.isIdentifierStartChar('_'); assertEquals(true, boolean0); assertEquals(true, xPathLexer0.hasMoreChars()); }
/* * 3 covered goals: * 1 com.werken.saxpath.XPathLexer.isIdentifierStartChar(C)Z: I7 Branch 229 IFEQ L1003 - false * 2 com.werken.saxpath.XPathLexer.<init>()V: root-Branch * 3 com.werken.saxpath.XPathLexer.isIdentifierStartChar(C)Z: I4 Branch 228 IF_ICMPEQ L1003 - false */ @Test public void test12() throws Throwable { XPathLexer xPathLexer0 = new XPathLexer(); boolean boolean0 = xPathLexer0.isIdentifierStartChar('X'); assertEquals(true, boolean0); }