eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[releng] Backtracking parser is not tested #494

Closed eclipse-ocl-bot closed 1 hour ago

eclipse-ocl-bot commented 1 hour ago

| --- | --- | | Bugzilla Link | 298634 | | Status | CLOSED FIXED | | Importance | P3 normal | | Reported | Dec 30, 2009 03:40 EDT | | Modified | May 22, 2013 14:15 EDT | | Depends on | 242153 | | Blocks | 318368 | | Reporter | Ed Willink |

Description

Only the deterministic parser is curently exercised.

eclipse-ocl-bot commented 1 hour ago

By Ed Willink on Dec 30, 2009 06:00

Created attachment 155128 Backtracking on UML too, and invokable from build test

Attached migrates the Ecore ParserBacktrackingTests to generic so that they can be used on the UML-binding too.

Attached adds AllTestsBacktracking suites and uses them in the launch configrations.

I suggest that the main build tests be changed from

Ecore-Deterministic UML-Deterministic

to at least

Ecore-Deterministic UML-Backtracking

though we could run all four combinations.

:notepad_spiral: Bug298634.patch

eclipse-ocl-bot commented 1 hour ago

By Adolfo Sanchez-Barbudo Herrera on Jan 04, 2010 10:57

Ed,

This is fine to me. I would run the four combinations.

Cheers,\ Adolfo.

eclipse-ocl-bot commented 1 hour ago

By Alexander Igdalov on Jan 04, 2010 11:04

(In reply to comment #2)

Ed,

This is fine to me. I would run the four combinations.

Cheers, Adolfo.

+1 to 4 combinations

eclipse-ocl-bot commented 1 hour ago

By Ed Willink on Jan 05, 2010 04:22

Running two variations of the same test is not easy.

I tried modifying AllTests to have an extra hierarchy depth; one for deterministic and one for backtracking. This runs the test with 1000+ passes but the JUnit GUI only shows status on 500+ results.

testing.properties support multiple tests plugins but seemingly only one test class per plug-in; more requires a custom test.xml.

So I've changed the UML test to use backtracking.

Changes committed to CVS. AbstractTestSuite.suite signature additionally changed to use, rather than create, the suite so that it can contribute to hierarchy. This allows the backtracking-specific tests to be in AbstractTestSuite.suiteBacktracking avoiding one of the system property tests. We should perhaps add a backtracking flag to all tests so that the system property is redundant.

This Bug remains open pending development of a test.xml that invokes both test classes. Any volunteers?

eclipse-ocl-bot commented 1 hour ago

By Adolfo Sanchez-Barbudo Herrera on Oct 26, 2010 16:36

Assgining to myself.

Backtracking parser tests are now running in the new buckminster based hudson's job.

I leave this bug opened since now I need to solve the plugin tests, which are not running in said job at all.

eclipse-ocl-bot commented 1 hour ago

By Adolfo Sanchez-Barbudo Herrera on Dec 01, 2010 13:17

Now, plugin-based tests are also successfully run.

Fixed.

eclipse-ocl-bot commented 1 hour ago

By Ed Willink on May 27, 2011 02:27

Closing.

eclipse-ocl-bot commented 1 hour ago

By Ed Willink on May 27, 2011 06:41

Resolved for Indigo is 3.1.0 not 3.2.0.