org.eclipse.emf.ecp.view.rule.test
Class RuleServiceTest

java.lang.Object
  extended by org.eclipse.emf.ecp.view.rule.test.CommonRuleTest
      extended by org.eclipse.emf.ecp.view.rule.test.RuleServiceTest

public class RuleServiceTest
extends CommonRuleTest

Things to be tested. tests on control with rule: init wrong value , right value lifecycle wrong -> right; right -> wrong; wrong -> wrong; right -> right types: show, enable, hide, disable (2+4)*4 propagation tests: - test propagation from parent to child (no rule) [combinations same as rule on control] - test propagation from parent to child (rule != parent.rule) [combinations same as rule on control] domain wrong parent (s: disabled r:enable) child1 (s:visible r:hidden) child2 (s:enabled r:disable) init parent (s: disabled r:enable) child1 (s:visible r:hidden) child2 (s:disabled r:disable) parent(s:enabled) child (s:hidden) child2(s:disabled) dispose getInvolvedObjects objects if no change -> none, empty list objects if change -> only container of rule no side effects

Author:
Eugen Neufeld, emueller

Constructor Summary
RuleServiceTest()
           
 
Method Summary
 void setUp()
          Sets the up.
 void tearDown()
          Tear down.
 void testContainmentConditionAddToEmptyList()
           
 void testContainmentConditionInitEmptyList()
           
 void testContainmentConditionWithShowRule()
           
 void testContainmentConditionWithShowRuleFulFillCondition()
           
 void testContainmentConditionWithShowRuleWithClearedMultiref()
           
 void testDefaultRightToRightDisableRule()
          Test default right to right disable rule.
 void testDefaultRightToRightEnableRule()
          Test default right to right enable rule.
 void testDefaultRightToRightHideRule()
          Test default right to right hide rule.
 void testDefaultRightToRightShowRule()
          Test default right to right show rule.
 void testDefaultRightToWrongDisableRule()
          Test default right to wrong disable rule.
 void testDefaultRightToWrongEnableRule()
          Test default right to wrong enable rule.
 void testDefaultRightToWrongHideRule()
          Test default right to wrong hide rule.
 void testDefaultRightToWrongShowRule()
          Test default right to wrong show rule.
 void testDefaultWrongToRightDisableRule()
          Test default wrong to right disable rule.
 void testDefaultWrongToRightEnableRule()
          Test default wrong to right enable rule.
 void testDefaultWrongToRightHideRule()
          Test default wrong to right hide rule.
 void testDefaultWrongToRightShowRule()
          Test default wrong to right show rule.
 void testDefaultWrongToWrongDisableRule()
          Test default wrong to wrong disable rule.
 void testDefaultWrongToWrongEnableRule()
          Test default wrong to wrong enable rule.
 void testDefaultWrongToWrongHideRule()
          Test default wrong to wrong hide rule.
 void testDefaultWrongToWrongShowRule()
          Test default wrong to wrong show rule.
 void testDispose()
          Test dispose.
 void testGetInvolvedEObjectChange()
          Test get involved e object change.
 void testGetInvolvedEObjectChangeWithoutChangedValue()
          Test get involved e object change.
 void testGetInvolvedEObjectNoChange()
          Test get involved e object no change.
 void testGetInvolvedEObjectNoSideEffects()
          Test get involved e object no side effects.
 void testGetInvolvedEObjectNoVanishingRenderables()
          Test get involved e object change.
 void testGetInvolvedEObjectParentAffectedIfChildChanged()
          Test get involved e object change.
 void testGetInvolvedEObjectParentAffectedIfChildNotChanged()
          Test get involved e object change.
 void testGetInvolvedEObjectsHelperBothRulesApply()
          Should return the control.
 void testGetInvolvedEObjectsHelperEnableRuleAppliesCorrectValue()
          Should return the control because of the EnableRule on the control.
 void testGetInvolvedEObjectsHelperEnableRuleAppliesWrongValue()
          Should return the control since the disable rule applies because of the wrong value.
 void testGetInvolvedEObjectsHelperNoRuleApplies()
          Should return nothing since the correct value is set.
 void testGetInvolvedEObjectsHelperNoRuleAppliesFilterForComposite()
          Should return the parent columns of the control.
 void testGetInvolvedEObjectsHelperShowRuleAppliesCorrectValue()
          Should return the control because the column should be hidden, since 'League' is the right value and the we have a disable rule.
 void testGetInvolvedEObjectWithVanishingRenderableEnableRuleApplies()
          Test get involved e object change.
 void testGetInvolvedEObjectWithVanishingRenderableShowRuleApplies()
          Test get involved e object change.
 void testGetInvolvedEObjectWithVanishingRenderableTwoRulesApply()
          Test get involved e object change.
 void testGetInvolvedEObjetsContainedMultiAttributeEmptySet()
           
 void testGetInvolvedEObjetsContainedMultiAttributeMatch()
           
 void testGetInvolvedEObjetsContainedMultiAttributeMatchViaNewEmptyListValue()
           
 void testGetInvolvedEObjetsContainedMultiAttributeNoMatch()
           
 void testGetInvolvedEObjetsContainedMultiAttributeNoMatchViaUpdatePlayer()
           
 void testInitialization()
           
 void testInitializationWithNullDomainModel()
           
 void testInitializationWithNullViewModel()
           
 void testInitParentDisableVsChildDisable()
           
 void testInitParentDisableVsChildEnable()
           
 void testInitParentEnableVsChildDisable()
           
 void testInitParentEnableVsChildEnable()
           
 void testInitParentHideVsChildHide()
           
 void testInitParentHideVsChildShow()
           
 void testInitParentShowVsChildHide()
           
 void testInitParentShowVsChildShow()
           
 void testInitRightDisableRule()
          Test init right disable rule.
 void testInitRightEnableRule()
          Test init right enable rule.
 void testInitRightHideRule()
          Test init right hide rule.
 void testInitRightShowRule()
          Test init right show rule.
 void testInitShowRuleInitWithAndConditionFirstConditionApplies()
          Test AndCondition with first condition being true while initializing the rule service.
 void testInitShowRuleWithAndConditionNoConditionApplies()
          Test AndCondition with none of the conditions being true while initializing the rule service.
 void testInitShowRuleWithAndConditionSecondConditionApplies()
          Test AndCondition with second condition being true while initializing the rule service.
 void testInitShowRuleWithOrConditionBothConditionsApply()
          Test OrCondition with both conditions being true while initializing the rule service.
 void testInitShowRuleWithOrConditionFirstConditionApplies()
          Test OrCondition with first condition being true while initializing the rule service.
 void testInitShowRuleWithOrConditionNoConditionApplies()
          Test OrCondition with none of the conditions being true.
 void testInitShowRuleWithOrConditionSecondConditionApplies()
          Test OrCondition with second condition being true while initializing the rule service.
 void testInitShowRuleWithTwoPossibleTargetsWhereBothSettingShouldApply()
           
 void testInitShowRuleWithTwoPossibleTargetsWhereOnlyOneSettingShouldApply()
           
 void testInitShowRuleWithTwoPossibleTargetsWhereTheOtherSettingShouldApply()
           
 void testInitWrongDisableRule()
          Test init wrong disable rule.
 void testInitWrongEnableRule()
          Test init wrong enable rule.
 void testInitWrongHideRule()
          Test init wrong hide rule.
 void testInitWrongShowRule()
          Test init wrong show rule.
 void testMultiLevelPropagationOnInit()
          Test multi level propagation on init.
 void testMultiLevelPropagationOnLifecycle()
          Test multi level propagation on lifecycle.
 void testParentDisableVsChildDisable()
           
 void testParentDisableVsChildEnable()
           
 void testParentEnableVsChildDisable()
           
 void testParentEnableVsChildEnable()
           
 void testParentHideVsChildHide()
           
 void testParentHideVsChildShow()
           
 void testParentShowVsChildHide()
           
 void testParentShowVsChildShow()
           
 void testPropagationDisableRuleChildRuleRightInit()
          Test propagation disable rule child rule right init.
 void testPropagationDisableRuleChildRuleRightToRight()
          Test propagation disable rule child rule right to right.
 void testPropagationDisableRuleChildRuleRightToWrong()
          Test propagation disable rule child rule right to wrong.
 void testPropagationDisableRuleChildRuleWrongInit()
          Test propagation disable rule child rule wrong init.
 void testPropagationDisableRuleChildRuleWrongToRight()
          Test propagation disable rule child rule wrong to right.
 void testPropagationDisableRuleChildRuleWrongToWrong()
          Test propagation disable rule child rule wrong to wrong.
 void testPropagationDisableRuleNoChildRuleRightInit()
          Test propagation disable rule no child rule right init.
 void testPropagationDisableRuleNoChildRuleRightToRight()
          Test propagation disable rule no child rule right to right.
 void testPropagationDisableRuleNoChildRuleRightToWrong()
          Test propagation disable rule no child rule right to wrong.
 void testPropagationDisableRuleNoChildRuleWrongInit()
          Test propagation disable rule no child rule wrong init.
 void testPropagationDisableRuleNoChildRuleWrongToRight()
          Test propagation disable rule no child rule wrong to right.
 void testPropagationDisableRuleNoChildRuleWrongToWrong()
          Test propagation disable rule no child rule wrong to wrong.
 void testPropagationEnableRuleChildRuleRightInit()
          Test propagation enable rule child rule right init.
 void testPropagationEnableRuleChildRuleRightToRight()
          Test propagation enable rule child rule right to right.
 void testPropagationEnableRuleChildRuleRightToWrong()
          Test propagation enable rule child rule right to wrong.
 void testPropagationEnableRuleChildRuleWrongInit()
          Test propagation enable rule child rule wrong init.
 void testPropagationEnableRuleChildRuleWrongToRight()
          Test propagation enable rule child rule wrong to right.
 void testPropagationEnableRuleChildRuleWrongToWrong()
          Test propagation enable rule child rule wrong to wrong.
 void testPropagationEnableRuleNoChildRuleRightInit()
          Test propagation enable rule no child rule right init.
 void testPropagationEnableRuleNoChildRuleRightToRight()
          Test propagation enable rule no child rule right to right.
 void testPropagationEnableRuleNoChildRuleRightToWrong()
          Test propagation enable rule no child rule right to wrong.
 void testPropagationEnableRuleNoChildRuleWrongInit()
          Test propagation enable rule no child rule wrong init.
 void testPropagationEnableRuleNoChildRuleWrongToRight()
          Test propagation enable rule no child rule wrong to right.
 void testPropagationEnableRuleNoChildRuleWrongToWrong()
          Test propagation enable rule no child rule wrong to wrong.
 void testPropagationHideRuleChildRuleRightInit()
          Test propagation hide rule child rule right init.
 void testPropagationHideRuleChildRuleRightToRight()
          Test propagation hide rule child rule right to right.
 void testPropagationHideRuleChildRuleRightToWrong()
          Test propagation hide rule child rule right to wrong.
 void testPropagationHideRuleChildRuleWrongInit()
          Test propagation hide rule child rule wrong init.
 void testPropagationHideRuleChildRuleWrongToRight()
          Test propagation hide rule child rule wrong to right.
 void testPropagationHideRuleChildRuleWrongToWrong()
          Test propagation hide rule child rule wrong to wrong.
 void testPropagationHideRuleNoChildRuleRightInit()
          Test propagation hide rule no child rule right init.
 void testPropagationHideRuleNoChildRuleRightToRight()
          Test propagation hide rule no child rule right to right.
 void testPropagationHideRuleNoChildRuleRightToWrong()
          Test propagation hide rule no child rule right to wrong.
 void testPropagationHideRuleNoChildRuleWrongInit()
          Test propagation hide rule no child rule wrong init.
 void testPropagationHideRuleNoChildRuleWrongToRight()
          Test propagation hide rule no child rule wrong to right.
 void testPropagationHideRuleNoChildRuleWrongToWrong()
          Test propagation hide rule no child rule wrong to wrong.
 void testPropagationShowRuleChildRuleRightInit()
          Test propagation show rule child rule right init.
 void testPropagationShowRuleChildRuleRightToRight()
          Test propagation show rule child rule right to right.
 void testPropagationShowRuleChildRuleRightToWrong()
          Test propagation show rule child rule right to wrong.
 void testPropagationShowRuleChildRuleWrongInit()
          Test propagation show rule child rule wrong init.
 void testPropagationShowRuleChildRuleWrongToRight()
          Test propagation show rule child rule wrong to right.
 void testPropagationShowRuleChildRuleWrongToWrong()
          Test propagation show rule child rule wrong to wrong.
 void testPropagationShowRuleNoChildRuleRightInit()
          Test propagation show rule no child rule right init.
 void testPropagationShowRuleNoChildRuleRightToRight()
          Test propagation show rule no child rule right to right.
 void testPropagationShowRuleNoChildRuleRightToWrong()
          Test propagation show rule no child rule right to wrong.
 void testPropagationShowRuleNoChildRuleWrongInit()
          Test propagation show rule no child rule wrong init.
 void testPropagationShowRuleNoChildRuleWrongToRight()
          Test propagation show rule no child rule wrong to right.
 void testPropagationShowRuleNoChildRuleWrongToWrong()
          Test propagation show rule no child rule wrong to wrong.
 void testShowRuleWhereConditionReferencesAnotherTarget()
           
 void testShowRuleWithAndConditionBothConditionsApply()
          Test AndCondition with both conditions being true.
 void testShowRuleWithAndConditionFirstConditionApplies()
          Test AndCondition with first condition being true.
 void testShowRuleWithAndConditionNoConditionApplies()
          Test AndCondition with none of the conditions being true.
 void testShowRuleWithAndConditionSecondConditionApplies()
          Test AndCondition with second condition being true.
 void testShowRuleWithOrConditionBothConditionsApply()
          Test OrCondition with both conditions being true.
 void testShowRuleWithOrConditionFirstConditionApplies()
          Test OrCondition with first condition being true.
 void testShowRuleWithOrConditionNoConditionApplies()
          Test OrCondition with none of the conditions being true.
 void testShowRuleWithOrConditionSecondConditionApplies()
          Test OrCondition with the second condition being true.
 void testShowRuleWithTwoPossibleTargetsWhereBothSettingShouldApply()
           
 void testShowRuleWithTwoPossibleTargetsWhereOnlyOneSettingShouldApply()
           
 void testShowRuleWithTwoPossibleTargetsWhereTheOtherSettingShouldApply()
           
 void testUnregisterOnViewModelContext()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleServiceTest

