@Test public void testExitLastEntryWithDefaultContext() { final Context defaultContext = getFakeDefaultContext(); ContextUtil.runOnContext(defaultContext, new Runnable() { @Override public void run() { CtEntry entry = new CtEntry(new StringResourceWrapper("res", EntryType.IN), null, ContextUtil.getContext()); assertSame(entry, defaultContext.getCurEntry()); assertSame(defaultContext, ContextUtil.getContext()); entry.exit(); assertNull(defaultContext.getCurEntry()); assertNull(ContextUtil.getContext()); } }); }
@Override public void exit(int count, Object... args) throws ErrorEntryFreeException { trueExit(count, args); }
CtEntry extends Entry { @Override public void exit(int count, Object... args) throws ErrorEntryFreeException { trueExit(count, args); } }
CtEntry extends Entry { @Override public void exit(int count, Object... args) throws ErrorEntryFreeException { trueExit(count, args); } CtEntry(ResourceWrapper resourceWrapper, ProcessorSlot<Object> chain, Context context); }
CtEntry extends Entry { @Override public void exit(int count, Object... args) throws ErrorEntryFreeException { trueExit(count, args); } CtEntry(ResourceWrapper resourceWrapper, ProcessorSlot<Object> chain, Context context); @Override void exit(int count, Object... args); @Override Node getLastNode(); }
CtEntry extends Entry { @Override public void exit(int count, Object... args) throws ErrorEntryFreeException { trueExit(count, args); } CtEntry(ResourceWrapper resourceWrapper, ProcessorSlot<Object> chain, Context context); @Override void exit(int count, Object... args); @Override Node getLastNode();  }