@Test public void testjjMoveStringLiteralDfa4_0() throws Exception{ Method method = class1.getDeclaredMethod("jjMoveStringLiteralDfa4_0",new Class[]{ long.class, long.class }); method.setAccessible(true); PowerMockito.mockStatic(SimpleCharStream.class); PowerMockito.when(SimpleCharStream.readChar()) .thenReturn((char) 0) .thenReturn((char) 77) .thenReturn((char) 82) .thenReturn((char) 84) .thenReturn((char) 97) .thenReturn((char) 101) .thenReturn((char) 103) .thenReturn((char) 104) .thenReturn((char) 105) .thenReturn((char) 110) .thenReturn((char) 111) .thenReturn((char) 114) .thenReturn((char) 115) .thenReturn((char) 121); Assert.assertTrue((Integer) method.invoke(class1, 1L, 1L) == 5); Assert.assertTrue(NEMOparserTokenManager.curChar == 0); Assert.assertTrue((Integer) method.invoke(class1, 1L, 1L) == 5); Assert.assertTrue(NEMOparserTokenManager.curChar == 77); Assert.assertTrue((Integer) method.invoke(class1, 1L, 1L) == 5); Assert.assertTrue(NEMOparserTokenManager.curChar == 82); Assert.assertTrue((Integer) method.invoke(class1, 1L, 1L) == 5); Assert.assertTrue(NEMOparserTokenManager.curChar == 84); Assert.assertTrue((Integer) method.invoke(class1, 1L, 1L) == 5); Assert.assertTrue(NEMOparserTokenManager.curChar == 97); Assert.assertTrue((Integer) method.invoke(class1, 1L, 1L) == 5); Assert.assertTrue(NEMOparserTokenManager.curChar == 101); Assert.assertTrue((Integer) method.invoke(class1, 1L, 1L) == 5); Assert.assertTrue(NEMOparserTokenManager.curChar == 103); Assert.assertTrue((Integer) method.invoke(class1, 1L, 1L) == 5); Assert.assertTrue(NEMOparserTokenManager.curChar == 104); Assert.assertTrue((Integer) method.invoke(class1, 1L, 1L) == 5); Assert.assertTrue(NEMOparserTokenManager.curChar == 105); Assert.assertTrue((Integer) method.invoke(class1, 1L, 1L) == 5); Assert.assertTrue(NEMOparserTokenManager.curChar == 110); Assert.assertTrue((Integer) method.invoke(class1, 1L, 1L) == 5); Assert.assertTrue(NEMOparserTokenManager.curChar == 111); Assert.assertTrue((Integer) method.invoke(class1, 1L, 1L) == 5); Assert.assertTrue(NEMOparserTokenManager.curChar == 114); Assert.assertTrue((Integer) method.invoke(class1, 1L, 1L) == 5); Assert.assertTrue(NEMOparserTokenManager.curChar == 115); Assert.assertTrue((Integer) method.invoke(class1, 1L, 1L) == 5); Assert.assertTrue(NEMOparserTokenManager.curChar == 121); }
static private int jjMoveStringLiteralDfa4_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_0(2, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(3, active0); return 4; } switch(curChar) { case 77: return jjMoveStringLiteralDfa5_0(active0, 0x8000000000000L); case 82: return jjMoveStringLiteralDfa5_0(active0, 0x4000000L); case 84: return jjMoveStringLiteralDfa5_0(active0, 0x1a000000L); case 97: return jjMoveStringLiteralDfa5_0(active0, 0x4002080000000L); case 101: if ((active0 & 0x40000000000000L) != 0L) return jjStartNfaWithStates_0(4, 54, 205); return jjMoveStringLiteralDfa5_0(active0, 0x1004300000000L); case 103: return jjMoveStringLiteralDfa5_0(active0, 0x20000000000000L); case 104: if ((active0 & 0x1000000000L) != 0L) return jjStopAtPos(4, 36); break; case 105: return jjMoveStringLiteralDfa5_0(active0, 0x8000000000L); case 110: if ((active0 & 0x200000000000L) != 0L) return jjStopAtPos(4, 45); return jjMoveStringLiteralDfa5_0(active0, 0x10000000000000L); case 111: return jjMoveStringLiteralDfa5_0(active0, 0x10400000000L); case 114: return jjMoveStringLiteralDfa5_0(active0, 0x80000000000L); case 115: if ((active0 & 0x800000000000L) != 0L) return jjStartNfaWithStates_0(4, 47, 205); else if ((active0 & 0x2000000000000L) != 0L) return jjStartNfaWithStates_0(4, 49, 205); return jjMoveStringLiteralDfa5_0(active0, 0x100000000000L); case 121: if ((active0 & 0x20000000000L) != 0L) return jjStopAtPos(4, 41); break; default : break; } return jjStartNfa_0(3, active0); }
NEMOparserTokenManager implements NEMOparserConstants { static private int jjMoveStringLiteralDfa4_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_0(2, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(3, active0); return 4; } switch(curChar) { case 77: return jjMoveStringLiteralDfa5_0(active0, 0x8000000000000L); case 82: return jjMoveStringLiteralDfa5_0(active0, 0x4000000L); case 84: return jjMoveStringLiteralDfa5_0(active0, 0x1a000000L); case 97: return jjMoveStringLiteralDfa5_0(active0, 0x4002080000000L); case 101: if ((active0 & 0x40000000000000L) != 0L) return jjStartNfaWithStates_0(4, 54, 205); return jjMoveStringLiteralDfa5_0(active0, 0x1004300000000L); case 103: return jjMoveStringLiteralDfa5_0(active0, 0x20000000000000L); case 104: if ((active0 & 0x1000000000L) != 0L) return jjStopAtPos(4, 36); break; case 105: return jjMoveStringLiteralDfa5_0(active0, 0x8000000000L); case 110: if ((active0 & 0x200000000000L) != 0L) return jjStopAtPos(4, 45); return jjMoveStringLiteralDfa5_0(active0, 0x10000000000000L); case 111: return jjMoveStringLiteralDfa5_0(active0, 0x10400000000L); case 114: return jjMoveStringLiteralDfa5_0(active0, 0x80000000000L); case 115: if ((active0 & 0x800000000000L) != 0L) return jjStartNfaWithStates_0(4, 47, 205); else if ((active0 & 0x2000000000000L) != 0L) return jjStartNfaWithStates_0(4, 49, 205); return jjMoveStringLiteralDfa5_0(active0, 0x100000000000L); case 121: if ((active0 & 0x20000000000L) != 0L) return jjStopAtPos(4, 41); break; default : break; } return jjStartNfa_0(3, active0); } }
NEMOparserTokenManager implements NEMOparserConstants { static private int jjMoveStringLiteralDfa4_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_0(2, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(3, active0); return 4; } switch(curChar) { case 77: return jjMoveStringLiteralDfa5_0(active0, 0x8000000000000L); case 82: return jjMoveStringLiteralDfa5_0(active0, 0x4000000L); case 84: return jjMoveStringLiteralDfa5_0(active0, 0x1a000000L); case 97: return jjMoveStringLiteralDfa5_0(active0, 0x4002080000000L); case 101: if ((active0 & 0x40000000000000L) != 0L) return jjStartNfaWithStates_0(4, 54, 205); return jjMoveStringLiteralDfa5_0(active0, 0x1004300000000L); case 103: return jjMoveStringLiteralDfa5_0(active0, 0x20000000000000L); case 104: if ((active0 & 0x1000000000L) != 0L) return jjStopAtPos(4, 36); break; case 105: return jjMoveStringLiteralDfa5_0(active0, 0x8000000000L); case 110: if ((active0 & 0x200000000000L) != 0L) return jjStopAtPos(4, 45); return jjMoveStringLiteralDfa5_0(active0, 0x10000000000000L); case 111: return jjMoveStringLiteralDfa5_0(active0, 0x10400000000L); case 114: return jjMoveStringLiteralDfa5_0(active0, 0x80000000000L); case 115: if ((active0 & 0x800000000000L) != 0L) return jjStartNfaWithStates_0(4, 47, 205); else if ((active0 & 0x2000000000000L) != 0L) return jjStartNfaWithStates_0(4, 49, 205); return jjMoveStringLiteralDfa5_0(active0, 0x100000000000L); case 121: if ((active0 & 0x20000000000L) != 0L) return jjStopAtPos(4, 41); break; default : break; } return jjStartNfa_0(3, active0); } NEMOparserTokenManager(SimpleCharStream stream);  NEMOparserTokenManager(SimpleCharStream stream, int lexState); }
NEMOparserTokenManager implements NEMOparserConstants { static private int jjMoveStringLiteralDfa4_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_0(2, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(3, active0); return 4; } switch(curChar) { case 77: return jjMoveStringLiteralDfa5_0(active0, 0x8000000000000L); case 82: return jjMoveStringLiteralDfa5_0(active0, 0x4000000L); case 84: return jjMoveStringLiteralDfa5_0(active0, 0x1a000000L); case 97: return jjMoveStringLiteralDfa5_0(active0, 0x4002080000000L); case 101: if ((active0 & 0x40000000000000L) != 0L) return jjStartNfaWithStates_0(4, 54, 205); return jjMoveStringLiteralDfa5_0(active0, 0x1004300000000L); case 103: return jjMoveStringLiteralDfa5_0(active0, 0x20000000000000L); case 104: if ((active0 & 0x1000000000L) != 0L) return jjStopAtPos(4, 36); break; case 105: return jjMoveStringLiteralDfa5_0(active0, 0x8000000000L); case 110: if ((active0 & 0x200000000000L) != 0L) return jjStopAtPos(4, 45); return jjMoveStringLiteralDfa5_0(active0, 0x10000000000000L); case 111: return jjMoveStringLiteralDfa5_0(active0, 0x10400000000L); case 114: return jjMoveStringLiteralDfa5_0(active0, 0x80000000000L); case 115: if ((active0 & 0x800000000000L) != 0L) return jjStartNfaWithStates_0(4, 47, 205); else if ((active0 & 0x2000000000000L) != 0L) return jjStartNfaWithStates_0(4, 49, 205); return jjMoveStringLiteralDfa5_0(active0, 0x100000000000L); case 121: if ((active0 & 0x20000000000L) != 0L) return jjStopAtPos(4, 41); break; default : break; } return jjStartNfa_0(3, 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 jjMoveStringLiteralDfa4_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_0(2, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(3, active0); return 4; } switch(curChar) { case 77: return jjMoveStringLiteralDfa5_0(active0, 0x8000000000000L); case 82: return jjMoveStringLiteralDfa5_0(active0, 0x4000000L); case 84: return jjMoveStringLiteralDfa5_0(active0, 0x1a000000L); case 97: return jjMoveStringLiteralDfa5_0(active0, 0x4002080000000L); case 101: if ((active0 & 0x40000000000000L) != 0L) return jjStartNfaWithStates_0(4, 54, 205); return jjMoveStringLiteralDfa5_0(active0, 0x1004300000000L); case 103: return jjMoveStringLiteralDfa5_0(active0, 0x20000000000000L); case 104: if ((active0 & 0x1000000000L) != 0L) return jjStopAtPos(4, 36); break; case 105: return jjMoveStringLiteralDfa5_0(active0, 0x8000000000L); case 110: if ((active0 & 0x200000000000L) != 0L) return jjStopAtPos(4, 45); return jjMoveStringLiteralDfa5_0(active0, 0x10000000000000L); case 111: return jjMoveStringLiteralDfa5_0(active0, 0x10400000000L); case 114: return jjMoveStringLiteralDfa5_0(active0, 0x80000000000L); case 115: if ((active0 & 0x800000000000L) != 0L) return jjStartNfaWithStates_0(4, 47, 205); else if ((active0 & 0x2000000000000L) != 0L) return jjStartNfaWithStates_0(4, 49, 205); return jjMoveStringLiteralDfa5_0(active0, 0x100000000000L); case 121: if ((active0 & 0x20000000000L) != 0L) return jjStopAtPos(4, 41); break; default : break; } return jjStartNfa_0(3, 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; }