public RuleServiceTest()
Method Detail

setUp

public void setUp()
           throws Exception
Sets the up.

Throws:
Exception - the exception

tearDown

public void tearDown()
              throws Exception
Tear down.

Throws:
Exception - the exception

testInitialization

public void testInitialization()

testInitializationWithNullDomainModel

public void testInitializationWithNullDomainModel()

testInitializationWithNullViewModel

public void testInitializationWithNullViewModel()

testUnregisterOnViewModelContext

public void testUnregisterOnViewModelContext()

testInitRightShowRule

public void testInitRightShowRule()
Test init right show rule.


testInitWrongShowRule

public void testInitWrongShowRule()
Test init wrong show rule.


testPropagationShowRuleNoChildRuleWrongInit

public void testPropagationShowRuleNoChildRuleWrongInit()
Test propagation show rule no child rule wrong init.


testPropagationShowRuleNoChildRuleRightInit

public void testPropagationShowRuleNoChildRuleRightInit()
Test propagation show rule no child rule right init.


testPropagationShowRuleChildRuleWrongInit

public void testPropagationShowRuleChildRuleWrongInit()
Test propagation show rule child rule wrong init.


testPropagationShowRuleChildRuleRightInit

public void testPropagationShowRuleChildRuleRightInit()
Test propagation show rule child rule right init.


