context-enumeration/src/test/java/org/gcube/context/names/TestContextList.java

25 lines
485 B
Java

package org.gcube.context.names;
import java.io.File;
import org.junit.Test;
public class TestContextList {
@Test
public void test() throws Exception {
File src = new File("src");
File test = new File(src, "test");
File resources = new File(test, "resources");
File voFile = new File(resources, "scopedata.xml");
File outputFile = new File(resources, "output.txt");
ContextList contextList = new ContextList(outputFile);
contextList.all(voFile);
}
}