public abstract class FeatureStoreTestSupport extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AssertFf4j |
assertFf4j
Test Values
|
protected FeatureStore |
defaultStore
Default InMemoryStore for test purposes.
|
static String |
DIGIT_VALUE |
protected FF4j |
ff4j
Initialize
|
static String |
GOLOGOLO |
static String |
PPSTRING |
static String |
REGION_IDENTIFIER |
static String |
ROLE_XYZ |
protected FeatureStore |
testedStore
Tested Store.
|
| Constructor and Description |
|---|
FeatureStoreTestSupport() |
public static final String GOLOGOLO
public static final String ROLE_XYZ
public static final String PPSTRING
public static final String DIGIT_VALUE
public static final String REGION_IDENTIFIER
protected FF4j ff4j
protected FeatureStore testedStore
protected AssertFf4j assertFf4j
protected FeatureStore defaultStore
protected abstract FeatureStore initStore()
Exception - error during building feature storeprotected int enablePause()
public void testStoreHasBeenInitialized()
public void testReadAllFeatures()
public void testReadNull()
public void testReadEmpty()
public void testReadNotExist()
public void testReadFullFeature()
public void testEnableNull()
public void testEnableEmpty()
public void testEnableFeatureDoesNotExist()
public void testDisableNull()
public void testDisableEmpty()
public void testDisableFeatureDoesNotExist()
public void testEnableFeature()
public void testDisableFeature()
public void testAddFeatureAlreadyExis()
throws Exception
Exceptionpublic void testDeteleFeatureDoesnotExist()
throws Exception
Exceptionpublic void testGrantRoleNullFeature()
throws Exception
Exceptionpublic void testGrantRoleEmptyFeature()
throws Exception
Exceptionpublic void testGrantRoleToFeatureRoleDoesNotExist()
throws Exception
Exceptionpublic void testGrantRoleToFeatureFeatureDoesNotExist()
throws Exception
Exceptionpublic void testRemoveRoleNullFeature()
throws Exception
Exceptionpublic void testRemoveRoleEmptyFeature()
throws Exception
Exceptionpublic void testRemoveRoleEmptyRole()
throws Exception
Exceptionpublic void testDeleteRoleToFeature()
throws Exception
Exceptionpublic void testFeatureDoesNotExit()
public void testDeleteRoleFeatureDoesNotExit()
public void testUpdateFeatureCoreData()
public void testUpdateFeatureMoreAutorisation()
public void testUpdateFlipLessAutorisation()
public void testUpdateFlipMoreAutorisationNotExist()
public void testExistNull()
public void testExistEmpty()
public void testExistGroup()
public void testEnableGroup()
public void testEnableGroupDoesNotExist()
public void testDisableGroup()
public void testDisableGroupDoesNotExist()
public void testReadGroup()
public void testReadGroupDoesnotExist()
public void testAddToGroupFeatureNull()
throws Exception
Exceptionpublic void testAddToGroupFeatureEmpty()
throws Exception
Exceptionpublic void testAddToGroup()
throws InterruptedException
InterruptedExceptionpublic void testAddToGroupFeatureDoeNotExist()
public void testRemoveToGroupFeatureNull()
throws Exception
Exceptionpublic void testRemoveToGroupFeatureEmpty()
throws Exception
Exceptionpublic void testRemoveFromGroup()
public void testRemoveLastFeatureOfGroupDeleteGroup()
throws InterruptedException
InterruptedExceptionpublic void testRemoveFromGroupFeatureDoeNotExist()
public void testRemoveFromGroupDoesNotExist()
public void testRemoveFromGroupIfNotInGroup()
public void testReadAllGroup()
public void testUpdateEditFlippingStrategy()
public void testUpdateRemoveFlippingStrategy()
public void testUpdateAddFlippingStrategy()
public void testDonotUpdateNullFeature()
public void testDonotDeleteNull()
public void testDonotDeleteEmpty()
public void testClear()
public void testUpdateAddProperty()
public void testUpdateRemoveProperty()
public void testUpdateEditPropertyValue()
public void testUpdateEditPropertyAddFixedValues()
public void testUpdateEditPropertyRemoveFixedValues()
Copyright © 2013–2020 FF4J. All rights reserved.