Return-Path: X-Original-To: apmail-maven-commits-archive@www.apache.org Delivered-To: apmail-maven-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 402431767C for ; Fri, 7 Nov 2014 21:17:13 +0000 (UTC) Received: (qmail 76967 invoked by uid 500); 7 Nov 2014 21:17:13 -0000 Delivered-To: apmail-maven-commits-archive@maven.apache.org Received: (qmail 76904 invoked by uid 500); 7 Nov 2014 21:17:13 -0000 Mailing-List: contact commits-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list commits@maven.apache.org Received: (qmail 76895 invoked by uid 99); 7 Nov 2014 21:17:13 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Nov 2014 21:17:13 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id CA6FA99DAD4; Fri, 7 Nov 2014 21:17:12 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: tibordigana@apache.org To: commits@maven.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: maven-surefire git commit: refactor package of IT test EnvironmentVariablesIT in surefire Date: Fri, 7 Nov 2014 21:17:12 +0000 (UTC) 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 Authored: Fri Nov 7 22:15:56 2014 +0100 Committer: tibordigana 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