Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4fdfffe
commit 66b5978
Showing
21 changed files
with
291 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
require 'test/unit' | ||
require 'testml' | ||
require 'testml/compiler/pegex' | ||
require_relative 'testml_bridge' | ||
|
||
class Test::TestML < Test::Unit::TestCase | ||
def test_arguments_tml(compiler=TestML::Compiler::Pegex) | ||
TestML.new( | ||
testml: 'testml/arguments.tml', | ||
bridge: TestMLBridge, | ||
compiler: compiler, | ||
).run(self) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
require 'test/unit' | ||
require 'testml' | ||
require 'testml/compiler/pegex' | ||
require_relative 'testml_bridge' | ||
|
||
class Test::TestML < Test::Unit::TestCase | ||
def test_assertions_tml(compiler=TestML::Compiler::Pegex) | ||
TestML.new( | ||
testml: 'testml/assertions.tml', | ||
bridge: TestMLBridge, | ||
compiler: compiler, | ||
).run(self) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
require 'test/unit' | ||
require 'testml' | ||
require 'testml/compiler/pegex' | ||
require_relative 'testml_bridge' | ||
|
||
class Test::TestML < Test::Unit::TestCase | ||
def test_basic_tml(compiler=TestML::Compiler::Pegex) | ||
TestML.new( | ||
testml: 'testml/basic.tml', | ||
bridge: TestMLBridge, | ||
compiler: compiler, | ||
).run(self) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
require 'test/unit' | ||
require 'testml' | ||
require 'testml/compiler/pegex' | ||
require_relative 'testml_bridge' | ||
|
||
class Test::TestML < Test::Unit::TestCase | ||
def test_dataless_tml(compiler=TestML::Compiler::Pegex) | ||
TestML.new( | ||
testml: 'testml/dataless.tml', | ||
bridge: TestMLBridge, | ||
compiler: compiler, | ||
).run(self) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
require 'test/unit' | ||
require 'testml' | ||
require 'testml/compiler/pegex' | ||
require_relative 'testml_bridge' | ||
|
||
class Test::TestML < Test::Unit::TestCase | ||
def test_exceptions_tml(compiler=TestML::Compiler::Pegex) | ||
TestML.new( | ||
testml: 'testml/exceptions.tml', | ||
bridge: TestMLBridge, | ||
compiler: compiler, | ||
).run(self) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
require 'test/unit' | ||
require 'testml' | ||
require 'testml/compiler/pegex' | ||
require_relative 'testml_bridge' | ||
|
||
class Test::TestML < Test::Unit::TestCase | ||
def test_external_tml(compiler=TestML::Compiler::Pegex) | ||
TestML.new( | ||
testml: 'testml/external.tml', | ||
bridge: TestMLBridge, | ||
compiler: compiler, | ||
).run(self) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
require 'test/unit' | ||
require 'testml' | ||
require 'testml/compiler/pegex' | ||
require_relative 'testml_bridge' | ||
|
||
class Test::TestML < Test::Unit::TestCase | ||
def test_function_tml(compiler=TestML::Compiler::Pegex) | ||
TestML.new( | ||
testml: 'testml/function.tml', | ||
bridge: TestMLBridge, | ||
compiler: compiler, | ||
).run(self) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
require 'test/unit' | ||
require 'testml' | ||
require 'testml/compiler/pegex' | ||
require_relative 'testml_bridge' | ||
|
||
class Test::TestML < Test::Unit::TestCase | ||
def test_label_tml(compiler=TestML::Compiler::Pegex) | ||
TestML.new( | ||
testml: 'testml/label.tml', | ||
bridge: TestMLBridge, | ||
compiler: compiler, | ||
).run(self) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
require 'test/unit' | ||
require 'testml' | ||
require 'testml/compiler/lite' | ||
require_relative 'testml_bridge' | ||
|
||
class Test::TestML < Test::Unit::TestCase | ||
def test_arguments_tml(compiler=TestML::Compiler::Lite) | ||
TestML.new( | ||
testml: 'testml/arguments.tml', | ||
bridge: TestMLBridge, | ||
compiler: compiler, | ||
).run(self) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
require 'test/unit' | ||
require 'testml' | ||
require 'testml/compiler/lite' | ||
require_relative 'testml_bridge' | ||
|
||
class Test::TestML < Test::Unit::TestCase | ||
def test_basic_tml(compiler=TestML::Compiler::Lite) | ||
TestML.new( | ||
testml: 'testml/basic.tml', | ||
bridge: TestMLBridge, | ||
compiler: compiler, | ||
).run(self) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
require 'test/unit' | ||
require 'testml' | ||
require 'testml/compiler/lite' | ||
require_relative 'testml_bridge' | ||
|
||
class Test::TestML < Test::Unit::TestCase | ||
def test_exceptions_tml(compiler=TestML::Compiler::Lite) | ||
TestML.new( | ||
testml: 'testml/exceptions.tml', | ||
bridge: TestMLBridge, | ||
compiler: compiler, | ||
).run(self) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
require 'test/unit' | ||
require 'testml' | ||
require 'testml/compiler/lite' | ||
require_relative 'testml_bridge' | ||
|
||
class Test::TestML < Test::Unit::TestCase | ||
def test_semicolons_tml(compiler=TestML::Compiler::Lite) | ||
TestML.new( | ||
testml: 'testml/semicolons.tml', | ||
bridge: TestMLBridge, | ||
compiler: compiler, | ||
).run(self) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
source_testml_dir: ../../testml-tml | ||
local_testml_dir: ./testml | ||
test_file_template: | | ||
require 'test/unit' | ||
require 'testml' | ||
require 'testml/compiler/lite' | ||
require_relative 'testml_bridge' | ||
class Test::TestML < Test::Unit::TestCase | ||
def test_%{name}(compiler=TestML::Compiler::Lite) | ||
TestML.new( | ||
testml: '%{file}', | ||
bridge: TestMLBridge, | ||
compiler: compiler, | ||
).run(self) | ||
end | ||
end | ||
test_file_prefix: testml-lite- | ||
include_testml_files: | ||
- arguments.tml | ||
- basic.tml | ||
- exceptions.tml | ||
- semicolons.tml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
require 'test/unit' | ||
require 'testml' | ||
require 'testml/compiler/pegex' | ||
require_relative 'testml_bridge' | ||
|
||
class Test::TestML < Test::Unit::TestCase | ||
def test_markers_tml(compiler=TestML::Compiler::Pegex) | ||
TestML.new( | ||
testml: 'testml/markers.tml', | ||
bridge: TestMLBridge, | ||
compiler: compiler, | ||
).run(self) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
require 'test/unit' | ||
require 'testml' | ||
require 'testml/compiler/pegex' | ||
require_relative 'testml_bridge' | ||
|
||
class Test::TestML < Test::Unit::TestCase | ||
def test_semicolons_tml(compiler=TestML::Compiler::Pegex) | ||
TestML.new( | ||
testml: 'testml/semicolons.tml', | ||
bridge: TestMLBridge, | ||
compiler: compiler, | ||
).run(self) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
require 'test/unit' | ||
require 'testml' | ||
require 'testml/compiler/pegex' | ||
require_relative 'testml_bridge' | ||
|
||
class Test::TestML < Test::Unit::TestCase | ||
def test_semicolons2_tml(compiler=TestML::Compiler::Pegex) | ||
TestML.new( | ||
testml: 'testml/semicolons2.tml', | ||
bridge: TestMLBridge, | ||
compiler: compiler, | ||
).run(self) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
require 'test/unit' | ||
require 'testml' | ||
require 'testml/compiler/pegex' | ||
require_relative 'testml_bridge' | ||
|
||
class Test::TestML < Test::Unit::TestCase | ||
def test_standard_tml(compiler=TestML::Compiler::Pegex) | ||
TestML.new( | ||
testml: 'testml/standard.tml', | ||
bridge: TestMLBridge, | ||
compiler: compiler, | ||
).run(self) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
require 'test/unit' | ||
require 'testml' | ||
require 'testml/compiler/pegex' | ||
require_relative 'testml_bridge' | ||
|
||
class Test::TestML < Test::Unit::TestCase | ||
def test_truth_tml(compiler=TestML::Compiler::Pegex) | ||
TestML.new( | ||
testml: 'testml/truth.tml', | ||
bridge: TestMLBridge, | ||
compiler: compiler, | ||
).run(self) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
require 'test/unit' | ||
require 'testml' | ||
require 'testml/compiler/pegex' | ||
require_relative 'testml_bridge' | ||
|
||
class Test::TestML < Test::Unit::TestCase | ||
def test_types_tml(compiler=TestML::Compiler::Pegex) | ||
TestML.new( | ||
testml: 'testml/types.tml', | ||
bridge: TestMLBridge, | ||
compiler: compiler, | ||
).run(self) | ||
end | ||
end |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters