Class EcoreEditor_PTest


  • public class EcoreEditor_PTest
    extends java.lang.Object
    Tests for the EcoreEditor. This plugin is a fragment of the org.eclipse.emfforms.editor bundle, containing the GenericEditor class, although we are testing content from the org.eclipse.emfforms.editor.ecore bundle. The reason for this is that we need to call protected methods from the GenericEditor, which would not be possible otherwise.
    Since:
    1.14
    • Constructor Detail

      • EcoreEditor_PTest

        public EcoreEditor_PTest()
    • Method Detail

      • setup

        public void setup()
                   throws java.io.IOException,
                          org.eclipse.core.runtime.CoreException,
                          java.net.URISyntaxException
        Throws:
        java.io.IOException
        org.eclipse.core.runtime.CoreException
        java.net.URISyntaxException
      • tearDown

        public void tearDown()
      • testSave

        public void testSave()
                      throws java.io.IOException,
                             org.eclipse.core.runtime.CoreException
        Test that the contents of the Ecore Editor are saved.
        Throws:
        java.io.IOException - if anything went wrong during the execution
        org.eclipse.core.runtime.CoreException - if anything went wrong during the execution
      • testNavigateGenericEditorStyleMarker

        public void testNavigateGenericEditorStyleMarker()
      • testNavigateEMFStyleMarker

        public void testNavigateEMFStyleMarker()