incubator-nmaven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ewor...@apache.org
Subject svn commit: r619771 - in /incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource: ./ A/ A/pom.xml A/test/ A/test/A.cs B/ B/pom.xml B/test/ B/test/B.cs
Date Fri, 08 Feb 2008 05:23:29 GMT
Author: eworley
Date: Thu Feb  7 21:23:22 2008
New Revision: 619771

URL: http://svn.apache.org/viewvc?rev=619771&view=rev
Log:
Adding IT0020, which tests having a test scoped dependency on another module.  This is not
currently working.

Added:
    incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/
    incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/A/
    incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/A/pom.xml
    incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/A/test/
    incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/A/test/A.cs
    incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/B/
    incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/B/pom.xml
    incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/B/test/
    incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/B/test/B.cs

Added: incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/A/pom.xml
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/A/pom.xml?rev=619771&view=auto
==============================================================================
--- incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/A/pom.xml
(added)
+++ incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/A/pom.xml
Thu Feb  7 21:23:22 2008
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>NMaven.Its</groupId>
+  <artifactId>NMaven.It.It0020A</artifactId>
+  <packaging>dotnet:library</packaging>
+  <version>1.0.0</version>
+  <name>NMaven.It.It0020A</name>
+
+  <build>
+    <sourceDirectory>src</sourceDirectory>
+    <testSourceDirectory>test</testSourceDirectory>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.dotnet.plugins</groupId>
+        <artifactId>maven-dotnet-compiler-plugin</artifactId>
+        <extensions>true</extensions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.dotnet.plugins</groupId>
+        <artifactId>maven-dotnet-test-plugin</artifactId>
+        <configuration>
+            <arguments>
+                <param>/nologo</param>
+                <param>/labels</param>
+            </arguments>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.maven.dotnet</groupId>
+      <artifactId>NUnit.Framework</artifactId>
+      <version>2.4.6-incubating-SNAPSHOT</version>
+      <type>dotnet:library</type>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>NMaven.Its</groupId>
+      <artifactId>NMaven.It.It0020B</artifactId>
+      <scope>test</scope>
+      <version>1.0.0</version>
+      <type>dotnet:library</type>
+    </dependency>
+  </dependencies>
+
+  <repositories>
+    <repository>
+      <id>m2-snapshot</id>
+      <name>Maven2 Snapshot Repository</name>
+      <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+    </repository>
+  </repositories>
+</project>

Added: incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/A/test/A.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/A/test/A.cs?rev=619771&view=auto
==============================================================================
--- incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/A/test/A.cs
(added)
+++ incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/A/test/A.cs
Thu Feb  7 21:23:22 2008
@@ -0,0 +1,13 @@
+using System;
+using NUnit.Framework;
+
+namespace NMaven.IT {
+
+    [TestFixture]
+	public class A {
+		[Test] 
+		public void testUsingB() {
+                    B b = new B();
+		}
+	}
+}

Added: incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/B/pom.xml
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/B/pom.xml?rev=619771&view=auto
==============================================================================
--- incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/B/pom.xml
(added)
+++ incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/B/pom.xml
Thu Feb  7 21:23:22 2008
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>NMaven.Its</groupId>
+  <artifactId>NMaven.It.It0020B</artifactId>
+  <packaging>dotnet:library</packaging>
+  <version>1.0.0</version>
+  <name>NMaven.It.It0020B</name>
+
+  <build>
+    <sourceDirectory>src</sourceDirectory>
+    <testSourceDirectory>test</testSourceDirectory>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.dotnet.plugins</groupId>
+        <artifactId>maven-dotnet-compiler-plugin</artifactId>
+        <extensions>true</extensions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.dotnet.plugins</groupId>
+        <artifactId>maven-dotnet-test-plugin</artifactId>
+        <configuration>
+            <arguments>
+                <param>/nologo</param>
+                <param>/labels</param>
+            </arguments>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.maven.dotnet</groupId>
+      <artifactId>NUnit.Framework</artifactId>
+      <version>2.4.6-incubating-SNAPSHOT</version>
+      <type>dotnet:library</type>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <repositories>
+    <repository>
+      <id>m2-snapshot</id>
+      <name>Maven2 Snapshot Repository</name>
+      <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+    </repository>
+  </repositories>
+</project>

Added: incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/B/test/B.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/B/test/B.cs?rev=619771&view=auto
==============================================================================
--- incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/B/test/B.cs
(added)
+++ incubator/nmaven/trunk/core-integration-tests/src/test/resources/MavenITmng-0020-ShareTestSource/B/test/B.cs
Thu Feb  7 21:23:22 2008
@@ -0,0 +1,13 @@
+using System;
+using NUnit.Framework;
+
+namespace NMaven.IT {
+
+    [TestFixture]
+	public class B {
+		[Test] 
+		public void testSimple1() {
+		    Assertion.AssertEquals(1, 1);
+		}
+	}
+}



Mime
View raw message