Adding SampleAction and SampleSubsystem to the project

Import the performance test and schedule source files into the testproj project.

Procedure

  1. Open the Java™ perspective, open src, and then right-click test.
  2. Select Import.
  3. Import SampleAction.java and SampleSubsystem.java.
  4. Edit the generated subtest file. The name will begin with Subtest_Test_ and end in .java.
  5. At the bottom of the constructor for the test, add the following line: add(new SampleAction(this, "Sample Action"));
Feedback