change scope for constants in unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1380585 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
88233aff69
commit
49761b2fbf
|
@ -39,11 +39,8 @@ public class CachedRbacManagerTest
|
|||
@Named( value = "rBACManager#cached" )
|
||||
RBACManager rbacManager;
|
||||
|
||||
@BeforeClass
|
||||
public static void dummyInit()
|
||||
{
|
||||
EVENTCOUNT = 1;
|
||||
}
|
||||
public static int EVENTCOUNT = 1; // set to 2 because most of test start with eventTracker.rbacInit( true ); => incrementing eventrackercount by one
|
||||
|
||||
|
||||
/*
|
||||
* event count workflow in cachedRbacMaanger is not working like JDO or Memory provider
|
||||
|
|
|
@ -60,6 +60,8 @@ public class JdoRbacManagerTest
|
|||
@Named( value = "rBACManager#jdo" )
|
||||
RBACManager rbacManager;
|
||||
|
||||
public static int EVENTCOUNT = 2;
|
||||
|
||||
@Override
|
||||
public void assertEventCount()
|
||||
{
|
||||
|
|
|
@ -42,6 +42,8 @@ public class MemoryRbacManagerTest
|
|||
@Named (value = "rBACManager#memory")
|
||||
RBACManager rbacManager;
|
||||
|
||||
public static int EVENTCOUNT = 2;
|
||||
|
||||
@Override
|
||||
public void assertEventCount()
|
||||
{
|
||||
|
|
|
@ -55,7 +55,6 @@ public abstract class AbstractRbacManagerTestCase
|
|||
|
||||
private RBACDefaults rbacDefaults;
|
||||
|
||||
public static int EVENTCOUNT = 2; // set to 2 because most of test start with eventTracker.rbacInit( true ); => incrementing eventrackercount by one
|
||||
public void setRbacManager( RBACManager store )
|
||||
{
|
||||
this.rbacManager = store;
|
||||
|
|
Loading…
Reference in New Issue