All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----edu.utah.janos.tests.TestMain
| Summary |
public class TestMain
extends java.lang.Object
{
// Fields 5
private static AddressFactory addrFactory;
private static final int environment;
static Flow rootFlow;
static TestFlow testFlow;
static Node testNode;
// Constructors 1
public TestMain();
// Methods 8
public static AddressFactory getAddressFactory();
public static int getEnvironment();
public static Node getNode();
public static Flow getRootFlow();
public static TestFlow getTestFlow();
public static void main(String[]) throws Exception;
private static void setupObjects(String[]);
private static void usage();
}
A class to provide a main() for testing. It will startup up a TestFlow and pass it it's command line arguments.
| Fields |
· rootFlow | Summary | Top |
static Flow rootFlow
The root flow
· testFlow | Summary | Top |
static TestFlow testFlow
The test flow that gets started to run the tests in
· testNode | Summary | Top |
static Node testNode
The test node for the tests
· addrFactory | Summary | Top |
private static AddressFactory addrFactory
The address factory from nodeos, this can only be gotten once so we have to grab it and export it for everyone else
· environment | Summary | Top |
private static final int environment
Encoding of the build environment
| Constructors |
· TestMain | Summary | Top |
public TestMain()
Default constructor
| Methods |
· setupObjects | Summary | Top |
private static void setupObjects(String[] mainArgs)
Startup the flow and setup any other references
· getRootFlow | Summary | Top |
public static Flow getRootFlow()
Return rootFlow
· getTestFlow | Summary | Top |
public static TestFlow getTestFlow()
Return the test flow object
· getNode | Summary | Top |
public static Node getNode()
Return the test node object
· getAddressFactory | Summary | Top |
public static AddressFactory getAddressFactory()
Return the address factory
· getEnvironment | Summary | Top |
public static int getEnvironment()
Get the build environment encoding
· usage | Summary | Top |
private static void usage()
Print the usage for this classes' main()
· main | Summary | Top |
public static void main(String[] args) throws Exception
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7