コード例 #1
0
  @Override
  public void testAddService() throws Exception {
    super.testAddService();

    // ensure s.getGeoServer() != null
    ServiceInfo s = geoServer.getServiceByName("foo", ServiceInfo.class);
    assertNotNull(s.getGeoServer());
  }
コード例 #2
0
  @Override
  public void setUp() throws Exception {
    testSupport = new JDBCConfigTestSupport();
    testSupport.setUp();

    ConfigDatabase configDb = testSupport.getDatabase();
    facade = new JDBCGeoServerFacade(configDb);

    super.setUp();
  }