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

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

public class TableValidationTest
extends Object

This class contains only tests for validation errors on Tables. This test also doesn't check whether the table updates correctly on diagnostic change. It is only checked, that the Diagnostic is correctly set. Tests: - test table with only reference multiplicity (init empty/not empty, dynamic add/ remove) - test table without reference multiplicity, but with independent validation on children

Author:
Eugen Neufeld

Constructor Summary
TableValidationTest()
           
 
Method Summary
 void test1Error1OkChildDynamicDeleteError()
           
 void test1Error1OkChildDynamicSetValueToError()
           
 void test1Error1OkChildInit()
           
 void test1Ok1ErrorChildDynamicDeleteError()
           
 void test1Ok1ErrorChildDynamicSetValueToError()
           
 void test1Ok1ErrorChildInit()
           
 void testChangeOfSingleContentElement()
           
 void testError0ChildInit()
           
 void testError1ChildDynamicDelete()
           
 void testError1ChildDynamicSetValue()
           
 void testError1ChildInit()
           
 void testReferenceMultiplicityDynamicEmptyToNotEmpty()
           
 void testReferenceMultiplicityDynamicNotEmptyToEmpty()
           
 void testReferenceMultiplicityInitEmpty()
           
 void testReferenceMultiplicityInitNotEmpty()
           
 void testUniqueDynamicAddToError()
           
 void testUniqueDynamicChange1ToError()
           
 void testUniqueDynamicChange1ToOK()
           
 void testUniqueDynamicChange2ToError()
           
 void testUniqueDynamicChange2ToOK()
           
 void testUniqueDynamicChange3Elements1ToError()
           
 void testUniqueDynamicRemoveToOk()
           
 void testUniqueInitError()
           
 void testUniqueInitNoError()
           
 void testUniqueWithContentValidationDynamicAddError()
           
 void testUniqueWithContentValidationDynamicErrorToWarning()
           
 void testUniqueWithContentValidationInitError()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableValidationTest

public TableValidationTest()
Method Detail

testReferenceMultiplicityInitEmpty

public void testReferenceMultiplicityInitEmpty()

testReferenceMultiplicityInitNotEmpty

public void testReferenceMultiplicityInitNotEmpty()

testReferenceMultiplicityDynamicEmptyToNotEmpty

public void testReferenceMultiplicityDynamicEmptyToNotEmpty()

testReferenceMultiplicityDynamicNotEmptyToEmpty

public void testReferenceMultiplicityDynamicNotEmptyToEmpty()

testError0ChildInit

public void testError0ChildInit()

testError1ChildInit

public void testError1ChildInit()

testError1ChildDynamicDelete

public void testError1ChildDynamicDelete()

testError1ChildDynamicSetValue

public void testError1ChildDynamicSetValue()

test1Error1OkChildInit

public void test1Error1OkChildInit()

test1Ok1ErrorChildInit

public void test1Ok1ErrorChildInit()

test1Error1OkChildDynamicDeleteError

public void test1Error1OkChildDynamicDeleteError()

test1Ok1ErrorChildDynamicDeleteError

public void test1Ok1ErrorChildDynamicDeleteError()

test1Error1OkChildDynamicSetValueToError

public void test1Error1OkChildDynamicSetValueToError()

test1Ok1ErrorChildDynamicSetValueToError

public void test1Ok1ErrorChildDynamicSetValueToError()

testUniqueInitNoError

public void testUniqueInitNoError()

testUniqueInitError

public void testUniqueInitError()

testUniqueDynamicAddToError

public void testUniqueDynamicAddToError()

testUniqueDynamicRemoveToOk

public void testUniqueDynamicRemoveToOk()

testUniqueDynamicChange1ToError

public void testUniqueDynamicChange1ToError()

testUniqueDynamicChange2ToError

public void testUniqueDynamicChange2ToError()

testUniqueDynamicChange1ToOK

public void testUniqueDynamicChange1ToOK()

testUniqueDynamicChange2ToOK

public void testUniqueDynamicChange2ToOK()

testUniqueDynamicChange3Elements1ToError

public void testUniqueDynamicChange3Elements1ToError()

testUniqueWithContentValidationInitError

public void testUniqueWithContentValidationInitError()

testUniqueWithContentValidationDynamicErrorToWarning

public void testUniqueWithContentValidationDynamicErrorToWarning()

testUniqueWithContentValidationDynamicAddError

public void testUniqueWithContentValidationDynamicAddError()

testChangeOfSingleContentElement

public void testChangeOfSingleContentElement()


Copyright © 2014. All Rights Reserved.