testShowRuleWithOrConditionFirstConditionApplies

public void testShowRuleWithOrConditionFirstConditionApplies()
Test OrCondition with first condition being true. Controls should be visible.


testShowRuleWithOrConditionSecondConditionApplies

public void testShowRuleWithOrConditionSecondConditionApplies()
Test OrCondition with the second condition being true. Controls should be visible.


testShowRuleWithOrConditionNoConditionApplies

public void testShowRuleWithOrConditionNoConditionApplies()
Test OrCondition with none of the conditions being true. Controls should not be visible.


testInitShowRuleWithOrConditionFirstConditionApplies

public void testInitShowRuleWithOrConditionFirstConditionApplies()
Test OrCondition with first condition being true while initializing the rule service. Controls should be visible.


testInitShowRuleWithOrConditionSecondConditionApplies

public void testInitShowRuleWithOrConditionSecondConditionApplies()
Test OrCondition with second condition being true while initializing the rule service. Controls should be visible.


testInitShowRuleWithOrConditionBothConditionsApply

public void testInitShowRuleWithOrConditionBothConditionsApply()
Test OrCondition with both conditions being true while initializing the rule service. Controls should be visible.


testShowRuleWithOrConditionBothConditionsApply

public void testShowRuleWithOrConditionBothConditionsApply()
Test OrCondition with both conditions being true. Controls should be visible.


