uncommented tests
This commit is contained in:
parent
d98d07a80a
commit
bfbf0e4c65
|
@ -24,12 +24,13 @@
|
|||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
|
||||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
||||
<attributes>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
|
||||
<attributes>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
|
|
7
.project
7
.project
|
@ -15,6 +15,11 @@
|
|||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.validation.validationbuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.m2e.core.maven2Builder</name>
|
||||
<arguments>
|
||||
|
@ -22,6 +27,8 @@
|
|||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
|
||||
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
|
||||
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>org.eclipse.m2e.core.maven2Nature</nature>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<faceted-project>
|
||||
<installed facet="java" version="1.8"/>
|
||||
<installed facet="java" version="1.7"/>
|
||||
<installed facet="jst.utility" version="1.0"/>
|
||||
</faceted-project>
|
||||
|
|
21
pom.xml
21
pom.xml
|
@ -69,7 +69,7 @@
|
|||
<dependency>
|
||||
<groupId>org.gcube.core</groupId>
|
||||
<artifactId>common-scope-maps</artifactId>
|
||||
<scope>provided</scope>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<!-- END FWS -->
|
||||
|
||||
|
@ -119,13 +119,28 @@
|
|||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>${maven.compiler.source}</source>
|
||||
<target>${maven.compiler.target}</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<configuration>
|
||||
<descriptors>
|
||||
<descriptor>descriptor.xml</descriptor>
|
||||
</descriptors>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>make-servicearchive</id>
|
||||
<phase>package</phase>
|
||||
<id>servicearchive</id>
|
||||
<phase>install</phase>
|
||||
<goals>
|
||||
<goal>single</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
|
|
@ -28,11 +28,16 @@ public class TestDataCatalogueMetadataFormatReader {
|
|||
/**
|
||||
* Test.
|
||||
*/
|
||||
//@Test
|
||||
@Test
|
||||
public void test() {
|
||||
try {
|
||||
|
||||
// String scopeString = "/gcube/devsec/devVRE";
|
||||
// String grMetadataProfileSecondaryType = "DataCatalogueMetadata";
|
||||
|
||||
String scopeString = "/gcube/devsec/devVRE";
|
||||
String grMetadataProfileSecondaryType = "DataCatalogueMetadata";
|
||||
String grMetadataProfileSecondaryType = "GeoNaMetadata";
|
||||
|
||||
ScopeProvider.instance.set(scopeString);
|
||||
MetadataProfileReader reader = new MetadataProfileReader(grMetadataProfileSecondaryType);
|
||||
int i = 0;
|
||||
|
|
|
@ -15,7 +15,6 @@ import org.gcube.common.metadataprofilediscovery.jaxb.MetadataField;
|
|||
import org.gcube.common.metadataprofilediscovery.jaxb.MetadataFormat;
|
||||
import org.gcube.common.metadataprofilediscovery.jaxb.NamespaceCategories;
|
||||
import org.gcube.common.metadataprofilediscovery.jaxb.NamespaceCategory;
|
||||
import org.junit.Test;
|
||||
|
||||
/**
|
||||
* The Class TestJaxbMetadataMarshUnmarsh.
|
||||
|
|
|
@ -7,7 +7,6 @@ import org.gcube.common.metadataprofilediscovery.bean.MetadataProfile;
|
|||
import org.gcube.common.metadataprofilediscovery.reader.MetadataFormatDiscovery;
|
||||
import org.gcube.common.scope.api.ScopeProvider;
|
||||
import org.gcube.common.scope.impl.ScopeBean;
|
||||
import org.junit.Test;
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
*/
|
||||
package org.gcube.common.metadataprofilediscovery;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.InputStream;
|
||||
|
||||
import org.gcube.common.metadataprofilediscovery.jaxb.MetadataField;
|
||||
|
@ -11,7 +10,6 @@ import org.gcube.common.metadataprofilediscovery.jaxb.MetadataFormat;
|
|||
import org.gcube.common.metadataprofilediscovery.reader.MetadataFormatReader;
|
||||
import org.gcube.common.scope.api.ScopeProvider;
|
||||
import org.gcube.common.scope.impl.ScopeBean;
|
||||
import org.junit.Test;
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue