OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:gunit
(Results
1 - 25
of
256
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
/external/ceres-solver/google3/gtest/
gtest.h
5
// google3 version of
gunit
.
10
#include "testing/base/public/
gunit
.h"
/external/antlr/antlr-3.4/gunit/src/main/resources/org/antlr/gunit/swingui/
gunit.stg
1
group
gunit
;
3
gUnitFile(testSuite) ::= <<
gunit
<testSuite.grammarName>;
/external/antlr/antlr-3.4/gunit/src/test/java/org/antlr/gunit/
GunitTest.java
1
package org.antlr.
gunit
;
8
* Unit test for
gUnit
itself....
/external/antlr/antlr-3.4/gunit/
README.txt
0
gUnit
9
Welcome to
gUnit
! I've been working on
gUnit
from 2007 summer and
12
You should use the latest ANTLR v3 with
gUnit
:
18
http://www.antlr.org/wiki/display/ANTLR3/
gUnit
+-+Grammar+Unit+Testing
39
See the wiki tutorial of
gUnit
:
41
http://www.antlr.org/wiki/display/ANTLR3/
gUnit
+-+Grammar+Unit+Testing
45
What is
gUnit
?
47
gUnit
is an unit testing framework for ANTLR grammars. It provides a
53
How do I install
gUnit
[
all
...]
CHANGES.txt
0
gUnit
10
* TJP
gunit
checked tokens.index() != size instead of size()-1
23
* generated junit test code indicate lines in
gunit
script. also error
24
messages during parse time show line number from
gunit
script.
28
* Allow strings in AST descriptions (
gUnit
.g). E.g., it handle this rule
47
* support custom tree adaptor in
gUnit
script
53
* add
gunit
/swingui package for gUnitEditor GUI
72
* fixed bug: FileNotFoundException terminated
gUnit
tests due to any non-existent input test file.
pom.xml
5
<artifactId>
gunit
</artifactId>
8
<name>ANTLR
gUnit
v3.4</name>
22
<url>http://www.antlr.org/wiki/display/ANTLR3/
gUnit
+-+Grammar+Unit+Testing</url>
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/
gUnitAdapter.java
29
package org.antlr.
gunit
.swingui.runner;
35
import org.antlr.
gunit
.*;
36
import org.antlr.
gunit
.swingui.model.TestSuite;
39
* Adapter between gUnitEditor Swing GUI and
gUnit
command-line tool.
61
// Parse
gUnit
test suite file
67
parser.gUnitDef(); // parse
gunit
script and save elements to grammarInfo
NotifiedTestExecuter.java
28
package org.antlr.
gunit
.swingui.runner;
30
import org.antlr.
gunit
.*;
31
import org.antlr.
gunit
.swingui.model.*;
34
* The
gUnit
test executer that will respond to the fail/pass event during the
35
* execution. The executer is passed into
gUnit
Interp for execution.
TestSuiteAdapter.java
28
package org.antlr.
gunit
.swingui.runner;
30
import org.antlr.
gunit
.swingui.model.*;
33
* Adapter class for
gunit
parser to save information into testsuite object.
/external/antlr/antlr-3.4/gunit-maven-plugin/src/main/java/org/antlr/mojo/antlr3/
GUnitExecuteMojo.java
35
import org.antlr.
gunit
.GrammarInfo;
36
import org.antlr.
gunit
.gUnitExecutor;
37
import org.antlr.
gunit
.AbstractTest;
38
import org.antlr.
gunit
.Interp;
41
* Takes
gUnit
scripts and directly performs testing.
43
* @goal
gunit
75
* Specifies the directory containing the
gUnit
testing files.
77
* @parameter expression="${basedir}/src/test/
gunit
"
84
* should be included as
gUnit
source files.
98
* Specifies directory to which
gUnit
reports should get written
[
all
...]
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/
TestSuiteFactory.java
28
package org.antlr.
gunit
.swingui.model;
30
import org.antlr.
gunit
.swingui.parsers.ANTLRv3Lexer;
31
import org.antlr.
gunit
.swingui.parsers.ANTLRv3Parser;
32
import org.antlr.
gunit
.swingui.parsers.StGUnitLexer;
33
import org.antlr.
gunit
.swingui.parsers.StGUnitParser;
34
import org.antlr.
gunit
.swingui.runner.TestSuiteAdapter;
46
private static String TEMPLATE_FILE = "org/antlr/
gunit
/swingui/
gunit
.stg";
48
public static final String TEST_SUITE_EXT = ".
gunit
";
115
/* Save testsuite to *.
gunit
file. *
[
all
...]
TestSuite.java
28
package org.antlr.
gunit
.swingui.model;
47
/* Get the
gUnit
test suite file name. */
ITestCaseInput.java
28
package org.antlr.
gunit
.swingui.model;
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
ITestSuite.java
28
package org.antlr.
gunit
;
31
* A
gUnit
script file is an Antlr "test suite". The interface is defined to
32
* allow the Swing GUI test runner be notified when
gUnit
interpreter runner
Interp.java
28
package org.antlr.
gunit
;
34
/** The main
gUnit
interpreter entry point.
35
* Read a
gUnit
script, run unit tests or generate a junit file.
95
else gunitFile = args[i]; // Must be the
gunit
file
105
parser.gUnitDef(); // parse
gunit
script and save elements to grammarInfo
ITestCase.java
28
package org.antlr.
gunit
;
31
* ITestCase object locates one test case in a
gUnit
script by specifying the
InvalidInputException.java
28
package org.antlr.
gunit
;
/external/antlr/antlr-3.4/gunit/src/main/resources/org/antlr/gunit/
junit.stg
34
import org.antlr.
gunit
.gUnitBaseTest;
49
//
gunit
test on line <test.line>
60
//
gunit
test on line <test.line>
69
//
gunit
test on line <test.line>
80
//
gunit
test on line <test.line>
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
RuleListController.java
29
package org.antlr.
gunit
.swingui;
32
import org.antlr.
gunit
.swingui.model.Rule;
33
import org.antlr.
gunit
.swingui.ImageFactory;
49
import org.antlr.
gunit
.swingui.model.TestSuite;
AbstractInputEditor.java
29
package org.antlr.
gunit
.swingui;
31
import org.antlr.
gunit
.swingui.model.ITestCaseInput;
WorkSpaceController.java
29
package org.antlr.
gunit
.swingui;
33
import org.antlr.
gunit
.swingui.runner.gUnitAdapter;
36
import org.antlr.
gunit
.swingui.model.*;
37
import org.antlr.
gunit
.swingui.ImageFactory;
125
jfc.setDialogTitle("Open existing
gUnit
test suite");
136
return "ANTLR unit test file (*.
gunit
)";
ImageFactory.java
1
package org.antlr.
gunit
.swingui;
59
private static final String IMG_DIR = "org/antlr/
gunit
/swingui/images/";
IController.java
28
package org.antlr.
gunit
.swingui;
/external/chromium_org/third_party/libjingle/source/talk/base/
macwindowpicker_unittest.cc
4
#include "talk/base/
gunit
.h"
/external/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/swingui/parsers/
StGUnit.g
41
package org.antlr.
gunit
.swingui.parsers;
42
import org.antlr.
gunit
.swingui.model.*;
43
import org.antlr.
gunit
.swingui.runner.*;
46
@lexer::header {package org.antlr.
gunit
.swingui.parsers;}
53
: '
gunit
' name=id {adapter.setGrammarName($name.text);}
Completed in 299 milliseconds
1
2
3
4
5
6
7
8
9
10
11