testInitShowRuleWithOrConditionNoConditionApplies

public void testInitShowRuleWithOrConditionNoConditionApplies()
Test OrCondition with none of the conditions being true. Controls should not be visible.


testShowRuleWithAndConditionFirstConditionApplies

public void testShowRuleWithAndConditionFirstConditionApplies()
Test AndCondition with first condition being true. Controls should not be visible.


testShowRuleWithAndConditionSecondConditionApplies

public void testShowRuleWithAndConditionSecondConditionApplies()
Test AndCondition with second condition being true. Controls should not be visible.


testShowRuleWithAndConditionNoConditionApplies

public void testShowRuleWithAndConditionNoConditionApplies()
Test AndCondition with none of the conditions being true. Controls should not be visible.


testShowRuleWithAndConditionBothConditionsApply

public void testShowRuleWithAndConditionBothConditionsApply()
Test AndCondition with both conditions being true. Controls should be visible.


testInitShowRuleInitWithAndConditionFirstConditionApplies

public void testInitShowRuleInitWithAndConditionFirstConditionApplies()
Test AndCondition with first condition being true while initializing the rule service. Controls should not be visible.


testInitShowRuleWithAndConditionSecondConditionApplies

public void testInitShowRuleWithAndConditionSecondConditionApplies()
Test AndCondition with second condition being true while initializing the rule service. Controls should not be visible.


testInitShowRuleWithAndConditionNoConditionApplies

public void testInitShowRuleWithAndConditionNoConditionApplies()
Test AndCondition with none of the conditions being true while initializing the rule service. Controls should not be visible.


testShowRuleWithTwoPossibleTargetsWhereOnlyOneSettingShouldApply

public void testShowRuleWithTwoPossibleTargetsWhereOnlyOneSettingShouldApply()

testShowRuleWithTwoPossibleTargetsWhereTheOtherSettingShouldApply

public void testShowRuleWithTwoPossibleTargetsWhereTheOtherSettingShouldApply()

testShowRuleWhereConditionReferencesAnotherTarget

public void testShowRuleWhereConditionReferencesAnotherTarget()

testShowRuleWithTwoPossibleTargetsWhereBothSettingShouldApply

public void testShowRuleWithTwoPossibleTargetsWhereBothSettingShouldApply()

testInitShowRuleWithTwoPossibleTargetsWhereOnlyOneSettingShouldApply

public void testInitShowRuleWithTwoPossibleTargetsWhereOnlyOneSettingShouldApply()

testInitShowRuleWithTwoPossibleTargetsWhereTheOtherSettingShouldApply

public void testInitShowRuleWithTwoPossibleTargetsWhereTheOtherSettingShouldApply()

testInitShowRuleWithTwoPossibleTargetsWhereBothSettingShouldApply

public void testInitShowRuleWithTwoPossibleTargetsWhereBothSettingShouldApply()

testDefaultWrongToRightShowRule

public void testDefaultWrongToRightShowRule()
Test default wrong to right show rule.


testDefaultWrongToWrongShowRule

public void testDefaultWrongToWrongShowRule()
Test default wrong to wrong show rule.


testDefaultRightToWrongShowRule

public void testDefaultRightToWrongShowRule()
Test default right to wrong show rule.


testDefaultRightToRightShowRule

public void testDefaultRightToRightShowRule()
Test default right to right show rule.


testPropagationShowRuleNoChildRuleWrongToRight

public void testPropagationShowRuleNoChildRuleWrongToRight()
Test propagation show rule no child rule wrong to right.


testPropagationShowRuleNoChildRuleWrongToWrong

public void testPropagationShowRuleNoChildRuleWrongToWrong()
Test propagation show rule no child rule wrong to wrong.


testPropagationShowRuleNoChildRuleRightToWrong

public void testPropagationShowRuleNoChildRuleRightToWrong()
Test propagation show rule no child rule right to wrong.


testPropagationShowRuleNoChildRuleRightToRight

public void testPropagationShowRuleNoChildRuleRightToRight()
Test propagation show rule no child rule right to right.


testPropagationShowRuleChildRuleWrongToRight

public void testPropagationShowRuleChildRuleWrongToRight()
Test propagation show rule child rule wrong to right.


testPropagationShowRuleChildRuleWrongToWrong

public void testPropagationShowRuleChildRuleWrongToWrong()
Test propagation show rule child rule wrong to wrong.


testPropagationShowRuleChildRuleRightToWrong

public void testPropagationShowRuleChildRuleRightToWrong()
Test propagation show rule child rule right to wrong. Control should not be visible since its parent will be hidden.


testPropagationShowRuleChildRuleRightToRight

public void testPropagationShowRuleChildRuleRightToRight()
Test propagation show rule child rule right to right.


testInitRightEnableRule

public void testInitRightEnableRule()
Test init right enable rule.


testInitWrongEnableRule

public void testInitWrongEnableRule()
Test init wrong enable rule.


testPropagationEnableRuleNoChildRuleWrongInit

public void testPropagationEnableRuleNoChildRuleWrongInit()
Test propagation enable rule no child rule wrong init.


testPropagationEnableRuleNoChildRuleRightInit

public void testPropagationEnableRuleNoChildRuleRightInit()
Test propagation enable rule no child rule right init.


