maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tibordig...@apache.org
Subject maven-surefire git commit: refactor package of IT test EnvironmentVariablesIT in surefire
Date Fri, 07 Nov 2014 21:17:12 GMT
Repository: maven-surefire
Updated Branches:
  refs/heads/master 5e45b6929 -> c97303b78


refactor package of IT test EnvironmentVariablesIT in surefire


Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/c97303b7
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/c97303b7
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/c97303b7

Branch: refs/heads/master
Commit: c97303b78a4f685c661c7e35d94ddc6ca7becc37
Parents: 5e45b69
Author: tibordigana <tibor17@lycos.com>
Authored: Fri Nov 7 22:15:56 2014 +0100
Committer: tibordigana <tibor17@lycos.com>
Committed: Fri Nov 7 22:15:56 2014 +0100

----------------------------------------------------------------------
 .../maven/surefire/EnvironmentVariablesIT.java  | 47 --------------------
 .../surefire/its/EnvironmentVariablesIT.java    | 47 ++++++++++++++++++++
 2 files changed, 47 insertions(+), 47 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/c97303b7/surefire-integration-tests/src/test/java/org/apache/maven/surefire/EnvironmentVariablesIT.java
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/java/org/apache/maven/surefire/EnvironmentVariablesIT.java
b/surefire-integration-tests/src/test/java/org/apache/maven/surefire/EnvironmentVariablesIT.java
deleted file mode 100644
index a8a346b..0000000
--- a/surefire-integration-tests/src/test/java/org/apache/maven/surefire/EnvironmentVariablesIT.java
+++ /dev/null
@@ -1,47 +0,0 @@
-package org.apache.maven.surefire;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import org.apache.maven.surefire.its.fixture.SurefireJUnit4IntegrationTestCase;
-import org.junit.Test;
-
-/**
- * SUREFIRE-763 Asserts that environment variables are correctly populated using "useSystemClassLoader=false"
- * SUREFIRE-963 Asserts that empty environment variables are read as "".
- * 
- * @author Kristian Rosenvold
- * @author Christophe Deneux
- */
-public class EnvironmentVariablesIT
-    extends SurefireJUnit4IntegrationTestCase
-{
-    @Test
-    public void testWhenUseSystemClassLoader()
-    {
-        unpack( "/environment-variables" ).addGoal( "-DuseSystemClassLoader=true" ).executeTest();
-    }
-
-    @Test
-    public void testWhenDontUseSystemClassLoader()
-    {
-        unpack( "/environment-variables" ).addGoal( "-DuseSystemClassLoader=false" ).executeTest();
-    }
-
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/c97303b7/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/EnvironmentVariablesIT.java
----------------------------------------------------------------------
diff --git a/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/EnvironmentVariablesIT.java
b/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/EnvironmentVariablesIT.java
new file mode 100644
index 0000000..651200f
--- /dev/null
+++ b/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/EnvironmentVariablesIT.java
@@ -0,0 +1,47 @@
+package org.apache.maven.surefire.its;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import org.apache.maven.surefire.its.fixture.SurefireJUnit4IntegrationTestCase;
+import org.junit.Test;
+
+/**
+ * SUREFIRE-763 Asserts that environment variables are correctly populated using "useSystemClassLoader=false"
+ * SUREFIRE-963 Asserts that empty environment variables are read as "".
+ * 
+ * @author Kristian Rosenvold
+ * @author Christophe Deneux
+ */
+public class EnvironmentVariablesIT
+    extends SurefireJUnit4IntegrationTestCase
+{
+    @Test
+    public void testWhenUseSystemClassLoader()
+    {
+        unpack( "/environment-variables" ).addGoal( "-DuseSystemClassLoader=true" ).executeTest();
+    }
+
+    @Test
+    public void testWhenDontUseSystemClassLoader()
+    {
+        unpack( "/environment-variables" ).addGoal( "-DuseSystemClassLoader=false" ).executeTest();
+    }
+
+}
\ No newline at end of file


Mime
View raw message