@Override
  protected void tearDown() throws Exception {

    Log.i("Accelerometer data: ", data.size() * 4 * 3 + " Bytes");

    super.tearDown();
  }
  @Override
  protected void setUp() throws Exception {
    super.setUp();

    // init environment
    createApplication();
    cgBase.initialize(getApplication());
  }
 @Override
 protected void setUp() throws Exception {
   super.setUp();
   // final RenamingMockContext mockContext = new RenamingMockContext(
   // getContext());
   // setContext(mockContext);
   createApplication();
   mApplication = getApplication();
   rtt = mApplication.getString(R.string.mock_dt);
 }
  @Override
  protected void setUp() throws Exception {
    super.setUp();

    // init environment
    createApplication();
    Context context = this.getContext();
    SharedPreferences prefs =
        context.getSharedPreferences(cgSettings.preferences, Context.MODE_PRIVATE);

    // create required c:geo objects
    settings = new cgSettings(context, prefs);
    base = new cgBase(this.getApplication(), settings, prefs);
  }
 @Override
 protected void tearDown() throws Exception {
   dataManager.close();
   super.tearDown();
   getContext().deleteDatabase(DataConstants.DATABASE_NAME);
 }
  @Override
  public void setUp() throws Exception {
    super.setUp();

    apikey = getContext().getString(R.string.prod_apiKey);
  }
Exemple #7
0
  protected void setUp() throws Exception {
    super.setUp();

    subject = new Hike();
  }
Exemple #8
0
 @Override
 protected void tearDown() throws Exception {
   database.deleteTable();
   super.tearDown();
 }
Exemple #9
0
 @Override
 protected void setUp() throws Exception {
   super.setUp();
   database = new Database(this.getContext());
 }
 @Override
 public final void setUp() throws Exception {
   super.setUp();
   createApplication();
   UReactUser.clear(getContext());
 }