WIP ee9 session tests
This commit is contained in:
parent
3838256dc6
commit
e6c952caa5
|
@ -54,8 +54,6 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
|
|||
*
|
||||
* Test combinations of creating, forwarding and invalidating
|
||||
* a session.
|
||||
*
|
||||
* TODO most of these are covered by unit tests, but may be useful to move this to ee10 anyway?
|
||||
*/
|
||||
public class CreationTest
|
||||
{
|
||||
|
|
|
@ -43,16 +43,8 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
|
|||
import static org.junit.jupiter.api.Assertions.assertFalse;
|
||||
import static org.junit.jupiter.api.Assertions.assertNull;
|
||||
|
||||
/**
|
||||
* DeleteUnloadableSessionTest
|
||||
*
|
||||
* TODO - maybe move this test to ee10?
|
||||
*/
|
||||
public class DeleteUnloadableSessionTest
|
||||
{
|
||||
/**
|
||||
* DelSessionDataStore
|
||||
*/
|
||||
public static class DelSessionDataStore extends AbstractSessionDataStore
|
||||
{
|
||||
Object o = new Object();
|
||||
|
|
|
@ -35,8 +35,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
|
|||
* RedirectSessionTest
|
||||
*
|
||||
* Test that creating a session and then doing a redirect preserves the session.
|
||||
*
|
||||
* TODO move to ee10
|
||||
*/
|
||||
public class RedirectSessionTest
|
||||
{
|
||||
|
|
|
@ -38,8 +38,6 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
|
|||
*
|
||||
* While a request is still active in a context, make another
|
||||
* request to it to ensure both share same session.
|
||||
*
|
||||
* TODO covered by unit tests, but maybe copy to ee10 anyway
|
||||
*/
|
||||
public class ReentrantRequestSessionTest
|
||||
{
|
||||
|
|
|
@ -44,8 +44,6 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
|
|||
* RemoveSessionTest
|
||||
*
|
||||
* Test that invalidating a session does not return the session on the next request.
|
||||
*
|
||||
* TODO Consider moving to ee10
|
||||
*/
|
||||
public class RemoveSessionTest
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue