Package com.sun.ts.lib.harness

# Class VehicleVerifier

java.lang.Object
com.sun.ts.lib.harness.VehicleVerifier

public class VehicleVerifier extends Object
This class is used by the TS harness to figure out which vehicles are to be used by the Service tests in the TS. These defaults can be overridden by editing appropriate properties file. However, this override mechanism is only to be used for debugging purposes. When testing for J2EE certification, the defaults specified in this class must be used. A singleton class not intended for concurrent access.

Author:
  Kyle Grucci

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `EXCLUDE_KEY`
  `static final String`
  `VEHICLE_PROP_FILE_NAME`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static VehicleVerifier`
  `getInstance(File path)`
  `static VehicleVerifier`
  `getInstance(File path, String sTestName)`
  `String[]`
  `getVehicleSet()`
  This method gets the current set of vehicles to be used for a given directory path.
  `static void`
  `main(String[] args)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### VEHICLE_PROP_FILE_NAME

    public static final String VEHICLE_PROP_FILE_NAME
    See Also:
      - Constant Field Values

  - ### EXCLUDE_KEY

    public static final String EXCLUDE_KEY
    See Also:
      - Constant Field Values

- ## Method Details

  - ### getInstance

    public static VehicleVerifier getInstance(File path)

  - ### getInstance

    public static VehicleVerifier getInstance(File path, String sTestName)

  - ### getVehicleSet

    public String[] getVehicleSet()
    This method gets the current set of vehicles to be used for a given directory path.
    Returns:
      a String array of the vehicles that this test should be run in

  - ### main

    public static void main(String[] args)