227228229230231232233234235236237
stack.execute(handler1); assertEquals(requestCycle.getResponse(), originalResponse); stack.detach(); assertFalse(testFlag1); assertFalse(testFlag2); assertFalse(testFlag3); assertFalse(testFlag4);
331332333334335336337338339340341
stack.execute(handler1); assertEquals(requestCycle.getResponse(), originalResponse); stack.detach(); assertTrue(testFlag1); assertTrue(testFlag2); assertTrue(testFlag3); assertTrue(testFlag4);
118119120121122123124125126127128
stack.execute(handler1); assertEquals(requestCycle.getResponse(), originalResponse); stack.detach(); assertFalse(testFlag1); assertFalse(testFlag2); assertFalse(testFlag3);
213214215216217218219220221222223
309310311312313314315316317318319
123124125126127128129130131132133
stack.executeRequestHandler(handler1); assertEquals(stack.getResponse(), originalResponse); stack.detach(); assertFalse(testFlag1); assertFalse(testFlag2); assertFalse(testFlag3);
217218219220221222223224225226227
stack.executeRequestHandler(handler1); assertEquals(stack.getResponse(), originalResponse); stack.detach(); assertFalse(testFlag1); assertFalse(testFlag2); assertFalse(testFlag3); assertFalse(testFlag4);
313314315316317318319320321322323
stack.executeRequestHandler(handler1); assertEquals(stack.getResponse(), originalResponse); stack.detach(); assertTrue(testFlag1); assertTrue(testFlag2); assertTrue(testFlag3); assertTrue(testFlag4);