jsystem.treeui
Class TestSelector

java.lang.Object
  extended byjsystem.treeui.TestSelector

public class TestSelector
extends Object


Constructor Summary
TestSelector(File selectionFile, SelectorListener listener)
           
 
Method Summary
 void addTest(String className, String methodName)
           
 boolean exists(String name)
           
 String[] getAllTests()
           
 Vector getAvailableLists()
           
 String getPath()
           
 int getPositionInList(String className, String methodName)
           
 TestSuite getSuite()
           
 void loadFile(String name)
           
 void moveDown(String className, String methodName)
           
 void moveUp(String className, String methodName)
           
 void refresh()
           
 void removeTest(String className, String methodName)
           
 void saveAs(File file)
           
 void saveAs(String newName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestSelector

public TestSelector(File selectionFile,
                    SelectorListener listener)
             throws Exception
Method Detail

addTest

public void addTest(String className,
                    String methodName)
             throws Exception
Throws:
Exception

removeTest

public void removeTest(String className,
                       String methodName)
                throws Exception
Throws:
Exception

moveUp

public void moveUp(String className,
                   String methodName)
            throws Exception
Throws:
Exception

moveDown

public void moveDown(String className,
                     String methodName)
              throws Exception
Throws:
Exception

refresh

public void refresh()
             throws Exception
Throws:
Exception

saveAs

public void saveAs(File file)
            throws IOException
Throws:
IOException

saveAs

public void saveAs(String newName)
            throws IOException
Throws:
IOException

loadFile

public void loadFile(String name)
              throws Exception
Throws:
Exception

getAllTests

public String[] getAllTests()

getPositionInList

public int getPositionInList(String className,
                             String methodName)

exists

public boolean exists(String name)

getAvailableLists

public Vector getAvailableLists()

getSuite

public TestSuite getSuite()

getPath

public String getPath()
Returns:
Returns the path.