[forge-issues] [JBoss JIRA] (FORGE-1677) ForgeTestMethodExecutor does not handle AssumptionViolatedException
George Gastaldi (JIRA)
issues at jboss.org
Mon Mar 17 18:10:10 EDT 2014
[ https://issues.jboss.org/browse/FORGE-1677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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
More information about the forge-issues
mailing list