All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class guinea.logic.GenericABCTest

java.lang.Object
   |
   +----guinea.logic.Test
           |
           +----guinea.logic.GenericTest
                   |
                   +----guinea.logic.GenericABCTest

public class GenericABCTest
extends GenericTest

Variable Index

· hiddenSampleParams
An array of parameter names that are used as hidden reference samples and so are not loaded.
· sampleParams
An array of parameter names that are used as samples.

Constructor Index

· GenericABCTest()

Method Index

· getDefaultItemTemplate()
Construct a default test item template for use with generic ABC test.
· getItemClassName()
Get the default class name of the test item used by this test.
· initItemSamples_base()
Initialize samples for this item.
· propertyLoad(Properties, String)

Variables

· sampleParams
 protected String sampleParams[]
An array of parameter names that are used as samples.

· hiddenSampleParams
 protected String hiddenSampleParams[]
An array of parameter names that are used as hidden reference samples and so are not loaded.

Constructors

· GenericABCTest
 public GenericABCTest()

Methods

· initItemSamples_base
 protected void initItemSamples_base() throws Exception
Initialize samples for this item.

Throws: Exception
an exception is thrown if item samples initialization fails for some reason.
Overrides:
initItemSamples_base in class GenericTest
· getItemClassName
 public String getItemClassName()
Get the default class name of the test item used by this test.

Returns:
A class name of test item, in the case of this test, it returns guinea.logic.NewGenericItem as the class name.
Overrides:
getItemClassName in class Test
· getDefaultItemTemplate
 public Item getDefaultItemTemplate()
Construct a default test item template for use with generic ABC test. It uses the NewGenericItem item class and sets the sample parameter names as the parameters. Subclasses may also override this with their own.

Returns:
A test item template or null if class not specified or instantiation failed.
Overrides:
getDefaultItemTemplate in class Test
· propertyLoad
 public void propertyLoad(Properties p,
                          String name) throws IllegalArgumentException
Overrides:
propertyLoad in class GenericTest

All Packages  Class Hierarchy  This Package  Previous  Next  Index