Class IpsTest2

java.lang.Object
org.faktorips.runtime.test.IpsTest2
Direct Known Subclasses:
IpsTestCaseBase, IpsTestSuite

public abstract class IpsTest2 extends Object
Author:
Jan Ortmann
  • Constructor Details

    • IpsTest2

      public IpsTest2(String qName)
  • Method Details

    • getQualifiedName

      public String getQualifiedName()
      Returns the test's qualified name.
    • getFullPath

      public String getFullPath()
      Returns the test's file name including the path.
    • setFullPath

      public void setFullPath(String fileName)
      Sets the test's file name including the path.
    • getName

      public String getName()
      Returns the test's unqualified name.
    • getRepository

      public IRuntimeRepository getRepository()
      Returns the runtime repository for searching and creating object during the test run.
    • setRepository

      public void setRepository(IRuntimeRepository runtimeRepository)
      Sets the runtime repository.
    • countTestCases

      public abstract int countTestCases()
      Returns the number of test cases in this test. If this is a test the method returns 1, if this is a suite the number of test cases in the suite itself and all suites that are contained in this one.
    • run

      protected abstract void run(IpsTestResult result)