Class ModelWithEolAssertions


  • public class ModelWithEolAssertions
    extends Object
    • Constructor Detail

      • ModelWithEolAssertions

        public ModelWithEolAssertions​(org.eclipse.emf.ecore.EPackage ePackage,
                                      org.eclipse.emf.ecore.EObject... eObjects)
      • ModelWithEolAssertions

        public ModelWithEolAssertions​(org.eclipse.emf.ecore.EObject eObject,
                                      org.eclipse.emf.ecore.EPackage... ePackages)
      • ModelWithEolAssertions

        public ModelWithEolAssertions​(IModel model)
    • Method Detail

      • importEol

        public void importEol​(File file)
      • add

        public void add​(org.eclipse.emf.ecore.EObject... eObjects)
      • dispose

        public void dispose()
      • assertEmpty

        public void assertEmpty()
      • assertNumberOfModelElementsIs

        public void assertNumberOfModelElementsIs​(int expected)
      • assertEquals

        public void assertEquals​(Object expected,
                                 String actual)
      • assertEquals

        public void assertEquals​(String message,
                                 Object expected,
                                 String actual)
      • assertTrue

        public void assertTrue​(String eolStatement)
      • assertTrue

        public void assertTrue​(String message,
                               String eolStatement)
      • assertFalse

        public void assertFalse​(String eolStatement)
      • assertFalse

        public void assertFalse​(String message,
                                String eolStatement)
      • assertDefined

        public void assertDefined​(String eolStatement)
      • assertDefined

        public void assertDefined​(String message,
                                  String eolStatement)
      • assertUndefined

        public void assertUndefined​(String eolStatement)
      • assertUndefined

        public void assertUndefined​(String message,
                                    String eolStatement)
      • assertInstanceOf

        public void assertInstanceOf​(String expectedType,
                                     String actual)
      • setVariable

        public void setVariable​(String name,
                                String eolStatement)
      • addAndSetVariable

        public void addAndSetVariable​(String name,
                                      org.eclipse.emf.ecore.EObject value)
      • store

        public void store​(String path)
      • getResource

        public org.eclipse.emf.ecore.resource.Resource getResource()