Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why is max gate failing to run the junit tests (Eclipse 3.6 related)?

Eclipse failing JUnit run tests
0
Posted

Why is max gate failing to run the junit tests (Eclipse 3.6 related)?

0

If you upgrade to Eclipse 3.6 (as most of the core team has), you may find that max gate can no longer successfully run the JUnit tests. The issue is that the JUnit testing harness (in MaxineTester.java) uses some non-public API parts of junit that changed in between version 4.3.1 (bundled with Eclipse 3.5) and 4.8.1. (bundled with Eclipse 3.6). So, now the harness is compiled against 4.8.1 (by Eclipse) and run against 4.3.1 (by max gate). The gate picks up JUnit either from $JUNIT4_CP or the -junit4 command line option.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123