@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());
  }
Esempio n. 3
0
 @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);
  }
Esempio n. 7
0
  protected void setUp() throws Exception {
    super.setUp();

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