eclipse-modisco / org.eclipse.modisco

Eclipse Public License 2.0
0 stars 0 forks source link

org.eclipse.modisco.jee.webapp.discoverer.tests tests fail when built with Maven #1072

Closed eclipse-modisco-bot closed 2 days ago

eclipse-modisco-bot commented 2 days ago

| --- | --- | | Bugzilla Link | 582734 | | Status | RESOLVED WORKSFORME | | Importance | P3 normal | | Reported | Dec 13, 2023 12:20 EDT | | Modified | Feb 26, 2024 04:26 EDT | | Reporter | Steve Brown |

Description

When the org.eclipse.modisco.jee.webapp.discoverer.tests project is built with Maven, the test fixtures are referenced as " initial@reference:resources/TestCommentedDocType.xml", not "reference:file:". This causes the regular expression not to match, e.g. at org.eclipse.modisco.jee.webapp.discoverer.tests.TestCommentedDocType.initResource(TestCommentedDocType.java:49)

The same thing happens in the org.eclipse.modisco.jee.ejbjar.discoverer.tests project.

eclipse-modisco-bot commented 2 days ago

By Ed Willink on Dec 13, 2023 12:29

I'm not sure what you mean by built with maven.

If you mean using maven-surefire rather than tycho-surefire, then I'm surprised you get so far. I think a much earlier workspace closed bug should fail.

The detailed name inconsistencies are very familiar. For OCL I found the only way to get consistent file names for each of:

See org.eclipse.ocl.examples.xtext.tests.TestFileSystem and friends.

eclipse-modisco-bot commented 2 days ago

By Ed Willink on Feb 26, 2024 04:26

In the absence of further comment, must assume that comment#1 was helpful.