karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject [2/4] git commit: Adapted test to changes in model.
Date Mon, 20 Jan 2014 16:14:09 GMT
Adapted test to changes in model.


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

Branch: refs/heads/master
Commit: a3d3a8368e1a4e44ddac76821e000c8d775b64cd
Parents: a808519
Author: Achim Finke <achim.finke@opitz-consulting.com>
Authored: Mon Jan 20 16:40:30 2014 +0100
Committer: Achim Finke <achim.finke@opitz-consulting.com>
Committed: Mon Jan 20 16:40:30 2014 +0100

----------------------------------------------------------------------
 .../karaf/tooling/features/FeatureMetaDataExporterTest.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/a3d3a836/tooling/karaf-maven-plugin/src/test/java/org/apache/karaf/tooling/features/FeatureMetaDataExporterTest.java
----------------------------------------------------------------------
diff --git a/tooling/karaf-maven-plugin/src/test/java/org/apache/karaf/tooling/features/FeatureMetaDataExporterTest.java
b/tooling/karaf-maven-plugin/src/test/java/org/apache/karaf/tooling/features/FeatureMetaDataExporterTest.java
index 968eee8..c356dd1 100644
--- a/tooling/karaf-maven-plugin/src/test/java/org/apache/karaf/tooling/features/FeatureMetaDataExporterTest.java
+++ b/tooling/karaf-maven-plugin/src/test/java/org/apache/karaf/tooling/features/FeatureMetaDataExporterTest.java
@@ -6,8 +6,8 @@ import java.io.ByteArrayOutputStream;
 
 import javax.xml.stream.XMLStreamException;
 
+import org.apache.karaf.tooling.features.model.ArtifactRef;
 import org.apache.karaf.tooling.features.model.BundleRef;
-import org.apache.karaf.tooling.features.model.ConfigFileRef;
 import org.apache.karaf.tooling.features.model.Feature;
 import org.apache.maven.artifact.Artifact;
 import org.apache.maven.artifact.DefaultArtifact;
@@ -27,7 +27,7 @@ public class FeatureMetaDataExporterTest {
                                                       new DefaultArtifactHandler());
         bundle.setArtifact(bundleArtifact);
 
-        ConfigFileRef configFile = new ConfigFileRef("mvn:org.apache.example/example/1.0.0/cfg");
+        ArtifactRef configFile = new ArtifactRef("mvn:org.apache.example/example/1.0.0/cfg");
         Artifact configFileArtifact = new DefaultArtifact("org.apache.example", "example",
"1.0.0",
                                                           null, "xml", "exampleconfig",
                                                           new DefaultArtifactHandler());


Mime
View raw message