From 545e23eb3af03233bb46016aaa2e431931fd4296 Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Thu, 19 Oct 2006 20:50:55 +0000 Subject: [PATCH] o adding IT it0098 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@465871 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/resources/it0098/pom.xml | 14 ++++++++++++++ .../maven/it/it0098/QuotedCLIPropertyTest.java | 14 ++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 maven-core-integration-tests/src/test/resources/it0098/pom.xml create mode 100644 maven-core-integration-tests/src/test/resources/it0098/src/test/java/org/apache/maven/it/it0098/QuotedCLIPropertyTest.java diff --git a/maven-core-integration-tests/src/test/resources/it0098/pom.xml b/maven-core-integration-tests/src/test/resources/it0098/pom.xml new file mode 100644 index 0000000000..762fa32b0e --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0098/pom.xml @@ -0,0 +1,14 @@ + + 4.0.0 + org.apache.maven.it0098 + it0098 + Test that quoted system properties are processed correctly. [MNG-1415] + 1 + + + junit + junit + 3.8.1 + + + diff --git a/maven-core-integration-tests/src/test/resources/it0098/src/test/java/org/apache/maven/it/it0098/QuotedCLIPropertyTest.java b/maven-core-integration-tests/src/test/resources/it0098/src/test/java/org/apache/maven/it/it0098/QuotedCLIPropertyTest.java new file mode 100644 index 0000000000..60ad8899ed --- /dev/null +++ b/maven-core-integration-tests/src/test/resources/it0098/src/test/java/org/apache/maven/it/it0098/QuotedCLIPropertyTest.java @@ -0,0 +1,14 @@ +package org.apache.maven.it.it0098; + +import junit.framework.TestCase; + +public class QuotedCLIPropertyTest + extends TestCase +{ + + public void testPropertyValue() + { + assertEquals( "Test Property", System.getProperty( "test.property" ) ); + } + +}