Package org.antlr.gunit.swingui.runner

## Class TestSuiteAdapter

- java.lang.Object
- - org.antlr.gunit.swingui.runner.TestSuiteAdapter

    public class TestSuiteAdapter
    extends java.lang.Object

Adapter class for gunit parser to save information into testsuite object.

Author:
  Shaoting

### Constructor Summary

Constructors
`TestSuiteAdapter​(TestSuite testSuite)`

### Method Summary

All Methods Static Methods Instance Methods Concrete Methods
`void` `addTestCase​(ITestCaseInput in, ITestCaseOutput out)`
`static ITestCaseOutput` `createAstOutput​(java.lang.String ast)`
`static ITestCaseOutput` `createBoolOutput​(boolean bool)`
`static ITestCaseInput` `createFileInput​(java.lang.String fileName)`
`static ITestCaseInput` `createMultiInput​(java.lang.String text)`
`static ITestCaseOutput` `createReturnOutput​(java.lang.String text)`
`static ITestCaseOutput` `createStdOutput​(java.lang.String text)`
`static ITestCaseInput` `createStringInput​(java.lang.String line)`
`void` `endRule​()`
`void` `setGrammarName​(java.lang.String name)`
`void` `startRule​(java.lang.String name)`

### Methods inherited from class java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### Constructor Detail

#### TestSuiteAdapter

    public TestSuiteAdapter​(TestSuite testSuite)

### Method Detail

#### setGrammarName

    public void setGrammarName​(java.lang.String name)

#### startRule

    public void startRule​(java.lang.String name)

#### endRule

    public void endRule​()

#### addTestCase

    public void addTestCase​(ITestCaseInput in,
                            ITestCaseOutput out)

#### createFileInput

    public static ITestCaseInput createFileInput​(java.lang.String fileName)

#### createStringInput

    public static ITestCaseInput createStringInput​(java.lang.String line)

#### createMultiInput

    public static ITestCaseInput createMultiInput​(java.lang.String text)

#### createBoolOutput

    public static ITestCaseOutput createBoolOutput​(boolean bool)

#### createAstOutput

    public static ITestCaseOutput createAstOutput​(java.lang.String ast)

#### createStdOutput

    public static ITestCaseOutput createStdOutput​(java.lang.String text)

#### createReturnOutput

    public static ITestCaseOutput createReturnOutput​(java.lang.String text)