use of org.apache.sis.feature.AbstractIdentifiedType in project sis by apache.
the class TypesTest method testResources.
/**
* Verifies that all designations and definitions can be read from the resources.
*/
private static void testResources(final DefaultFeatureType type) {
for (final AbstractIdentifiedType p : type.getProperties(false)) {
final GenericName name = p.getName();
if (!AttributeConvention.contains(name)) {
final String label = name.toString();
assertNonEmpty(label, p.getDesignation());
assertNonEmpty(label, p.getDefinition());
}
}
}
Aggregations