2013-01-07 05:43:01 +01:00
|
|
|
TESTING "Component Test Suite: Proc-Layer controller" ./test-suite --group=controller
|
2007-09-03 02:33:47 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-10-06 05:11:30 +02:00
|
|
|
TEST "CommandBasic_test" CommandBasic_test <<END
|
2016-01-28 22:30:24 +01:00
|
|
|
return: 0
|
2009-06-08 21:29:09 +02:00
|
|
|
END
|
|
|
|
|
|
|
|
|
|
|
2009-08-28 20:33:20 +02:00
|
|
|
TEST "Argument & Memento handling" CommandArgument_test <<END
|
2009-07-20 07:03:18 +02:00
|
|
|
out: Command-State. arguments=unbound, ·noUNDO·.
|
|
|
|
|
out: capture state...
|
|
|
|
|
out: Command-State. arguments=Closure\(\), ·noUNDO·.
|
|
|
|
|
out: Command-State. arguments=Closure\(.\), ·noUNDO·.
|
2015-09-25 02:03:12 +02:00
|
|
|
out: Command-State. arguments=Closure\(.,.+s.*\), ·noUNDO·.
|
|
|
|
|
out: Command-State. arguments=Closure\(.+s.*,glorious,..\), <mem: destruction>.
|
2009-07-20 07:03:18 +02:00
|
|
|
out: would be serialised.....Command-State. arguments=Closure\(\), ·noUNDO·.
|
|
|
|
|
out: would be serialised.....Command-State. arguments=Closure\(.\), ·noUNDO·.
|
2015-09-25 02:03:12 +02:00
|
|
|
out: would be serialised.....Command-State. arguments=Closure\(.,.+s.*\), ·noUNDO·.
|
|
|
|
|
out: would be serialised.....Command-State. arguments=Closure\(.+s.*,glorious,..\), <mem: destruction>.
|
2016-01-10 12:25:45 +01:00
|
|
|
out: sizeof\( control::ArgumentHolder<void \(Tracker<TimeVar>, Tracker<string>, int\), Tracker<string> > \) = [0-9]{2,3}
|
2015-09-25 02:03:12 +02:00
|
|
|
out: Command-State. arguments=Closure\(.+s.*,Lumiera rocks,..\), ·noUNDO·.
|
2009-07-20 07:03:18 +02:00
|
|
|
out: capture state...
|
|
|
|
|
out: captured state: START...Lumiera rocks
|
2015-09-25 02:03:12 +02:00
|
|
|
out: Command-State. arguments=Closure\(.+s.*,Lumiera rocks,..\), <mem: START...Lumiera rocks>.
|
2009-07-20 07:03:18 +02:00
|
|
|
out: invoke operation...
|
2015-09-25 02:03:12 +02:00
|
|
|
out: START...doIt\( Time=.+s.* "Lumiera rocks" rand=.. \)
|
2009-07-20 07:03:18 +02:00
|
|
|
out: undo... memento=START...Lumiera rocks
|
2016-01-08 00:16:14 +01:00
|
|
|
out: START...doIt\( Time=.+s.* "Lumiera rocks" rand=.. \)undoIt\(time=.+s\)----memento-:START...Lumiera rocks
|
2009-07-20 07:03:18 +02:00
|
|
|
out: capture state...
|
2016-01-08 00:16:14 +01:00
|
|
|
out: modified: Command-State. arguments=Closure\(123ms,unbelievable,..\), <mem: START...doIt\( Time=.+s.* "Lumiera rocks" rand=.. \)undoIt\(time=.+s\)----memento-:START...Lumiera rocksLumiera rocks>.
|
2015-09-25 02:03:12 +02:00
|
|
|
out: copied : Command-State. arguments=Closure\(.+s.*,Lumiera rocks,..\), <mem: START...Lumiera rocks>.
|
2016-01-08 00:16:14 +01:00
|
|
|
out: undo... memento=START...doIt\( Time=.+s.* "Lumiera rocks" rand=.. \)undoIt\(time=.+s\)----memento-:START...Lumiera rocksLumiera rocks
|
|
|
|
|
out: RESET...undoIt\(time=.+s\)----memento-:START...doIt\( Time=.+s.* "Lumiera rocks" rand=.. \)undoIt\(time=.+s\)----memento-:START...Lumiera rocksLumiera rocks
|
2016-01-28 22:30:24 +01:00
|
|
|
return: 0
|
2009-06-28 15:27:27 +02:00
|
|
|
END
|
|
|
|
|
|
|
|
|
|
|
2009-10-03 03:40:12 +02:00
|
|
|
TEST "build argument accepting function" ArgumentTupleAccept_test <<END
|
2016-01-10 12:25:45 +01:00
|
|
|
out: sizeof\( TestClass<void \(\)> \) = 1
|
|
|
|
|
out: sizeof\( TestClass<int \(TimeVar, int\)> \) = (12|16)
|
2016-01-08 00:16:14 +01:00
|
|
|
out: .+s
|
2009-09-29 18:09:34 +02:00
|
|
|
return: 0
|
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
|
2009-08-28 20:33:20 +02:00
|
|
|
TEST "Command functor and UNDO functor" CommandMutation_test <<END
|
2009-09-21 03:34:10 +02:00
|
|
|
out: empty placeholder closure: Closure\(0\)
|
2009-07-10 19:04:01 +02:00
|
|
|
out: param values: Closure\(23\)
|
|
|
|
|
out: saved state: 11
|
2016-01-28 22:30:24 +01:00
|
|
|
return: 0
|
2009-06-19 05:57:06 +02:00
|
|
|
END
|
2009-06-24 06:38:33 +02:00
|
|
|
|
|
|
|
|
|
2009-09-29 18:09:34 +02:00
|
|
|
TEST "Memento wiring and storage" MementoTie_test <<END
|
2009-07-12 23:21:37 +02:00
|
|
|
return: 0
|
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
|
2009-10-10 06:56:44 +02:00
|
|
|
TEST "Opaque cloning of implementation" CommandCloneBuilder_test <<END
|
2009-10-09 17:54:31 +02:00
|
|
|
return: 0
|
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
|
2009-10-06 05:11:30 +02:00
|
|
|
TEST "Equality comparisons" CommandEquality_test <<END
|
2009-10-03 16:28:46 +02:00
|
|
|
return: 0
|
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
|
2009-10-05 06:07:21 +02:00
|
|
|
TEST "Command index and allocation" CommandRegistry_test <<END
|
2009-07-09 20:47:21 +02:00
|
|
|
return: 0
|
2009-06-24 06:38:33 +02:00
|
|
|
END
|
2009-07-24 05:24:39 +02:00
|
|
|
|
|
|
|
|
|
2009-10-10 17:53:11 +02:00
|
|
|
TEST "Handling Pattern basics" HandlingPatternBasics_test <<END
|
2009-09-29 18:09:34 +02:00
|
|
|
return: 0
|
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
|
2009-10-10 17:53:11 +02:00
|
|
|
PLANNED "Handling Patterns" HandlingPatternStandardImpl_test <<END
|
|
|
|
|
return: 0
|
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TEST "Command argument binding" CommandBinding_test <<END
|
|
|
|
|
out: Command\("test.command3.2"\) \{exec\}
|
2009-08-11 08:35:37 +02:00
|
|
|
return: 0
|
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
|
2009-10-10 06:56:44 +02:00
|
|
|
TEST "Command usage aspects I" CommandUse1_test <<END
|
|
|
|
|
out: Command\("test.command1.1"\) \{undo\}
|
|
|
|
|
out: Command\("test.command1.2"\) \{undo\}
|
|
|
|
|
out: Command\("test.command1.3"\) \{undo\}
|
|
|
|
|
out: Command\("test.command1.4"\) \{undo\}
|
|
|
|
|
out: Command\(_xxx_\) NIL
|
|
|
|
|
out: Command\("test.command1.5"\) \{def\}
|
|
|
|
|
out: Command\("test.command1.5"\) \{exec\}
|
|
|
|
|
out: Command\("test.command1.5"\) \{undo\}
|
2009-07-24 05:24:39 +02:00
|
|
|
return: 0
|
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
|
2016-01-22 15:25:08 +01:00
|
|
|
TEST "Command usage aspects II" CommandUse2_test <<END
|
2009-07-24 05:24:39 +02:00
|
|
|
return: 0
|
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PLANNED "Command usage aspects III" CommandUse3_test <<END
|
|
|
|
|
return: 0
|
|
|
|
|
END
|