Commit Graph

3292 Commits

Author SHA1 Message Date
parrt 1cd4ad125c add import for BaseTest so tool tests compile. it all appears to compile and tool tests pass. 2015-06-29 18:09:33 -07:00
parrt e1c22147f8 Ooops. do the same update for ErrorQueue, which also moved location. 2015-06-29 18:09:32 -07:00
parrt 66ccef187e update test gen templates and the generated templates themselves to use the new location for BaseTest. 2015-06-29 18:09:32 -07:00
parrt 0430833450 move ErrorQueue, used by BaseTest, to the runtime test area. 2015-06-29 18:09:32 -07:00
parrt 8ae7f22f86 move BaseTest to be in the runtime test area to be consistent with other targets. 2015-06-29 18:09:32 -07:00
parrt fdcfe5482f mv tool tests into their own top level directory; mv test template support .stg into the runtime-testsuite area 2015-06-29 18:09:32 -07:00
parrt 5ea597098a Merge branch 'master' of github.com:antlr/antlr4 2015-06-29 16:55:18 -07:00
parrt 905314e514 add NotNull back to runtime but just for backward compatibility with 4.5; deprecated 2015-06-29 16:54:48 -07:00
Terence Parr 8d92173522 Merge pull request #941 from jvanzyl/master
Adding myself as a contributor
2015-06-29 11:29:18 -07:00
Jason van Zyl 8824e35a1f Adding myself as a contributor 2015-06-29 14:28:18 -04:00
Terence Parr e3eaeeb542 Merge pull request #939 from parrt/fix-test-gen-order
Fix test gen order
2015-06-24 16:38:19 -07:00
parrt 9170f57aff tweak TestGenerator so it sorts test names so order is always same in TestX.java files. 2015-06-24 16:36:40 -07:00
parrt fcd8a67965 don't allow recursive subdirs of tests 2015-06-24 12:54:02 -07:00
parrt 77e7d9ac4a set new gen dir for tests runtime-testsuite/test/org/antlr/v4/test/runtime/python2 etc... 2015-06-24 12:31:46 -07:00
Terence Parr a0fbded125 Merge pull request #937 from jvanzyl/master
Integrating tests for all supported targets
2015-06-24 12:14:09 -07:00
Jason van Zyl 46202d98a2 Integrating tests for all supported targets
- A profile "rts" has been created which runs the integration tests. By default the the project containing the runtimes tests will not run so that users casually checking out and building the project do not have to install the tools required to test all the supported Antlr targets.

- The base test classes that are required for running the integration tests are downloaded from the other Antlr repos, dynamically added to the compile classpath and used by the currently checked in integration tests

To run the the full build with all the integration tests use the following:

mvn clean install -Prts
2015-06-24 13:45:40 -04:00
Terence Parr 6439b40d09 Merge pull request #928 from antlr/delete-legacy-tests
delete legacy test generator and generated tests
2015-06-23 10:21:45 -07:00
Terence Parr 0e2e135771 tweak bild 2015-06-22 17:58:53 -07:00
Terence Parr 02d5ddfbff tweak travis 2015-06-22 17:25:42 -07:00
Terence Parr 317ce86583 add dependency on tool for tests 2015-06-22 17:19:54 -07:00
Terence Parr 5bb9976ea5 gen tests in new location 2015-06-22 17:18:15 -07:00
Terence Parr 015d3b2bb4 add travis ci file 2015-06-22 17:13:20 -07:00
parrt 9c57b650c1 add unit test src for now; it is altogether from all targets 2015-06-22 13:24:50 -07:00
parrt a95666e710 add/update warning comment 2015-06-22 13:07:49 -07:00
ericvergnaud b09119e426 fix failing tests generation
those 4 tests used \r as input although \r has no impact on what is
being tested. Replaced or removed \r so tests can be generated and ran.
2015-06-22 12:34:19 -07:00
ericvergnaud fe13b23628 fix failing test generation
failed in Python because « type » is reserved
2015-06-22 12:15:11 -07:00
ericvergnaud 707dbb9f8f fix failing test generation
wrong rule was called
2015-06-22 12:13:56 -07:00
Terence Parr 5c52288845 use template name that indicates what we're testing here. AssertIsList(v). 2015-06-22 11:03:22 -07:00
Terence Parr 0330cee319 Use separate actions to get actions on line by themselves. 2015-06-22 10:58:17 -07:00
Terence Parr 162c6138a5 rm unused template 2015-06-20 12:21:51 -07:00
Terence Parr 82d0cbc3f6 add missing template 2015-06-20 11:59:44 -07:00
Terence Parr 7f22155900 Tweak package for Python support code. 2015-06-20 11:25:03 -07:00
ericvergnaud 06730fcc6c delete legacy test generator and generated tests 2015-06-21 01:11:11 +08:00
Terence Parr 0f1516b798 Add missing copyright notices. Improve comments. Construct new temporary parsers of the same class as the original parser. a rename. 2015-06-19 13:41:31 -07:00
Terence Parr 8059431475 Merge pull request #923 from sharwell/rm-iml
Remove the three remaining .iml files
2015-06-19 13:01:20 -07:00
Sam Harwell 560b2b428e Remove the three remaining .iml files 2015-06-19 14:59:39 -05:00
Terence Parr c91ce731d2 improve gitignore 2015-06-19 12:28:05 -07:00
Terence Parr 4115a0ad47 Merge pull request #913 from sharwell/fix-909
Move TestPerformance.testExpressionGrammar to the runtime test suite
2015-06-19 12:11:12 -07:00
Terence Parr e8c6b32283 Merge pull request #921 from jvanzyl/master
Use variable for project version
2015-06-19 11:25:53 -07:00
Jason van Zyl cfc10cef11 Use variable for project version
Thanks to @sharwell for catching this.
2015-06-19 14:24:50 -04:00
Terence Parr f661f41071 Merge branch 'jvanzyl-master' 2015-06-19 11:21:17 -07:00
Jason van Zyl 8beec18283 Add Maven build
Account for the following:
- deploying snapshots to OSSRH
- releasing to Maven Central
- Shaded JAR including the treelayout dependency
- OSGi manifest
- remove Eclipse IDE metadata for clean import
- remove IDEA IDE metadata for clean import
2015-06-19 11:13:24 -07:00
Terence Parr 2267559550 yet more ide .xml changes 2015-06-19 11:10:42 -07:00
Terence Parr 74fbf38ce7 make Predicate consistent with java 8 2015-06-19 11:06:06 -07:00
parrt 55a33fb45d add missing 2015-06-19 08:46:11 -07:00
Terence Parr e9d62bb231 Merge pull request #918 from parrt/add-heavy-interp-tests-and-support
add tests, refactor get-all-parse-tree stuff. add Trees support routines
2015-06-18 17:27:11 -07:00
parrt a9ca2efae5 add tests, refactor get-all-parse-tree stuff. add Trees support routines. 2015-06-18 17:25:51 -07:00
parrt e0c6210d22 added a comment and removed redundant array creation from varargs. 2015-06-18 13:40:48 -07:00
parrt b742bbdaf4 Merge branch 'master' of github.com:antlr/antlr4 2015-06-18 13:35:53 -07:00
Terence Parr 35794c431c Merge pull request #917 from antlr/enable-one-shot-tests-generation
added -root parameter to generate all targets
2015-06-18 13:34:38 -07:00