geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kirk Lund (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GEODE-1462) Change tests with OS conditional early-outs to use org.junit.Assume
Date Thu, 26 May 2016 23:08:12 GMT

     [ https://issues.apache.org/jira/browse/GEODE-1462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kirk Lund updated GEODE-1462:
-----------------------------
    Component/s:     (was: ts)

> Change tests with OS conditional early-outs to use org.junit.Assume
> -------------------------------------------------------------------
>
>                 Key: GEODE-1462
>                 URL: https://issues.apache.org/jira/browse/GEODE-1462
>             Project: Geode
>          Issue Type: Bug
>          Components: tests
>            Reporter: Kirk Lund
>            Priority: Minor
>
> Example:
> {noformat}
> @Test
> public void testWarning() throws Exception {
>   if (!isLinux()) {
>     return;
>   }
> {noformat}
> This should instead use:
> {noformat}
> @Test
> public void testWarning() throws Exception {
>   assumeTrue(SystemUtils.isLinux());
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message