testPropagationEnableRuleChildRuleWrongInit

public void testPropagationEnableRuleChildRuleWrongInit()
Test propagation enable rule child rule wrong init.


testPropagationEnableRuleChildRuleRightInit

public void testPropagationEnableRuleChildRuleRightInit()
Test propagation enable rule child rule right init.


testDefaultWrongToRightEnableRule

public void testDefaultWrongToRightEnableRule()
Test default wrong to right enable rule.


testDefaultWrongToWrongEnableRule

public void testDefaultWrongToWrongEnableRule()
Test default wrong to wrong enable rule.


testDefaultRightToWrongEnableRule

public void testDefaultRightToWrongEnableRule()
Test default right to wrong enable rule.


testDefaultRightToRightEnableRule

public void testDefaultRightToRightEnableRule()
Test default right to right enable rule.


testPropagationEnableRuleNoChildRuleWrongToRight

public void testPropagationEnableRuleNoChildRuleWrongToRight()
Test propagation enable rule no child rule wrong to right.


testPropagationEnableRuleNoChildRuleWrongToWrong

public void testPropagationEnableRuleNoChildRuleWrongToWrong()
Test propagation enable rule no child rule wrong to wrong.


testPropagationEnableRuleNoChildRuleRightToWrong

public void testPropagationEnableRuleNoChildRuleRightToWrong()
Test propagation enable rule no child rule right to wrong.


testPropagationEnableRuleNoChildRuleRightToRight

public void testPropagationEnableRuleNoChildRuleRightToRight()
Test propagation enable rule no child rule right to right.


testPropagationEnableRuleChildRuleWrongToRight

public void testPropagationEnableRuleChildRuleWrongToRight()
Test propagation enable rule child rule wrong to right.


testPropagationEnableRuleChildRuleWrongToWrong

public void testPropagationEnableRuleChildRuleWrongToWrong()
Test propagation enable rule child rule wrong to wrong.


testPropagationEnableRuleChildRuleRightToWrong

public void testPropagationEnableRuleChildRuleRightToWrong()
Test propagation enable rule child rule right to wrong.


testPropagationEnableRuleChildRuleRightToRight

public void testPropagationEnableRuleChildRuleRightToRight()
Test propagation enable rule child rule right to right.


testInitRightHideRule

public void testInitRightHideRule()
Test init right hide rule.


testInitWrongHideRule

public void testInitWrongHideRule()
Test init wrong hide rule.


testPropagationHideRuleNoChildRuleRightInit

public void testPropagationHideRuleNoChildRuleRightInit()
Test propagation hide rule no child rule right init.


testPropagationHideRuleNoChildRuleWrongInit

public void testPropagationHideRuleNoChildRuleWrongInit()
Test propagation hide rule no child rule wrong init.


testPropagationHideRuleChildRuleRightInit

public void testPropagationHideRuleChildRuleRightInit()
Test propagation hide rule child rule right init.


testPropagationHideRuleChildRuleWrongInit

public void testPropagationHideRuleChildRuleWrongInit()
Test propagation hide rule child rule wrong init.


testDefaultWrongToRightHideRule

public void testDefaultWrongToRightHideRule()
Test default wrong to right hide rule.


testDefaultWrongToWrongHideRule

public void testDefaultWrongToWrongHideRule()
Test default wrong to wrong hide rule.


testDefaultRightToWrongHideRule

public void testDefaultRightToWrongHideRule()
Test default right to wrong hide rule.


testDefaultRightToRightHideRule

public void testDefaultRightToRightHideRule()
Test default right to right hide rule.


testPropagationHideRuleNoChildRuleWrongToRight

public void testPropagationHideRuleNoChildRuleWrongToRight()
Test propagation hide rule no child rule wrong to right.


testPropagationHideRuleNoChildRuleWrongToWrong

public void testPropagationHideRuleNoChildRuleWrongToWrong()
Test propagation hide rule no child rule wrong to wrong.


testContainmentConditionWithShowRule

public void testContainmentConditionWithShowRule()

testGetInvolvedEObjetsContainedMultiAttributeNoMatch

public void testGetInvolvedEObjetsContainedMultiAttributeNoMatch()

testGetInvolvedEObjetsContainedMultiAttributeEmptySet

public void testGetInvolvedEObjetsContainedMultiAttributeEmptySet()

testGetInvolvedEObjetsContainedMultiAttributeNoMatchViaUpdatePlayer

public void testGetInvolvedEObjetsContainedMultiAttributeNoMatchViaUpdatePlayer()

