@Override protected void setUp() throws Exception { super.setUp(); db = createDatabase(); }
@Override protected void setUp() throws Exception { super.setUp(); }
@Override protected void setUp() throws Exception { super.setUp(); getContext().deleteDatabase(TEST_DATABASE_NAME); }
public void setUp() throws Exception { super.setUp(); MapsInitializer.initialize(getContext()); pointStyle = new GeoJsonPointStyle(); }
@Before public final void setupBaseTest() throws Exception { super.setUp(); App app = (App) InstrumentationRegistry.getTargetContext().getApplicationContext(); mTestComponent = TestUtil.prepare(app); }
@Override public void setUp() throws Exception { super.setUp(); TestProperties properties = new TestProperties(this.getContext()); mqttServerURI = properties.getServerURI(); mqttSSLServerURI = properties.getServerSSLURI(); waitForCompletionTime = properties.getWaitForCompletionTime(); String clientKeyStore = properties.getClientKeyStore(); keyStorePwd = properties.getClientKeyStorePassword(); Log.d(TAG, properties.getServerSSLURI()); }
@Override protected void setUp() throws Exception { super.setUp(); db = createDatabase(); }
@Override protected void setUp() throws Exception { super.setUp(); testDeleteAllRecords(); time_01 = System.currentTimeMillis(); time_02 = time_01 + 1000; }
@Override protected void setUp() throws Exception { super.setUp(); mMockCountlyStore = mock(CountlyStore.class); mEventQueue = new EventQueue(mMockCountlyStore); }
@Override protected void setUp() throws Exception { super.setUp(); tracks = new Track[]{TrackTestUtils.buildTrack(), TrackTestUtils.buildTrack()}; }
@Override protected void setUp() throws Exception { super.setUp(); testView = (TestView) View.inflate(getContext(), R.layout.test_view, null); childTestView = (ChildTestView) View.inflate(getContext(), R.layout.child_test_view, null); grandChildTestView = (GrandChildTestView) View.inflate(getContext(), R.layout.grand_child_test_view, null); testTextView = (TestTextView) View.inflate(getContext(), R.layout.test_textview, null); defaultsTestView = (DefaultsTestView) View.inflate(getContext(), R.layout.defaults_test_view, null); res = getContext().getResources(); }
@Override protected void setUp() throws Exception { super.setUp(); store = new CountlyStore(getContext()); store.clear(); }
@Override public void setUp() throws Exception { super.setUp(); setContext(new RenamingDelegatingContext(getContext(), "_test_")); }
@Override protected void setUp() throws Exception { super.setUp(); RxSnappy.init(getContext()); rxSnappyClient = new RxSnappyClient(); }
protected void setUp() throws Exception { super.setUp(); mResolver = new MockContentResolver(); final String filenamePrefix = "test."; RenamingDelegatingContext targetContextWrapper = new RenamingDelegatingContext(new MockContext2(), // The context that most methods are //delegated to getContext(), // The context that file methods are delegated to filenamePrefix); mDatabaseContext = new IsolatedContext(mResolver, targetContextWrapper); onCreateDatabase(mDatabaseContext); mDBTestCase.setUp(); }
@Override protected void setUp() throws Exception { super.setUp(); ctx = new IsolatedContext(new MockContentResolver(), getContext()); }
@Override protected void setUp() throws Exception { super.setUp(); freshConnQ = new ConnectionQueue(); connQ = new ConnectionQueue(); connQ.setAppKey("abcDeFgHiJkLmNoPQRstuVWxyz"); connQ.setServerURL("http://countly.coupons.com"); connQ.setContext(getContext()); connQ.setCountlyStore(mock(CountlyStore.class)); connQ.setDeviceId(mock(DeviceId.class)); connQ.setExecutor(mock(ExecutorService.class)); }
@Override protected void setUp() throws Exception { super.setUp(); emptyTrack = buildTrack(); simpleTrack = buildSimpleTrack(); a = buildSimpleTrack(); b = buildSimpleTrack(); fullTrack = buildFullTrack(); }
@Override protected void setUp() throws Exception { super.setUp(); final CountlyStore countlyStore = new CountlyStore(getContext()); countlyStore.clear(); mUninitedCountly = new Countly(); mCountly = new Countly(); mCountly.init(getContext(), "http://test.count.ly", "appkey", "1234"); }
@Override protected void setUp() throws Exception { super.setUp(); ctx = new StartServiceMockContext(new MockContentResolver(), getContext()); settings = new AppSettings(ctx); fakeAuthenticate(); receiver = createReceiver(); }