| xtc.lang.jeannie.UnitTests
UnitTests | final public class UnitTests extends TestCase (Code) | | JUnit tests for classes in package xtc.lang.jeannie.
This class is a good place to quickly try a method on some simple
inputs. The test cases also document how to use certain API and
what it does.
To run from the console, set your CLASSPATH to include
$JAVA_DEV_ROOT/classes and junit.jar, then run
java -ea junit.textui.TestRunner xtc.lang.jeannie.UnitTests
Or, to run from within eclipse, Run -> Run ... -> JUnit -> New, and
specify xtc.lang.jeannie.UnitTests.
author: Martin Hirzel version: $Revision: 1.28 $ |
Method Summary | |
static void | assrtEquals(String expected, String actual) | static void | debuggerAnalyzerTestError(String language, String input, String expected, DebuggerAstAnalyzer ana) | static void | debuggerParserTestRoundTrip(String language, String input, String expected) | static void | jeannieAnalyzerTestError(String production, String language, String input, String expected, Analyzer ana) | static void | jeannieParserTestRoundTrip(String production, String language, String input, String expected, boolean simple) | public static Test | suite() | final public void | testJeannieParser_pFile() | final public void | testJeannieUtil_cAstToString() | final public void | testJeannieUtil_cTypeToJavaType() | final public void | testJeannieUtil_cTypeToString() | final public void | testJeannieUtil_containsCCode() | final public void | testJeannieUtil_javaTypeToApiType() | final public void | testJeannieUtil_javaTypeToCType() | final public void | testJeannieUtil_javaTypeToString() | final public void | testJeannieUtil_jniMangledName() | static String | trimAnalyzerOutput(String output) |
suite | public static Test suite()(Code) | | |
testJeannieParser_pFile | final public void testJeannieParser_pFile() throws Exception(Code) | | |
testJeannieUtil_cAstToString | final public void testJeannieUtil_cAstToString() throws Exception(Code) | | |
testJeannieUtil_cTypeToJavaType | final public void testJeannieUtil_cTypeToJavaType() throws Exception(Code) | | |
testJeannieUtil_cTypeToString | final public void testJeannieUtil_cTypeToString() throws Exception(Code) | | |
testJeannieUtil_containsCCode | final public void testJeannieUtil_containsCCode() throws Exception(Code) | | |
testJeannieUtil_javaTypeToApiType | final public void testJeannieUtil_javaTypeToApiType()(Code) | | |
testJeannieUtil_javaTypeToCType | final public void testJeannieUtil_javaTypeToCType() throws Exception(Code) | | |
testJeannieUtil_javaTypeToString | final public void testJeannieUtil_javaTypeToString()(Code) | | |
testJeannieUtil_jniMangledName | final public void testJeannieUtil_jniMangledName()(Code) | | |
|
|