testGetInvolvedEObjetsContainedMultiAttributeMatch

public void testGetInvolvedEObjetsContainedMultiAttributeMatch()

testGetInvolvedEObjetsContainedMultiAttributeMatchViaNewEmptyListValue

public void testGetInvolvedEObjetsContainedMultiAttributeMatchViaNewEmptyListValue()

testContainmentConditionWithShowRuleWithClearedMultiref

public void testContainmentConditionWithShowRuleWithClearedMultiref()

testContainmentConditionWithShowRuleFulFillCondition

public void testContainmentConditionWithShowRuleFulFillCondition()

testContainmentConditionInitEmptyList

public void testContainmentConditionInitEmptyList()

testContainmentConditionAddToEmptyList

public void testContainmentConditionAddToEmptyList()

testPropagationHideRuleNoChildRuleRightToWrong

public void testPropagationHideRuleNoChildRuleRightToWrong()
Test propagation hide rule no child rule right to wrong.


testPropagationHideRuleNoChildRuleRightToRight

public void testPropagationHideRuleNoChildRuleRightToRight()
Test propagation hide rule no child rule right to right.


testPropagationHideRuleChildRuleWrongToRight

public void testPropagationHideRuleChildRuleWrongToRight()
Test propagation hide rule child rule wrong to right.


testPropagationHideRuleChildRuleWrongToWrong

public void testPropagationHideRuleChildRuleWrongToWrong()
Test propagation hide rule child rule wrong to wrong.


testPropagationHideRuleChildRuleRightToWrong

public void testPropagationHideRuleChildRuleRightToWrong()
Test propagation hide rule child rule right to wrong.


testPropagationHideRuleChildRuleRightToRight

public void testPropagationHideRuleChildRuleRightToRight()
Test propagation hide rule child rule right to right.


testInitRightDisableRule

public void testInitRightDisableRule()
Test init right disable rule.


testInitWrongDisableRule

public void testInitWrongDisableRule()
Test init wrong disable rule.


testPropagationDisableRuleNoChildRuleRightInit

public void testPropagationDisableRuleNoChildRuleRightInit()
Test propagation disable rule no child rule right init.


testPropagationDisableRuleNoChildRuleWrongInit

public void testPropagationDisableRuleNoChildRuleWrongInit()
Test propagation disable rule no child rule wrong init.


testPropagationDisableRuleChildRuleRightInit

public void testPropagationDisableRuleChildRuleRightInit()
Test propagation disable rule child rule right init.


testPropagationDisableRuleChildRuleWrongInit

public void testPropagationDisableRuleChildRuleWrongInit()
Test propagation disable rule child rule wrong init.


testDefaultRightToWrongDisableRule

public void testDefaultRightToWrongDisableRule()
Test default right to wrong disable rule.


testDefaultRightToRightDisableRule

public void testDefaultRightToRightDisableRule()
Test default right to right disable rule.


testDefaultWrongToRightDisableRule

public void testDefaultWrongToRightDisableRule()
Test default wrong to right disable rule.


testDefaultWrongToWrongDisableRule

public void testDefaultWrongToWrongDisableRule()
Test default wrong to wrong disable rule.


testPropagationDisableRuleNoChildRuleRightToWrong

public void testPropagationDisableRuleNoChildRuleRightToWrong()
Test propagation disable rule no child rule right to wrong.


testPropagationDisableRuleNoChildRuleRightToRight

public void testPropagationDisableRuleNoChildRuleRightToRight()
Test propagation disable rule no child rule right to right.


testPropagationDisableRuleNoChildRuleWrongToRight

public void testPropagationDisableRuleNoChildRuleWrongToRight()
Test propagation disable rule no child rule wrong to right.


testPropagationDisableRuleNoChildRuleWrongToWrong

public void testPropagationDisableRuleNoChildRuleWrongToWrong()
Test propagation disable rule no child rule wrong to wrong.


testPropagationDisableRuleChildRuleRightToWrong

public void testPropagationDisableRuleChildRuleRightToWrong()
Test propagation disable rule child rule right to wrong.


testPropagationDisableRuleChildRuleRightToRight

public void testPropagationDisableRuleChildRuleRightToRight()
Test propagation disable rule child rule right to right.


testPropagationDisableRuleChildRuleWrongToRight

public void testPropagationDisableRuleChildRuleWrongToRight()
Test propagation disable rule child rule wrong to right.


testPropagationDisableRuleChildRuleWrongToWrong

public void testPropagationDisableRuleChildRuleWrongToWrong()
Test propagation disable rule child rule wrong to wrong.


