geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [geode] 07/07: GEODE-3482: rename, add SecurityTest category, RequiresGeodeHome rule
Date Fri, 22 Sep 2017 18:13:58 GMT
This is an automated email from the ASF dual-hosted git repository.

klund pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git

commit 92a5f5a062286ec26565a925aee71b81b3858392
Author: Kirk Lund <klund@apache.org>
AuthorDate: Mon Aug 21 13:51:34 2017 -0700

    GEODE-3482: rename, add SecurityTest category, RequiresGeodeHome rule
---
 ...ationTest.java => SwaggerVerificationIntegrationTest.java} | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/geode-assembly/src/test/java/org/apache/geode/rest/internal/web/SwaggerVerificationTest.java
b/geode-assembly/src/test/java/org/apache/geode/rest/internal/web/SwaggerVerificationIntegrationTest.java
similarity index 88%
rename from geode-assembly/src/test/java/org/apache/geode/rest/internal/web/SwaggerVerificationTest.java
rename to geode-assembly/src/test/java/org/apache/geode/rest/internal/web/SwaggerVerificationIntegrationTest.java
index 559d15d..2c25dbe 100644
--- a/geode-assembly/src/test/java/org/apache/geode/rest/internal/web/SwaggerVerificationTest.java
+++ b/geode-assembly/src/test/java/org/apache/geode/rest/internal/web/SwaggerVerificationIntegrationTest.java
@@ -20,22 +20,29 @@ import static org.junit.Assert.assertThat;
 
 import org.apache.geode.internal.i18n.LocalizedStrings;
 import org.apache.geode.security.SimpleTestSecurityManager;
+import org.apache.geode.test.dunit.rules.RequiresGeodeHome;
 import org.apache.geode.test.dunit.rules.ServerStarterRule;
 import org.apache.geode.test.junit.categories.IntegrationTest;
 import org.apache.geode.test.junit.categories.RestAPITest;
+import org.apache.geode.test.junit.categories.SecurityTest;
+
 import org.apache.http.HttpResponse;
 import org.json.JSONObject;
 import org.junit.ClassRule;
+import org.junit.Rule;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
 
-@Category({IntegrationTest.class, RestAPITest.class})
-public class SwaggerVerificationTest {
+@Category({IntegrationTest.class, SecurityTest.class, RestAPITest.class})
+public class SwaggerVerificationIntegrationTest {
 
   @ClassRule
   public static ServerStarterRule serverStarter = new ServerStarterRule()
       .withSecurityManager(SimpleTestSecurityManager.class).withRestService().withAutoStart();
 
+  @Rule
+  public RequiresGeodeHome requiresGeodeHome = new RequiresGeodeHome();
+
   @Test
   public void isSwaggerRunning() throws Exception {
     GeodeRestClient restClient = new GeodeRestClient("localhost", serverStarter.getHttpPort());

-- 
To stop receiving notification emails like this one, please contact
"commits@geode.apache.org" <commits@geode.apache.org>.

Mime
View raw message