summaryrefslogtreecommitdiffstats
path: root/sandbox/slaws/backward-compatibility/contribution-processor/src/test/java/org/apache/tuscany/sca/bc/ConributionProcessorTestCase.java
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-05-15 09:25:11 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-05-15 09:25:11 +0000
commitf5866ded5a66625c8e95d5582e1f9e93e406a4d1 (patch)
tree27250c359f53370b0813980b9113e0c39f5c207b /sandbox/slaws/backward-compatibility/contribution-processor/src/test/java/org/apache/tuscany/sca/bc/ConributionProcessorTestCase.java
parentb51d6788a6cca0b0cf63ab650cae6712a2c821ba (diff)
A processor that just reads contributions and processes deployable composites through to the build stage. For testing backward compatibility in lieu of the domain manager
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@775063 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/slaws/backward-compatibility/contribution-processor/src/test/java/org/apache/tuscany/sca/bc/ConributionProcessorTestCase.java')
-rw-r--r--sandbox/slaws/backward-compatibility/contribution-processor/src/test/java/org/apache/tuscany/sca/bc/ConributionProcessorTestCase.java42
1 files changed, 42 insertions, 0 deletions
diff --git a/sandbox/slaws/backward-compatibility/contribution-processor/src/test/java/org/apache/tuscany/sca/bc/ConributionProcessorTestCase.java b/sandbox/slaws/backward-compatibility/contribution-processor/src/test/java/org/apache/tuscany/sca/bc/ConributionProcessorTestCase.java
new file mode 100644
index 0000000000..0a06f4bcd7
--- /dev/null
+++ b/sandbox/slaws/backward-compatibility/contribution-processor/src/test/java/org/apache/tuscany/sca/bc/ConributionProcessorTestCase.java
@@ -0,0 +1,42 @@
+/*
+ * 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.
+ */
+
+package org.apache.tuscany.sca.bc;
+
+
+import java.io.File;
+
+import org.apache.tuscany.sca.node.Contribution;
+import org.junit.Test;
+
+/**
+ * Test case for NodeImpl
+ */
+public class ConributionProcessorTestCase {
+
+ @Test
+ public void testContributionProcessor() {
+ Contribution contribution = new Contribution("c1", new File("../references/target/classes").toURI().toString());
+ Contribution[] contributions = new Contribution[]{contribution};
+
+ ContributionProcessorImpl cp = new ContributionProcessorImpl(contributions);
+
+ }
+
+}