Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[gmf-dev] JUnits tests and -ea


Hi Team,

With regards to Bugzilla Bug 109178  org.eclipse.gmf.tests.runtime.common.core JUnits Are Failing

These JUnits depend on the "-ea" flag (enable assert) to be passed to the JRE.

For example, we have API tests for:

public void setCount(int count) {
   assert (count > 0);
   [snip]
}

Our API tests for setCount(0) thus depend on the asserts being enabled.

Hopefully you can make this change for us.

Cheers...
Anthony
--
Anthony Hunter mailto:anthonyh@xxxxxxxxxx
Manager - Software Developer,
IBM Rational Software: Aurora Core Common / Modeling Tools
Phone: 613-591-7037

Back to the top