Adding SampleAction and SampleSubsystem to the project
Import the performance test and schedule source files into the testproj project.
Procedure
- Open the Java™ perspective, open src, and then right-click test.
- Select Import.
- Import SampleAction.java and SampleSubsystem.java.
- Edit the generated subtest file. The name will begin with Subtest_Test_ and end in .java.
- At the bottom of the constructor for the test, add the
following line:
add(new SampleAction(this, "Sample Action"));