Class EugeniaTest

    • Field Detail

      • CASE_EXTENSIONS

        protected static final java.lang.String[] CASE_EXTENSIONS
    • Constructor Detail

      • EugeniaTest

        public EugeniaTest​(java.lang.String caseName)
        Creates a new instance of this class.
        Parameters:
        caseName - Name of the subfolder in resources to be copied to the test project. Please make sure that all the files in that folder follow the pattern casename.ext, where casename is the name of the subfolder, and ext is one of the extensions in CASE_EXTENSIONS.
    • Method Detail

      • getCaseName

        public java.lang.String getCaseName()
      • getTestProject

        public org.eclipse.core.resources.IProject getTestProject()
      • createTestProject

        public void createTestProject()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • deleteTestProject

        public void deleteTestProject()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • copyCaseFiles

        public void copyCaseFiles()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • copyIntoProject

        public void copyIntoProject​(java.lang.String path)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • runAntTarget

        public void runAntTarget​(java.lang.String target)
                          throws java.lang.Exception
        Throws:
        java.lang.Exception