commented JUnit Test
This commit is contained in:
parent
ff90eda8bd
commit
5c73963bcf
|
@ -9,7 +9,6 @@ import org.gcube.common.metadataprofilediscovery.jaxb.MetadataFormat;
|
||||||
import org.gcube.common.metadataprofilediscovery.reader.MetadataFormatDiscovery;
|
import org.gcube.common.metadataprofilediscovery.reader.MetadataFormatDiscovery;
|
||||||
import org.gcube.common.scope.api.ScopeProvider;
|
import org.gcube.common.scope.api.ScopeProvider;
|
||||||
import org.gcube.common.scope.impl.ScopeBean;
|
import org.gcube.common.scope.impl.ScopeBean;
|
||||||
import org.junit.Test;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -45,10 +44,10 @@ public class TestMetadataFormatDiscovery {
|
||||||
int i = 0;
|
int i = 0;
|
||||||
try {
|
try {
|
||||||
for (MetadataField field : format.getMetadataFields()) {
|
for (MetadataField field : format.getMetadataFields()) {
|
||||||
System.out.println(++i +") "+field);
|
System.out.println("\t"+ ++i +") "+field);
|
||||||
}
|
}
|
||||||
}catch (Exception e) {
|
}catch (Exception e) {
|
||||||
System.out.println("\t## Error occurred reading: " + metaProfile.getId() +", name: "+metaProfile.getName() +", type: "+metaProfile.getMetadataType());
|
System.err.println("\t## Error occurred reading: " + metaProfile.getId() +", name: "+metaProfile.getName() +", type: "+metaProfile.getMetadataType());
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue