Code Review
/
aai
/
champ.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Port champ-microservice project restructure
[aai/champ.git]
/
champ-lib
/
champ-core
/
src
/
test
/
java
/
org
/
onap
/
aai
/
champcore
/
ie
/
ExportTest.java
diff --git
a/src/test/java/org/onap/aai/champ/ie/ExportTest.java
b/champ-lib/champ-core/src/test/java/org/onap/aai/champcore/ie/ExportTest.java
similarity index 85%
rename from
src/test/java/org/onap/aai/champ/ie/ExportTest.java
rename to
champ-lib/champ-core/src/test/java/org/onap/aai/champcore/ie/ExportTest.java
index
80142b2
..
bda6122
100644
(file)
--- a/
src/test/java/org/onap/aai/champ/ie/ExportTest.java
+++ b/
champ-lib/champ-core/src/test/java/org/onap/aai/champcore/ie/ExportTest.java
@@
-19,12
+19,10
@@
* ============LICENSE_END============================================
* ECOMP is a trademark and service mark of AT&T Intellectual Property.
*/
* ============LICENSE_END============================================
* ECOMP is a trademark and service mark of AT&T Intellectual Property.
*/
-package org.onap.aai.champ.ie;
+package org.onap.aai.champ
core
.ie;
import org.junit.Test;
import org.junit.Test;
-import org.onap.aai.champ.ChampAPI;
-import org.onap.aai.champ.ChampGraph;
-import org.onap.aai.champ.ie.GraphMLImporterExporter;
+import org.onap.aai.champcore.ChampAPI;
public class ExportTest {
public class ExportTest {
@@
-32,7
+30,7
@@
public class ExportTest {
public void testGraphMLExport() {
final GraphMLImporterExporter ie = new GraphMLImporterExporter();
public void testGraphMLExport() {
final GraphMLImporterExporter ie = new GraphMLImporterExporter();
- final ChampAPI api = ChampAPI.Factory.newInstance(
ChampGraph.Type.IN_MEMORY
);
+ final ChampAPI api = ChampAPI.Factory.newInstance(
"IN_MEMORY"
);
ie.importData(api, getClass().getClassLoader().getResourceAsStream("import-test.graphml"));
ie.importData(api, getClass().getClassLoader().getResourceAsStream("import-test.graphml"));