All Packages Class Hierarchy This Package Previous Next Index
Class jdsltools.testers.TestStructure
java.lang.Object
|
+----jdsltools.testers.TestStructure
- public class TestStructure
- extends Object
This is what the factory actually returns in generate(...)
- Author:
- Marco da Silva (mds)
-
TestStructure(Object, Object, String[], String[])
- The constructor for TestStructure.
-
TestStructure(Object, String[])
- A TestStructure that is just a location.
-
location()
- An accessor for the test locations.
-
locName(int)
- An accessor for the name of a specific test location.
-
locNames()
- An accessor for the names of all the test locations.
-
name(int)
- An accessor for the name of a specific test structure.
-
names()
- An accessor for the names of all the test Structures.
-
setLoc(Object)
-
-
setLocName(String, int)
-
-
setName(String, int)
-
-
setStruct(Object)
-
-
structure()
- An accessor for the test structure.
TestStructure
public TestStructure(Object struct,
Object loc,
String name[],
String locName[])
- The constructor for TestStructure.
- Parameters:
- struct - The actual test structure(s) created by the factory.
- loc - The location(s) created by the factory.
- name - The names of the structures.
- locName - The names of the locations.
TestStructure
public TestStructure(Object loc,
String locNames[])
- A TestStructure that is just a location.
- Parameters:
- loc - The location(s) created by the factory.
- locNames - The names of the locations.
structure
public Object structure()
- An accessor for the test structure.
- Returns:
- Object the current test structure this TestStructure holds
location
public Object location()
- An accessor for the test locations.
- Returns:
- Object the current locations this TestStructure hold
name
public String name(int i)
- An accessor for the name of a specific test structure.
- Parameters:
- i - The index number of the structure.
- Returns:
- String The name of that structure.
locName
public String locName(int i)
- An accessor for the name of a specific test location.
- Parameters:
- i - The index number of the location.
- Returns:
- String The name of that location.
names
public String[] names()
- An accessor for the names of all the test Structures.
- Returns:
- String[] The names of the structures.
locNames
public String[] locNames()
- An accessor for the names of all the test locations.
- Returns:
- String[] The names of the locations.
setStruct
public void setStruct(Object struct)
setLoc
public void setLoc(Object loc)
setName
public void setName(String name,
int i)
setLocName
public void setLocName(String name,
int i)
All Packages Class Hierarchy This Package Previous Next Index