Class AntUnitTestCase.TestCaseName

  • Enclosing class:
    AntUnitTestCase

    static class AntUnitTestCase.TestCaseName
    extends java.lang.Object
    Handle the serialization and the parsing of the name of a TestCase. The name of the TestCase contains the filename of the script and the target, so that the name uniquely identify the TestCase, and a TestCase can be executed from its name.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String name  
      private java.io.File script  
      private java.lang.String target  
    • Constructor Summary

      Constructors 
      Constructor Description
      TestCaseName​(java.io.File script, java.lang.String target)  
      TestCaseName​(java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()  
      java.io.File getScript()  
      java.lang.String getTarget()  
      • Methods inherited from class java.lang.Object

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

      • name

        private final java.lang.String name
      • script

        private final java.io.File script
      • target

        private final java.lang.String target
    • Constructor Detail

      • TestCaseName

        public TestCaseName​(java.lang.String name)
      • TestCaseName

        public TestCaseName​(java.io.File script,
                            java.lang.String target)
    • Method Detail

      • getName

        public java.lang.String getName()
      • getScript

        public java.io.File getScript()
      • getTarget

        public java.lang.String getTarget()