StdioTest

constructor(distro: LangDockerfile, config: StdioTest.Config, testCase: TestCase)

Secondary constructor for convenience.

Parameters

distro

Distro image to run the test on.

config

The configuration to instantiate this class.

testCase

The test case for this StdioTest.


constructor(distro: LangDockerfile, config: StdioTest.Config, id: Int, file: String, input: StdioTest.InputSrc?, expected: StdioTest.InputSrc, visibility: TestCase.Visibility, hidden: Set<TestCase.HiddenItem>, args: List<String>?, score: Double?)

Parameters

distro

Distro image to run the test on.

config

The configuration to instantiate this class.

id

The ID of the test case.

file

File to execute.

input

File contents to pipe as String into STDIN.

expected

Expected STDOUT result for comparison

visibility

The visibility of this test case.

args

Arguments to pass into the executable.

score

The score of this test case. If null, implies that scoring is disabled for this stage.