Class SecurityServiceTest
- java.lang.Object
-
- org.apache.fulcrum.testcontainer.BaseUnit5Test
-
- org.apache.turbine.services.security.SecurityServiceTest
-
public class SecurityServiceTest extends org.apache.fulcrum.testcontainer.BaseUnit5Test
Test that the SecurityService works properly by comparing behaviour of Turbine and Fulcrum security services using memory user manager. Code adapted from SecurityServiceAdapter in Fulcrum Security Adapter- Version:
- $Id$
- Author:
- gkallidis
-
-
Constructor Summary
Constructors Constructor Description SecurityServiceTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
init()
static void
setupAfter()
void
setUpBefore()
void
testAccountExists()
void
testCreateUser()
void
testGrantUserGroupRole()
Tests Turbine and Fulcrum.
-
-
-
Constructor Detail
-
SecurityServiceTest
public SecurityServiceTest()
-
-
Method Detail
-
setUpBefore
@BeforeEach public void setUpBefore() throws Exception
- Throws:
Exception
-
testAccountExists
@Test public void testAccountExists() throws Exception
- Throws:
Exception
-
testCreateUser
@Test public void testCreateUser() throws Exception
- Throws:
Exception
-
testGrantUserGroupRole
@Test public void testGrantUserGroupRole() throws Exception
Tests Turbine and Fulcrum. Fulcrum part is similar/duplicated fromAbstractTurbineModelManagerTest.testGrantUserGroupRole()
- Throws:
Exception
-
setupAfter
@AfterAll public static void setupAfter()
-
-