org.eclipse.emf.ecp.view.custom.ui.swt.test
Class ECPAbstractCustomControlSWTTest

java.lang.Object
  extended by org.eclipse.emf.ecp.view.custom.ui.swt.test.ECPAbstractCustomControlSWTTest

public class ECPAbstractCustomControlSWTTest
extends Object

Author:
Jonas

Constructor Summary
ECPAbstractCustomControlSWTTest()
           
 
Method Summary
 Set<VFeaturePathDomainModelReference> createEditableFeatures()
           
 Set<VDomainModelReference> createFeatures()
           
 Set<VFeaturePathDomainModelReference> createReferencedFeatures()
           
 void init()
           
 void testCreateContentControl()
          Test method for org.eclipse.emf.ecp.view.spi.custom.swt.ECPAbstractCustomControlSWT#createControls(org.eclipse.swt.widgets.Composite) .
 void testCreateControl()
          Test method for org.eclipse.emf.ecp.view.spi.custom.swt.ECPAbstractCustomControlSWT#createControls(org.eclipse.swt.widgets.Composite) .
 void testCreateValidationLabel()
          Test method for org.eclipse.emf.ecp.view.spi.custom.swt.ECPAbstractCustomControlSWT#createValidationLabel(org.eclipse.swt.widgets.Composite) .
 void testCustomControlGetHelp()
           
 void testCustomControlGetHelpWrongFeature()
           
 void testCustomControlGetLabel()
           
 void testCustomControlGetLabelWrongFeature()
           
 void testDispose()
          Test method for org.eclipse.emf.ecp.view.spi.custom.ui.ECPAbstractCustomControl#dispose().
 void testDisposeCustomControl()
          Test method for org.eclipse.emf.ecp.view.spi.custom.ui.ECPAbstractCustomControl#disposeCustomControl().
 void testGetAddImage()
           
 void testGetDefaultImage()
           
 void testGetDeleteImage()
           
 void testGetEditableFeatures()
          Test method for org.eclipse.emf.ecp.view.spi.custom.ui.ECPAbstractCustomControl#getECPCustomControlFeatures() .
 void testGetHelper()
          Test method for org.eclipse.emf.ecp.view.spi.custom.ui.ECPAbstractCustomControl#getHelper().
 void testGetHelpImage()
           
 void testGetValidationErrorImage()
           
 void testHandleContentValidation()
          Test method for org.eclipse.emf.ecp.view.spi.custom.swt.ECPAbstractCustomControlSWT#handleContentValidation(int, org.eclipse.emf.ecore.EStructuralFeature) .
 void testHandleValidationErrorOnlyEObject()
           
 void testHandleValidationErrorTwoEObject()
           
 void testHandleValidationNotErrorWarning()
           
 void testHandleValidationOfControl()
          Test method for org.eclipse.emf.ecp.view.spi.custom.swt.ECPAbstractCustomControlSWT#handleValidation(org.eclipse.emf.common.util.Diagnostic) .
 void testHandleValidationWithLabel()
          Test method for org.eclipse.emf.ecp.view.spi.custom.swt.ECPAbstractCustomControlSWT#handleValidation(org.eclipse.emf.common.util.Diagnostic) .
 void testHandleValidationWithLabelOriginalDiagniostic()
           
 void testHandleValidationWithoutLabel()
          Test method for org.eclipse.emf.ecp.view.spi.custom.swt.ECPAbstractCustomControlSWT#handleValidation(org.eclipse.emf.common.util.Diagnostic) .
 void testInit()
           
 void testReadonlyCustomControl()
           
 void testResetValidation()
          Test method for org.eclipse.emf.ecp.view.spi.custom.swt.ECPAbstractCustomControlSWT#resetValidation().
 void testSetEditable()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECPAbstractCustomControlSWTTest

public ECPAbstractCustomControlSWTTest()
Method Detail

init

public void init()

createFeatures

public Set<VDomainModelReference> createFeatures()

createReferencedFeatures

public Set<VFeaturePathDomainModelReference> createReferencedFeatures()
Returns:
a test set of ECPCustomControlFeature

createEditableFeatures

public Set<VFeaturePathDomainModelReference> createEditableFeatures()
Returns:
a test set of ECPCustomControlFeature

testCreateControl

public void testCreateControl()
                       throws NoRendererFoundException,
                              NoPropertyDescriptorFoundExeption
Test method for org.eclipse.emf.ecp.view.spi.custom.swt.ECPAbstractCustomControlSWT#createControls(org.eclipse.swt.widgets.Composite) .

