Class PinsetTests

  • Direct Known Subclasses:
    PinsetDummyTests

    public class PinsetTests
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PinsetTests()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void assertEquivalent​(PinsetModule module)  
      protected java.io.File getFile​(java.lang.String fileName)  
      protected java.lang.String getFullPath​(java.lang.String path)  
      protected static java.lang.String getFullPath​(java.lang.String path, java.lang.Class<?> currentClass)  
      protected EmfModel loadModel​(java.lang.String name, java.lang.String modelFile, java.lang.String metamodelUri, boolean read, boolean store)  
      protected static void registerMetamodel​(java.lang.String path, java.lang.Class<?> currentClass)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PinsetTests

        public PinsetTests()
    • Method Detail

      • loadModel

        protected EmfModel loadModel​(java.lang.String name,
                                     java.lang.String modelFile,
                                     java.lang.String metamodelUri,
                                     boolean read,
                                     boolean store)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getFile

        protected final java.io.File getFile​(java.lang.String fileName)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • getFullPath

        protected final java.lang.String getFullPath​(java.lang.String path)
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • getFullPath

        protected static final java.lang.String getFullPath​(java.lang.String path,
                                                            java.lang.Class<?> currentClass)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • registerMetamodel

        protected static final void registerMetamodel​(java.lang.String path,
                                                      java.lang.Class<?> currentClass)
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • assertEquivalent

        protected void assertEquivalent​(PinsetModule module)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception