예제 #1
0
 @Override
 @Before
 public void setUp() {
   Account account = new AliyunAccount(ACCESS_ID, ACCESS_KEY);
   odps = new Odps(account);
   odps.setDefaultProject(PROJECT);
   odps.setEndpoint(ENDPOINT);
   super.setUp();
 }
예제 #2
0
  @Before
  public void setUp() {
    // start the server
    super.setUp();

    if (useHsqldbTestServer()) {
      // throw away any existing data that might be in the database.
      try {
        this.getTestServer().dropExistingSchema();
      } catch (SQLException sqlE) {
        fail(sqlE.toString());
      }
    }
  }