A D F G I J R S T 
All Classes All Packages

A

apply(Object, Object, String) - Method in interface javax0.jamal.testsupport.TestAll.AssertEquals
 

D

define(String, String, String...) - Method in class javax0.jamal.testsupport.TestThat
You can use this method to call to define a local user defined macro for the test in case the tested macro depends on the existence of some user defined macros.
define(Macro) - Method in class javax0.jamal.testsupport.TestThat
You can use this method to define a local built-in macro.
define(Macro, String) - Method in class javax0.jamal.testsupport.TestThat
You can use this method to define a local built-in macro with an alias.

F

failAsExpected() - Method in class javax0.jamal.testsupport.TestAll
Test that all files that are processed fail.
filesWithExtension(String) - Method in class javax0.jamal.testsupport.TestAll
Set the extension filter for selecting input or output files.
fromTheInput(String) - Method in class javax0.jamal.testsupport.TestThat
 

G

getActual() - Method in class javax0.jamal.testsupport.TestAll
When a test fails then the field 'actual' will contain the actual result.
getExpected() - Method in class javax0.jamal.testsupport.TestAll
When a test fails then the field 'expected' will contain the expected result.
getMessage() - Method in class javax0.jamal.testsupport.TestAll
When a test fails then the message is a user friendly text that help explain why the test failed.
global(String, String, String...) - Method in class javax0.jamal.testsupport.TestThat
You can use this method to call to define a global user defined macro for the test in case the tested macro depends on the existence of some user defined macros.
global(Macro) - Method in class javax0.jamal.testsupport.TestThat
You can use this method to define a global built-in macro.
global(Macro, String) - Method in class javax0.jamal.testsupport.TestThat
You can use this method to define a global built-in macro with an alias.

I

in(Class<?>) - Static method in class javax0.jamal.testsupport.TestAll
Create a new instance that will work for the given test class.
inputFrom(String) - Method in class javax0.jamal.testsupport.TestAll
Create an input from the file named.

J

jamal.testsupport - module jamal.testsupport
 
javax0.jamal.testsupport - package javax0.jamal.testsupport
 

R

resultAsExpected() - Method in class javax0.jamal.testsupport.TestAll
Tests that the files are processed by Jamal just running OK and they all result the string that is in their expected file pair.
results(String) - Method in class javax0.jamal.testsupport.TestThat
Create a new macro, a new processor and test that the input creates the expected output.

S

sep(String, String) - Method in class javax0.jamal.testsupport.TestAll
Set the macro opening and closing string as in the macro sep.

T

TestAll - Class in javax0.jamal.testsupport
Test support methods that read from resources, execute Jamal and compare the result with other resource content.
TestAll.AssertEquals - Interface in javax0.jamal.testsupport
 
testExpected(Object, TestAll.AssertEquals) - Static method in class javax0.jamal.testsupport.TestAll
 
testExpected(Object, TestAll.AssertEquals, String) - Static method in class javax0.jamal.testsupport.TestAll
 
TestThat - Class in javax0.jamal.testsupport
A simple class that helps the testing of built-in macros.
theInput(String) - Static method in class javax0.jamal.testsupport.TestThat
 
theMacro(Class<? extends Macro>) - Static method in class javax0.jamal.testsupport.TestThat
Create a new instance of the TestThat class.
throwsBadSyntax() - Method in class javax0.jamal.testsupport.TestThat
Checks that the macro throws a bad syntax exception for the given input.
throwsUp(Class<? extends Throwable>) - Method in class javax0.jamal.testsupport.TestThat
Checks that the macro throws an exception for a given input.
A D F G I J R S T 
All Classes All Packages