diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/benchmarks/createBenchmarks.pl | 6 | ||||
-rw-r--r-- | test/benchmarks/finalParallel.scxml | 2 | ||||
-rw-r--r-- | test/benchmarks/findLCCA.scxml | 2 |
3 files changed, 7 insertions, 3 deletions
diff --git a/test/benchmarks/createBenchmarks.pl b/test/benchmarks/createBenchmarks.pl index 088c020..cd5cef7 100755 --- a/test/benchmarks/createBenchmarks.pl +++ b/test/benchmarks/createBenchmarks.pl @@ -40,6 +40,7 @@ sub createFindLCCABenchmark { $$where->{'name'} = 'findLCCA'; $$where->{'type'} = 'scxml'; + $$where->{'datamodel'} = 'null'; $$where->{'intial'} = ""; for (my $i = 1; $i <= $parallelStates; $i++) { $$where->{'initial'} .= "id" . ($i*$nestingDepth) . " "; @@ -84,6 +85,7 @@ sub createFinalParallelBenchmark { $$where->{'name'} = 'finalParallel'; $$where->{'type'} = 'scxml'; + $$where->{'datamodel'} = 'null'; $$where->{'intial'} = ""; $$where->{'children'}[0]->{'type'} = 'parallel'; @@ -111,7 +113,7 @@ sub createFinalParallelNestedFinals { $state->{'type'} = "state"; } $state->{'id'} = "id".$stateId++; - + createFinalParallelNestedFinals(\$state->{'children'}, $amount - 1); push @{$$where}, $state; @@ -172,6 +174,8 @@ sub writeMachine { print $fh ' seed="' . $seed . '"'; print $fh ' name="' . $machine->{'name'} . '"' if $machine->{'name'}; print $fh ' initial="' . $machine->{'initial'} . '"' if $machine->{'initial'}; + print $fh ' xmlns="http://www.w3.org/2005/07/scxml"'; + print $fh ' version="1.0"'; print $fh '>'; foreach (@{$machine->{'children'}}) { diff --git a/test/benchmarks/finalParallel.scxml b/test/benchmarks/finalParallel.scxml index 415c4d2..193fa1c 100644 --- a/test/benchmarks/finalParallel.scxml +++ b/test/benchmarks/finalParallel.scxml @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<scxml seed="681439801" name="finalParallel"> +<scxml xmlns="http://www.w3.org/2005/07/scxml" datamodel="null" seed="117612236" name="finalParallel" version="1.0"> <parallel id="p0"> <state id="id1"> <state id="id2"> diff --git a/test/benchmarks/findLCCA.scxml b/test/benchmarks/findLCCA.scxml index 068057f..290a323 100644 --- a/test/benchmarks/findLCCA.scxml +++ b/test/benchmarks/findLCCA.scxml @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<scxml seed="681439801" name="findLCCA" initial="id20 id40 id60 id80 id100 id120 id140 id160 id180 id200 id220 id240 id260 id280 id300 id320 id340 id360 id380 id400 "> +<scxml xmlns="http://www.w3.org/2005/07/scxml" datamodel="null" seed="117612236" name="findLCCA" initial="id20 id40 id60 id80 id100 id120 id140 id160 id180 id200 id220 id240 id260 id280 id300 id320 id340 id360 id380 id400 " version="1.0"> <parallel id="p0"> <state id="id1"> <state id="id2"> |