Throws:
NoPropertyDescriptorFoundExeption
NoRendererFoundException

testCreateValidationLabel

public void testCreateValidationLabel()
Test method for org.eclipse.emf.ecp.view.spi.custom.swt.ECPAbstractCustomControlSWT#createValidationLabel(org.eclipse.swt.widgets.Composite) .


testCreateContentControl

public void testCreateContentControl()
                              throws NoRendererFoundException,
                                     NoPropertyDescriptorFoundExeption
Test method for org.eclipse.emf.ecp.view.spi.custom.swt.ECPAbstractCustomControlSWT#createControls(org.eclipse.swt.widgets.Composite) .

Throws:
NoPropertyDescriptorFoundExeption
NoRendererFoundException

testHandleValidationWithoutLabel

public void testHandleValidationWithoutLabel()
Test method for org.eclipse.emf.ecp.view.spi.custom.swt.ECPAbstractCustomControlSWT#handleValidation(org.eclipse.emf.common.util.Diagnostic) .


testHandleValidationWithLabel

public void testHandleValidationWithLabel()
Test method for org.eclipse.emf.ecp.view.spi.custom.swt.ECPAbstractCustomControlSWT#handleValidation(org.eclipse.emf.common.util.Diagnostic) .


testHandleValidationWithLabelOriginalDiagniostic

public void testHandleValidationWithLabelOriginalDiagniostic()

testHandleValidationNotErrorWarning

public void testHandleValidationNotErrorWarning()

testHandleValidationErrorOnlyEObject

public void testHandleValidationErrorOnlyEObject()

testHandleValidationErrorTwoEObject

public void testHandleValidationErrorTwoEObject()

testHandleValidationOfControl

public void testHandleValidationOfControl()
                                   throws NoRendererFoundException,
                                          NoPropertyDescriptorFoundExeption
Test method for org.eclipse.emf.ecp.view.spi.custom.swt.ECPAbstractCustomControlSWT#handleValidation(org.eclipse.emf.common.util.Diagnostic) .

Throws:
NoPropertyDescriptorFoundExeption
NoRendererFoundException

testHandleContentValidation

public void testHandleContentValidation()
Test method for org.eclipse.emf.ecp.view.spi.custom.swt.ECPAbstractCustomControlSWT#handleContentValidation(int, org.eclipse.emf.ecore.EStructuralFeature) .


testResetValidation

public void testResetValidation()
Test method for org.eclipse.emf.ecp.view.spi.custom.swt.ECPAbstractCustomControlSWT#resetValidation().


testInit

public void testInit()

testGetEditableFeatures

public void testGetEditableFeatures()
Test method for org.eclipse.emf.ecp.view.spi.custom.ui.ECPAbstractCustomControl#getECPCustomControlFeatures() .


testDispose

public void testDispose()
Test method for org.eclipse.emf.ecp.view.spi.custom.ui.ECPAbstractCustomControl#dispose().


testDisposeCustomControl

public void testDisposeCustomControl()
Test method for org.eclipse.emf.ecp.view.spi.custom.ui.ECPAbstractCustomControl#disposeCustomControl().


testGetHelper

public void testGetHelper()
Test method for org.eclipse.emf.ecp.view.spi.custom.ui.ECPAbstractCustomControl#getHelper().


testGetAddImage

public void testGetAddImage()

testGetDeleteImage

public void testGetDeleteImage()

testGetHelpImage

public void testGetHelpImage()

testGetValidationErrorImage

public void testGetValidationErrorImage()

testGetDefaultImage

public void testGetDefaultImage()

testCustomControlGetHelp

public void testCustomControlGetHelp()

testCustomControlGetHelpWrongFeature

public void testCustomControlGetHelpWrongFeature()

testCustomControlGetLabel

public void testCustomControlGetLabel()

testCustomControlGetLabelWrongFeature

public void testCustomControlGetLabelWrongFeature()

testReadonlyCustomControl

public void testReadonlyCustomControl()
                               throws NoRendererFoundException,
                                      NoPropertyDescriptorFoundExeption
Throws:
NoRendererFoundException
NoPropertyDescriptorFoundExeption

testSetEditable

public void testSetEditable()
                     throws NoRendererFoundException,
                            NoPropertyDescriptorFoundExeption
Throws:
NoRendererFoundException
NoPropertyDescriptorFoundExeption


Copyright © 2014. All Rights Reserved.