FileDocCategorySizeDatePackage
AutoTesterInterface.javaAPI DocphoneME MR2 API (J2ME)2298Wed May 02 18:00:04 BST 2007com.sun.midp.installer

AutoTesterInterface

public interface AutoTesterInterface
Installs/Updates a test suite, runs the first MIDlet in the suite in a loop until the new version of the suite is not found, then removes the suite.

The MIDlet uses these application properties as arguments:

  1. arg-0: URL for the test suite
  2. arg-1: Used to override the default domain used when installing an unsigned suite. The default is maximum to allow the runtime API tests be performed automatically without tester interaction.

If arg-0 is not given then a form will be used to query the tester for the arguments.

Fields Summary
Constructors Summary
Methods Summary
public voidinstallAndPerformTests(com.sun.midp.midletsuite.MIDletSuiteStorage midletSuiteStorage, Installer inp_installer, java.lang.String inp_url)
Installs and performs the tests.

param
midletSuiteStorage MIDletSuiteStorage object
param
inp_installer Installer object
param
inp_url URL of the test suite

public booleanrestoreSession()
Restore the data from the last session.

return
true if there was data saved from the last session