testMultiLevelPropagationOnInit

public void testMultiLevelPropagationOnInit()
Test multi level propagation on init.


testMultiLevelPropagationOnLifecycle

public void testMultiLevelPropagationOnLifecycle()
Test multi level propagation on lifecycle.


testParentShowVsChildShow

public void testParentShowVsChildShow()

testParentShowVsChildHide

public void testParentShowVsChildHide()

testParentHideVsChildHide

public void testParentHideVsChildHide()

testParentHideVsChildShow

public void testParentHideVsChildShow()

testParentEnableVsChildEnable

public void testParentEnableVsChildEnable()

testParentEnableVsChildDisable

public void testParentEnableVsChildDisable()

testParentDisableVsChildDisable

public void testParentDisableVsChildDisable()

testParentDisableVsChildEnable

public void testParentDisableVsChildEnable()

testInitParentShowVsChildShow

public void testInitParentShowVsChildShow()

testInitParentShowVsChildHide

public void testInitParentShowVsChildHide()

testInitParentHideVsChildHide

public void testInitParentHideVsChildHide()

testInitParentHideVsChildShow

public void testInitParentHideVsChildShow()

testInitParentEnableVsChildEnable

public void testInitParentEnableVsChildEnable()

testInitParentEnableVsChildDisable

public void testInitParentEnableVsChildDisable()

testInitParentDisableVsChildDisable

public void testInitParentDisableVsChildDisable()

testInitParentDisableVsChildEnable

public void testInitParentDisableVsChildEnable()

testDispose

public void testDispose()
Test dispose.


testGetInvolvedEObjectNoChange

public void testGetInvolvedEObjectNoChange()
Test get involved e object no change.


testGetInvolvedEObjectNoSideEffects

public void testGetInvolvedEObjectNoSideEffects()
Test get involved e object no side effects.


testGetInvolvedEObjectChange

public void testGetInvolvedEObjectChange()
Test get involved e object change.


testGetInvolvedEObjectChangeWithoutChangedValue

public void testGetInvolvedEObjectChangeWithoutChangedValue()
Test get involved e object change.


testGetInvolvedEObjectNoVanishingRenderables

public void testGetInvolvedEObjectNoVanishingRenderables()
Test get involved e object change.


testGetInvolvedEObjectsHelperBothRulesApply

public void testGetInvolvedEObjectsHelperBothRulesApply()
Should return the control. Changing the league's name to 'League2' should not alter the disabled/show state of the control.


testGetInvolvedEObjectsHelperNoRuleAppliesFilterForComposite

public void testGetInvolvedEObjectsHelperNoRuleAppliesFilterForComposite()
Should return the parent columns of the control. Changing the league's name to 'League2' should not alter the disabled/show state of the control.


testGetInvolvedEObjectsHelperNoRuleApplies

public void testGetInvolvedEObjectsHelperNoRuleApplies()
Should return nothing since the correct value is set.


testGetInvolvedEObjectsHelperEnableRuleAppliesWrongValue

public void testGetInvolvedEObjectsHelperEnableRuleAppliesWrongValue()
Should return the control since the disable rule applies because of the wrong value.


testGetInvolvedEObjectsHelperEnableRuleAppliesCorrectValue

public void testGetInvolvedEObjectsHelperEnableRuleAppliesCorrectValue()
Should return the control because of the EnableRule on the control.


testGetInvolvedEObjectsHelperShowRuleAppliesCorrectValue

public void testGetInvolvedEObjectsHelperShowRuleAppliesCorrectValue()
Should return the control because the column should be hidden, since 'League' is the right value and the we have a disable rule.


testGetInvolvedEObjectParentAffectedIfChildChanged

public void testGetInvolvedEObjectParentAffectedIfChildChanged()
Test get involved e object change.


testGetInvolvedEObjectParentAffectedIfChildNotChanged

public void testGetInvolvedEObjectParentAffectedIfChildNotChanged()
Test get involved e object change.


testGetInvolvedEObjectWithVanishingRenderableShowRuleApplies

public void testGetInvolvedEObjectWithVanishingRenderableShowRuleApplies()
Test get involved e object change.


testGetInvolvedEObjectWithVanishingRenderableEnableRuleApplies

public void testGetInvolvedEObjectWithVanishingRenderableEnableRuleApplies()
Test get involved e object change.


testGetInvolvedEObjectWithVanishingRenderableTwoRulesApply

public void testGetInvolvedEObjectWithVanishingRenderableTwoRulesApply()
Test get involved e object change.



Copyright © 2014. All Rights Reserved.