コード例 #1
0
 private static void assertDatasetTwoHasWcsAccess(CatalogBuilder catBuilder) {
   DatasetBuilder dsBldr = assertGetDatasetTwo(catBuilder);
   List<AccessBuilder> accessBldrs = dsBldr.getAccessBuilders();
   assertEquals(1, accessBldrs.size());
   AccessBuilder access = accessBldrs.get(0);
   assertWcsAccess(access);
 }
コード例 #2
0
 private static void assertDatasetOneHasOdapAccess(CatalogBuilder catBuilder) {
   DatasetBuilder dsBldr = assertGetDatasetOne(catBuilder);
   List<AccessBuilder> accessBldrs = dsBldr.getAccessBuilders();
   assertEquals(1, accessBldrs.size());
   AccessBuilder access = accessBldrs.get(0);
   assertOdapAccessToFile1(access);
 }
コード例 #3
0
 private static void assertDatasetTwoHasNoAccess(CatalogBuilder catBuilder) {
   DatasetBuilder dsBldr = assertGetDatasetTwo(catBuilder);
   assertEquals(0, dsBldr.getAccessBuilders().size());
 }