criterion

public static Criterion criterion(String description, JUnitTestRef testRef)(source)

Creates a new Criterion with the given description and test.

Return

The newly created criterion.

Parameters

description

The description of the criterion.

testRef

The test reference of the criterion.


public static Criterion criterion(String description, Array<JUnitTestRef> testRefs)(source)


public static Criterion criterion(String description, JUnitTestRef testRef, int points)(source)

Creates a new Criterion with the given description and test.

Return

The newly created criterion.

Parameters

description

The description of the criterion.

testRef

The test reference of the criterion.

points

The points of the criterion.


public static Criterion criterion(String description, int points, Array<JUnitTestRef> testRefs)(source)

Creates a new Criterion with the given description and test.

Return

The newly created criterion.

Parameters

description

The description of the criterion.

testRefs

The test references of the criterion that need to pass.

points

The points of the criterion.