80 lines
2 KiB
Text
80 lines
2 KiB
Text
TESTING "Component Test Suite: ALL" ./test-components
|
|
|
|
|
|
|
|
|
|
TEST "Hello test" HelloWorld_test <<END
|
|
out: This is how the world ends...
|
|
return: 0
|
|
END
|
|
|
|
|
|
TEST "CmdlineWrapper_test" CmdlineWrapper_test <<END
|
|
out: wrapping cmdline:...
|
|
out: -->
|
|
out: wrapping cmdline:
|
|
out: ...
|
|
out: -->
|
|
out: wrapping cmdline:spam...
|
|
out: 0|spam|
|
|
out: -->spam
|
|
out: wrapping cmdline:
|
|
out: spam...
|
|
out: 0|spam|
|
|
out: -->spam
|
|
out: wrapping cmdline:eat more spam...
|
|
out: 0|eat|
|
|
out: 1|more|
|
|
out: 2|spam|
|
|
out: -->eat more spam
|
|
out: wrapping cmdline: oo _O()O_ ä + €...
|
|
out: 0|oo|
|
|
out: 1|_O()O_|
|
|
out: 2|ä|
|
|
out: 3|+|
|
|
out: 4|€|
|
|
out: -->oo _O()O_ ä + €
|
|
out: wrapping cmdline:...
|
|
out: -->
|
|
out: Standard Cmdlineformat:one two
|
|
END
|
|
|
|
|
|
TEST "TestOption_test" TestOption_test <<END
|
|
out: Testing invocation with cmdline: ...
|
|
out: --> Testgroup=ALL
|
|
out: --> Test-ID =--missing--
|
|
out: --> remaining=
|
|
out: Testing invocation with cmdline: --help...
|
|
out: --> Testgroup=ALL
|
|
out: --> Test-ID =--missing--
|
|
out: --> remaining=
|
|
out: Testing invocation with cmdline: --group TestGroupID...
|
|
out: --> Testgroup=TestGroupID
|
|
out: --> Test-ID =--missing--
|
|
out: --> remaining=
|
|
out: Testing invocation with cmdline: SingleTestID...
|
|
out: --> Testgroup=ALL
|
|
out: --> Test-ID =SingleTestID
|
|
out: --> remaining=SingleTestID
|
|
out: Testing invocation with cmdline: SingleTestID --group TestGroupID...
|
|
out: --> Testgroup=TestGroupID
|
|
out: --> Test-ID =SingleTestID
|
|
out: --> remaining=SingleTestID
|
|
out: Testing invocation with cmdline: --group TestGroupID SingleTestID ...
|
|
out: --> Testgroup=TestGroupID
|
|
out: --> Test-ID =SingleTestID
|
|
out: --> remaining=SingleTestID
|
|
out: Testing invocation with cmdline: --group TestGroupID SingleTestID spam eggs...
|
|
out: --> Testgroup=TestGroupID
|
|
out: --> Test-ID =SingleTestID
|
|
out: --> remaining=SingleTestID spam eggs
|
|
out: Testing invocation with cmdline: SingleTestID spam --group TestGroupID --eggs...
|
|
out: --> Testgroup=TestGroupID
|
|
out: --> Test-ID =SingleTestID
|
|
out: --> remaining=SingleTestID spam --eggs
|
|
END
|
|
|
|
|
|
TEST "Factory_test" Factory_test <<END
|
|
END
|