Merge remote-tracking branch 'origin/jetty-9.4.x' into jetty-10.0.x

Signed-off-by: Jan Bartel <janb@webtide.com>
This commit is contained in:
Jan Bartel 2019-08-28 11:22:59 +10:00
commit 728c96f547
1 changed files with 4 additions and 10 deletions

View File

@ -67,9 +67,7 @@ public class NullSessionCacheTest
se.getSession().setAttribute("pv", new TestObject(count)); se.getSession().setAttribute("pv", new TestObject(count));
} }
} }
public static class TestObject implements HttpSessionActivationListener public static class TestObject implements HttpSessionActivationListener
{ {
int i; int i;
@ -97,8 +95,7 @@ public class NullSessionCacheTest
++activates; ++activates;
} }
} }
@Test @Test
public void testWritesWithPassivation() throws Exception public void testWritesWithPassivation() throws Exception
{ {
@ -191,8 +188,6 @@ public class NullSessionCacheTest
assertEquals(0, context.getSessionHandler()._sessionAttributeListeners.size()); assertEquals(0, context.getSessionHandler()._sessionAttributeListeners.size());
} }
@Test @Test
public void testWriteThroughAlways() throws Exception public void testWriteThroughAlways() throws Exception
{ {
@ -245,7 +240,7 @@ public class NullSessionCacheTest
} }
@Test @Test
public void testWriteThroughNew () throws Exception public void testWriteThroughNew() throws Exception
{ {
Server server = new Server(); Server server = new Server();
@ -303,8 +298,7 @@ public class NullSessionCacheTest
assertEquals(4, store._numSaves.get());//release session should write it out assertEquals(4, store._numSaves.get());//release session should write it out
assertFalse(session.isResident()); assertFalse(session.isResident());
} }
@Test @Test
public void testNotCached() throws Exception public void testNotCached() throws Exception
{ {