[
https://issues.jboss.org/browse/FORGE-1677?page=com.atlassian.jira.plugin...
]
George Gastaldi closed FORGE-1677.
----------------------------------
Assignee: George Gastaldi
Fix Version/s: 2.2.1.Final
(was: 2.x Future)
Resolution: Done
ForgeTestMethodExecutor does not handle AssumptionViolatedException
-------------------------------------------------------------------
Key: FORGE-1677
URL:
https://issues.jboss.org/browse/FORGE-1677
Project: Forge
Issue Type: Bug
Components: Test Harness
Affects Versions: 2.2.0.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 2.2.1.Final
{{org.junit.internal.AssumptionViolatedException}} is thrown when
{{org.junit.Assume.assumeXXX}} methods are called. The following test skips
AssumptionViolatedExceptions when run in Eclipse:
{code:java}
public class MyClassTest
{
@Test
public void test()
{
Assume.assumeTrue(false);
}
}
{code}
Assumptions are needed to check if a test should be skipped or not.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira