org.eclipse.emf.ecp.view.validation.test
Class ValidationServiceGCTest

java.lang.Object
  extended by org.eclipse.emf.ecp.view.validation.test.CommonValidationTest
      extended by org.eclipse.emf.ecp.view.validation.test.ValidationServiceGCTest

public class ValidationServiceGCTest
extends CommonValidationTest

Tests for checking whether the ValidationService correctly behave if domain objects and/or Renderables are removed.

Author:
emueller

Constructor Summary
ValidationServiceGCTest()
           
 
Method Summary
 void testDomainObjectIsReferenced()
          Make sure child domain object is actually referenced.
 void testRemoveChildOfDomainObject()
          Remove the Mainboard.
 void testRemoveChildOfDomainObjectWithCutOffControl()
          Removes the Mainboard from the computer and also removes the control from the view model containment tree.
 void testRemoveControlAndReevaluate()
          Removes the direct column of the view.
 void testRemoveRenderable()
          Removes the direct column of the computer view.
 void testRemoveRenderableHierarchy()
          Removes the direct column of the view.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationServiceGCTest

public ValidationServiceGCTest()
Method Detail

testRemoveRenderableHierarchy

public void testRemoveRenderableHierarchy()
Removes the direct column of the view. The nested column as well as the control should be removed and thus not referenced anymore.


testRemoveControlAndReevaluate

public void testRemoveControlAndReevaluate()
Removes the direct column of the view. The nested column as well as the control should be removed and thus not referenced anymore.


testDomainObjectIsReferenced

public void testDomainObjectIsReferenced()
Make sure child domain object is actually referenced.


testRemoveChildOfDomainObject

public void testRemoveChildOfDomainObject()
Remove the Mainboard. It shouldn't be referenced anymore in contrast to the control.


testRemoveChildOfDomainObjectWithCutOffControl

public void testRemoveChildOfDomainObjectWithCutOffControl()
Removes the Mainboard from the computer and also removes the control from the view model containment tree. Neither the mainboard nor the control should be referenced afterwards.


testRemoveRenderable

public void testRemoveRenderable()
Removes the direct column of the computer view.



Copyright © 2014. All Rights Reserved.