@Test public void testjjMoveStringLiteralDfa1_0() throws Exception{ Method method = class1.getDeclaredMethod("jjMoveStringLiteralDfa1_0",new Class[]{long.class}); method.setAccessible(true); PowerMockito.mockStatic(SimpleCharStream.class); PowerMockito.when(SimpleCharStream.readChar()) .thenReturn((char) 0) .thenReturn((char) 38) .thenReturn((char) 61) .thenReturn((char) 61) .thenReturn((char) 61) .thenReturn((char) 69) .thenReturn((char) 77) .thenReturn((char) 80) .thenReturn((char) 82) .thenReturn((char) 97) .thenReturn((char) 99) .thenReturn((char) 101) .thenReturn((char) 108) .thenReturn((char) 110) .thenReturn((char) 111) .thenReturn((char) 112) .thenReturn((char) 114) .thenReturn((char) 116) .thenReturn((char) 117) .thenReturn((char) 121) .thenReturn((char) 124); Assert.assertTrue((Integer) method.invoke(class1, 1L) == 2); Assert.assertTrue(NEMOparserTokenManager.curChar == 0); Assert.assertTrue((Integer) method.invoke(class1, 0x1000L) == 2); Assert.assertTrue(NEMOparserTokenManager.curChar == 38); Assert.assertTrue((Integer) method.invoke(class1, 0x8000L) == 2); Assert.assertTrue(NEMOparserTokenManager.curChar == 61); Assert.assertTrue((Integer) method.invoke(class1, 0x40000L) == 2); Assert.assertTrue(NEMOparserTokenManager.curChar == 61); Assert.assertTrue((Integer) method.invoke(class1, 0x80000L) == 2); Assert.assertTrue(NEMOparserTokenManager.curChar == 61); Assert.assertTrue((Integer) method.invoke(class1, 0L) == 2); Assert.assertTrue(NEMOparserTokenManager.curChar == 69); Assert.assertTrue((Integer) method.invoke(class1, 0L) == 2); Assert.assertTrue(NEMOparserTokenManager.curChar == 77); Assert.assertTrue((Integer) method.invoke(class1, 0L) == 2); Assert.assertTrue(NEMOparserTokenManager.curChar == 80); Assert.assertTrue((Integer) method.invoke(class1, 0L) == 2); Assert.assertTrue(NEMOparserTokenManager.curChar == 82); Assert.assertTrue((Integer) method.invoke(class1, 0L) == 2); Assert.assertTrue(NEMOparserTokenManager.curChar == 97); Assert.assertTrue((Integer) method.invoke(class1, 0L) == 2); Assert.assertTrue(NEMOparserTokenManager.curChar == 99); Assert.assertTrue((Integer) method.invoke(class1, 0L) == 2); Assert.assertTrue(NEMOparserTokenManager.curChar == 101); Assert.assertTrue((Integer) method.invoke(class1, 0L) == 2); Assert.assertTrue(NEMOparserTokenManager.curChar == 108); Assert.assertTrue((Integer) method.invoke(class1, 0L) == 2); Assert.assertTrue(NEMOparserTokenManager.curChar == 110); Assert.assertTrue((Integer) method.invoke(class1, 0L) == 2); Assert.assertTrue(NEMOparserTokenManager.curChar == 111); Assert.assertTrue((Integer) method.invoke(class1, 0L) == 2); Assert.assertTrue(NEMOparserTokenManager.curChar == 112); Assert.assertTrue((Integer) method.invoke(class1, 0L) == 2); Assert.assertTrue(NEMOparserTokenManager.curChar == 114); Assert.assertTrue((Integer) method.invoke(class1, 0L) == 2); Assert.assertTrue(NEMOparserTokenManager.curChar == 116); Assert.assertTrue((Integer) method.invoke(class1, 0L) == 2); Assert.assertTrue(NEMOparserTokenManager.curChar == 117); Assert.assertTrue((Integer) method.invoke(class1, 0L) == 2); Assert.assertTrue(NEMOparserTokenManager.curChar == 121); Assert.assertTrue((Integer) method.invoke(class1, 0L) == 2); Assert.assertTrue(NEMOparserTokenManager.curChar == 124); }
static private int jjMoveStringLiteralDfa1_0(long active0) { try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(0, active0); return 1; } switch(curChar) { case 38: if ((active0 & 0x1000L) != 0L) return jjStopAtPos(1, 12); break; case 61: if ((active0 & 0x8000L) != 0L) return jjStopAtPos(1, 15); else if ((active0 & 0x40000L) != 0L) return jjStopAtPos(1, 18); else if ((active0 & 0x80000L) != 0L) return jjStopAtPos(1, 19); break; case 69: return jjMoveStringLiteralDfa2_0(active0, 0x10000000L); case 77: return jjMoveStringLiteralDfa2_0(active0, 0x4000000L); case 80: return jjMoveStringLiteralDfa2_0(active0, 0x8000000L); case 82: return jjMoveStringLiteralDfa2_0(active0, 0x2000000L); case 97: return jjMoveStringLiteralDfa2_0(active0, 0x40005000000000L); case 99: return jjMoveStringLiteralDfa2_0(active0, 0x10000000000L); case 101: return jjMoveStringLiteralDfa2_0(active0, 0x200000000000L); case 108: return jjMoveStringLiteralDfa2_0(active0, 0x2000800000000L); case 110: return jjMoveStringLiteralDfa2_0(active0, 0x20400400000000L); case 111: return jjMoveStringLiteralDfa2_0(active0, 0x98082a0000000L); case 112: return jjMoveStringLiteralDfa2_0(active0, 0x4002000000000L); case 114: return jjMoveStringLiteralDfa2_0(active0, 0x1c0100000000L); case 116: return jjMoveStringLiteralDfa2_0(active0, 0x10000000000000L); case 117: return jjMoveStringLiteralDfa2_0(active0, 0x20000000000L); case 121: return jjMoveStringLiteralDfa2_0(active0, 0x40000000L); case 124: if ((active0 & 0x2000L) != 0L) return jjStopAtPos(1, 13); break; default : break; } return jjStartNfa_0(0, active0); }
NEMOparserTokenManager implements NEMOparserConstants { static private int jjMoveStringLiteralDfa1_0(long active0) { try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(0, active0); return 1; } switch(curChar) { case 38: if ((active0 & 0x1000L) != 0L) return jjStopAtPos(1, 12); break; case 61: if ((active0 & 0x8000L) != 0L) return jjStopAtPos(1, 15); else if ((active0 & 0x40000L) != 0L) return jjStopAtPos(1, 18); else if ((active0 & 0x80000L) != 0L) return jjStopAtPos(1, 19); break; case 69: return jjMoveStringLiteralDfa2_0(active0, 0x10000000L); case 77: return jjMoveStringLiteralDfa2_0(active0, 0x4000000L); case 80: return jjMoveStringLiteralDfa2_0(active0, 0x8000000L); case 82: return jjMoveStringLiteralDfa2_0(active0, 0x2000000L); case 97: return jjMoveStringLiteralDfa2_0(active0, 0x40005000000000L); case 99: return jjMoveStringLiteralDfa2_0(active0, 0x10000000000L); case 101: return jjMoveStringLiteralDfa2_0(active0, 0x200000000000L); case 108: return jjMoveStringLiteralDfa2_0(active0, 0x2000800000000L); case 110: return jjMoveStringLiteralDfa2_0(active0, 0x20400400000000L); case 111: return jjMoveStringLiteralDfa2_0(active0, 0x98082a0000000L); case 112: return jjMoveStringLiteralDfa2_0(active0, 0x4002000000000L); case 114: return jjMoveStringLiteralDfa2_0(active0, 0x1c0100000000L); case 116: return jjMoveStringLiteralDfa2_0(active0, 0x10000000000000L); case 117: return jjMoveStringLiteralDfa2_0(active0, 0x20000000000L); case 121: return jjMoveStringLiteralDfa2_0(active0, 0x40000000L); case 124: if ((active0 & 0x2000L) != 0L) return jjStopAtPos(1, 13); break; default : break; } return jjStartNfa_0(0, active0); } }
NEMOparserTokenManager implements NEMOparserConstants { static private int jjMoveStringLiteralDfa1_0(long active0) { try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(0, active0); return 1; } switch(curChar) { case 38: if ((active0 & 0x1000L) != 0L) return jjStopAtPos(1, 12); break; case 61: if ((active0 & 0x8000L) != 0L) return jjStopAtPos(1, 15); else if ((active0 & 0x40000L) != 0L) return jjStopAtPos(1, 18); else if ((active0 & 0x80000L) != 0L) return jjStopAtPos(1, 19); break; case 69: return jjMoveStringLiteralDfa2_0(active0, 0x10000000L); case 77: return jjMoveStringLiteralDfa2_0(active0, 0x4000000L); case 80: return jjMoveStringLiteralDfa2_0(active0, 0x8000000L); case 82: return jjMoveStringLiteralDfa2_0(active0, 0x2000000L); case 97: return jjMoveStringLiteralDfa2_0(active0, 0x40005000000000L); case 99: return jjMoveStringLiteralDfa2_0(active0, 0x10000000000L); case 101: return jjMoveStringLiteralDfa2_0(active0, 0x200000000000L); case 108: return jjMoveStringLiteralDfa2_0(active0, 0x2000800000000L); case 110: return jjMoveStringLiteralDfa2_0(active0, 0x20400400000000L); case 111: return jjMoveStringLiteralDfa2_0(active0, 0x98082a0000000L); case 112: return jjMoveStringLiteralDfa2_0(active0, 0x4002000000000L); case 114: return jjMoveStringLiteralDfa2_0(active0, 0x1c0100000000L); case 116: return jjMoveStringLiteralDfa2_0(active0, 0x10000000000000L); case 117: return jjMoveStringLiteralDfa2_0(active0, 0x20000000000L); case 121: return jjMoveStringLiteralDfa2_0(active0, 0x40000000L); case 124: if ((active0 & 0x2000L) != 0L) return jjStopAtPos(1, 13); break; default : break; } return jjStartNfa_0(0, active0); } NEMOparserTokenManager(SimpleCharStream stream);  NEMOparserTokenManager(SimpleCharStream stream, int lexState); }
NEMOparserTokenManager implements NEMOparserConstants { static private int jjMoveStringLiteralDfa1_0(long active0) { try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(0, active0); return 1; } switch(curChar) { case 38: if ((active0 & 0x1000L) != 0L) return jjStopAtPos(1, 12); break; case 61: if ((active0 & 0x8000L) != 0L) return jjStopAtPos(1, 15); else if ((active0 & 0x40000L) != 0L) return jjStopAtPos(1, 18); else if ((active0 & 0x80000L) != 0L) return jjStopAtPos(1, 19); break; case 69: return jjMoveStringLiteralDfa2_0(active0, 0x10000000L); case 77: return jjMoveStringLiteralDfa2_0(active0, 0x4000000L); case 80: return jjMoveStringLiteralDfa2_0(active0, 0x8000000L); case 82: return jjMoveStringLiteralDfa2_0(active0, 0x2000000L); case 97: return jjMoveStringLiteralDfa2_0(active0, 0x40005000000000L); case 99: return jjMoveStringLiteralDfa2_0(active0, 0x10000000000L); case 101: return jjMoveStringLiteralDfa2_0(active0, 0x200000000000L); case 108: return jjMoveStringLiteralDfa2_0(active0, 0x2000800000000L); case 110: return jjMoveStringLiteralDfa2_0(active0, 0x20400400000000L); case 111: return jjMoveStringLiteralDfa2_0(active0, 0x98082a0000000L); case 112: return jjMoveStringLiteralDfa2_0(active0, 0x4002000000000L); case 114: return jjMoveStringLiteralDfa2_0(active0, 0x1c0100000000L); case 116: return jjMoveStringLiteralDfa2_0(active0, 0x10000000000000L); case 117: return jjMoveStringLiteralDfa2_0(active0, 0x20000000000L); case 121: return jjMoveStringLiteralDfa2_0(active0, 0x40000000L); case 124: if ((active0 & 0x2000L) != 0L) return jjStopAtPos(1, 13); break; default : break; } return jjStartNfa_0(0, active0); } NEMOparserTokenManager(SimpleCharStream stream);  NEMOparserTokenManager(SimpleCharStream stream, int lexState); static void setDebugStream(java.io.PrintStream ds); static void ReInit(SimpleCharStream stream); static void ReInit(SimpleCharStream stream, int lexState); static void SwitchTo(int lexState); static Token getNextToken(); }
NEMOparserTokenManager implements NEMOparserConstants { static private int jjMoveStringLiteralDfa1_0(long active0) { try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(0, active0); return 1; } switch(curChar) { case 38: if ((active0 & 0x1000L) != 0L) return jjStopAtPos(1, 12); break; case 61: if ((active0 & 0x8000L) != 0L) return jjStopAtPos(1, 15); else if ((active0 & 0x40000L) != 0L) return jjStopAtPos(1, 18); else if ((active0 & 0x80000L) != 0L) return jjStopAtPos(1, 19); break; case 69: return jjMoveStringLiteralDfa2_0(active0, 0x10000000L); case 77: return jjMoveStringLiteralDfa2_0(active0, 0x4000000L); case 80: return jjMoveStringLiteralDfa2_0(active0, 0x8000000L); case 82: return jjMoveStringLiteralDfa2_0(active0, 0x2000000L); case 97: return jjMoveStringLiteralDfa2_0(active0, 0x40005000000000L); case 99: return jjMoveStringLiteralDfa2_0(active0, 0x10000000000L); case 101: return jjMoveStringLiteralDfa2_0(active0, 0x200000000000L); case 108: return jjMoveStringLiteralDfa2_0(active0, 0x2000800000000L); case 110: return jjMoveStringLiteralDfa2_0(active0, 0x20400400000000L); case 111: return jjMoveStringLiteralDfa2_0(active0, 0x98082a0000000L); case 112: return jjMoveStringLiteralDfa2_0(active0, 0x4002000000000L); case 114: return jjMoveStringLiteralDfa2_0(active0, 0x1c0100000000L); case 116: return jjMoveStringLiteralDfa2_0(active0, 0x10000000000000L); case 117: return jjMoveStringLiteralDfa2_0(active0, 0x20000000000L); case 121: return jjMoveStringLiteralDfa2_0(active0, 0x40000000L); case 124: if ((active0 & 0x2000L) != 0L) return jjStopAtPos(1, 13); break; default : break; } return jjStartNfa_0(0, active0); } NEMOparserTokenManager(SimpleCharStream stream);  NEMOparserTokenManager(SimpleCharStream stream, int lexState); static void setDebugStream(java.io.PrintStream ds); static void ReInit(SimpleCharStream stream); static void ReInit(SimpleCharStream stream, int lexState); static void SwitchTo(int lexState); static Token getNextToken(); static java.io.PrintStream debugStream; static final String[] jjstrLiteralImages; static final String[] lexStateNames; }