Lines Matching defs:TestML
2 package TestML::Tiny;
20 $self->{runtime} ||= TestML::Tiny::Runtime->new(
23 my $compiler = TestML::Tiny::Compiler->new(
33 Carp::croak "Missing or invalid runtime object for TestML::Tiny::run()"
34 unless defined($runtime) and ref($runtime) eq 'TestML::Tiny::Runtime';
41 or Carp::croak "TestML object requires a testml attribute";
69 package TestML::Tiny::Runtime;
74 my $self = $TestML::Tiny::Runtime::Singleton =
84 package TestML::Tiny::Compiler;
98 $TestML::Tiny::Runtime::Singleton;
103 my $function = $self->{function} = TestML::Tiny::Function->new;
110 Carp::croak "Don't know how to compile TestML '$code_syntax' code"
113 Carp::croak "Don't know how to compile TestML '$data_syntax' data"
136 if ($key eq "TestML") {
168 Carp::croak "Unknown TestML directive: '%$key'";
186 Carp::croak "Can't set TestML '$key' directive to '$value'. " .
195 Carp::croak "TestML syntax version not defined. Cannot continue"
197 Carp::croak "Invalid value for TestML version '$version'. Must be 0.1.0"
257 or die "Invalid TestML line:\n'$line'";
281 die "Invalid TestML line:\n'$line'";
288 package TestML::Tiny::Function;
299 package TestML::Tiny::Bridge;
306 package TestML::Tiny::Library::Standard;