OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:robolectric
(Results
276 - 300
of
1119
) sorted by null
<<
11
12
13
14
15
16
17
18
19
20
>>
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
PreferenceActivityTest.java
1
package com.xtremelabs.
robolectric
.shadows;
17
import com.xtremelabs.
robolectric
.R;
18
import com.xtremelabs.
robolectric
.
Robolectric
;
19
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
30
shadow =
Robolectric
.shadowOf(activity);
PreferenceManagerTest.java
1
package com.xtremelabs.
robolectric
.shadows;
7
import com.xtremelabs.
robolectric
.
Robolectric
;
8
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
9
import com.xtremelabs.
robolectric
.tester.android.content.TestSharedPreferences;
22
Map<String, Map<String, Object>> content =
Robolectric
.getShadowApplication().getSharedPreferenceMap();
29
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(
Robolectric
.application);
SeekBarTest.java
1
package com.xtremelabs.
robolectric
.shadows;
14
import com.xtremelabs.
robolectric
.
Robolectric
;
15
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
16
import com.xtremelabs.
robolectric
.util.Transcript;
29
shadow =
Robolectric
.shadowOf(seekBar);
ServiceTest.java
1
package com.xtremelabs.
robolectric
.shadows;
3
import static com.xtremelabs.
robolectric
.
Robolectric
.newInstanceOf;
4
import static com.xtremelabs.
robolectric
.
Robolectric
.shadowOf;
19
import com.xtremelabs.
robolectric
.
Robolectric
;
20
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
45
ServiceConnection conn =
Robolectric
.newInstanceOf(MediaScannerConnection.class);
ViewStubTest.java
1
package com.xtremelabs.
robolectric
.shadows;
7
import com.xtremelabs.
robolectric
.R;
8
import com.xtremelabs.
robolectric
.
Robolectric
;
9
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
10
import com.xtremelabs.
robolectric
.tester.android.util.TestAttributeSet;
22
ctxt =
Robolectric
.application;
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/util/
CustomView2.java
1
package com.xtremelabs.
robolectric
.util;
NullDatabaseMapTest.java
1
package com.xtremelabs.
robolectric
.util;
3
import com.xtremelabs.
robolectric
.WithTestDefaultsRunner;
4
import com.xtremelabs.
robolectric
.util.DatabaseConfig.CannotLoadDatabaseMapDriverException;
5
import com.xtremelabs.
robolectric
.util.DatabaseConfig.UsingDatabaseMap;
28
Assert.assertTrue(DatabaseConfig.getDatabaseMap().getDriverClassName() == "com.xtremelabs.
robolectric
.util.NullDatabaseMap");
StringsTest.java
1
package com.xtremelabs.
robolectric
.util;
TestBroadcastReceiver.java
1
package com.xtremelabs.
robolectric
.util;
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/robolectric/
SuwLibRobolectricTestRunner.java
17
package com.android.setupwizardlib.
robolectric
;
22
import org.
robolectric
.RobolectricTestRunner;
23
import org.
robolectric
.annotation.Config;
24
import org.
robolectric
.internal.ManifestFactory;
43
* Return the default config used to run
Robolectric
tests.
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
GlifStyleTest.java
21
import static org.
robolectric
.RuntimeEnvironment.application;
31
import com.android.setupwizardlib.
robolectric
.SuwLibRobolectricTestRunner;
36
import org.
robolectric
.
Robolectric
;
37
import org.
robolectric
.annotation.Config;
54
Robolectric
.buildAttributeSet()
61
//
Robolectric
resolved the wrong theme attribute on versions >= M
62
// https://github.com/
robolectric
/
robolectric
/issues/2940
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
ShadowInputManager.java
19
import static org.
robolectric
.util.ReflectionHelpers.ClassParameter.from;
25
import org.
robolectric
.annotation.Implementation;
26
import org.
robolectric
.annotation.Implements;
27
import org.
robolectric
.util.ReflectionHelpers;
ShadowLibcoreTimeZoneNames.java
21
import org.
robolectric
.annotation.Implementation;
22
import org.
robolectric
.annotation.Implements;
23
import org.
robolectric
.annotation.RealObject;
24
import org.
robolectric
.util.ReflectionHelpers;
31
*
Robolectric
's 6.0 jar. Create a shadow which removes that log call.
SettingsShadowResources.java
5
import static org.
robolectric
.RuntimeEnvironment.application;
6
import static org.
robolectric
.Shadows.shadowOf;
7
import static org.
robolectric
.internal.Shadow.directlyOn;
26
import org.
robolectric
.RuntimeEnvironment;
27
import org.
robolectric
.annotation.Implementation;
28
import org.
robolectric
.annotation.Implements;
29
import org.
robolectric
.annotation.RealObject;
30
import org.
robolectric
.internal.Shadow;
31
import org.
robolectric
.res.StyleData;
32
import org.
robolectric
.res.StyleResolver
[
all
...]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowDialogFragment.java
1
package com.xtremelabs.
robolectric
.shadows;
8
import com.xtremelabs.
robolectric
.internal.Implementation;
9
import com.xtremelabs.
robolectric
.internal.Implements;
10
import com.xtremelabs.
robolectric
.internal.RealObject;
11
import com.xtremelabs.
robolectric
.tester.android.util.TestFragmentManager;
12
import com.xtremelabs.
robolectric
.tester.android.util.TestFragmentTransaction;
14
import static com.xtremelabs.
robolectric
.
Robolectric
.shadowOf;
ShadowContentProviderOperationBuilder.java
1
package com.xtremelabs.
robolectric
.shadows;
9
import com.xtremelabs.
robolectric
.
Robolectric
;
10
import com.xtremelabs.
robolectric
.internal.Implementation;
11
import com.xtremelabs.
robolectric
.internal.Implements;
12
import com.xtremelabs.
robolectric
.internal.RealObject;
21
contentProviderOperation =
Robolectric
.newInstanceOf(ContentProviderOperation.class);
22
shadowContentProviderOperation =
Robolectric
.shadowOf(contentProviderOperation);
ShadowNetworkInfo.java
1
package com.xtremelabs.
robolectric
.shadows;
5
import com.xtremelabs.
robolectric
.
Robolectric
;
6
import com.xtremelabs.
robolectric
.internal.Implementation;
7
import com.xtremelabs.
robolectric
.internal.Implements;
9
import static com.xtremelabs.
robolectric
.
Robolectric
.shadowOf;
34
NetworkInfo networkInfo =
Robolectric
.newInstanceOf(NetworkInfo.class);
ShadowOverlayItem.java
1
package com.xtremelabs.
robolectric
.shadows;
3
import static com.xtremelabs.
robolectric
.
Robolectric
.shadowOf_;
7
import com.xtremelabs.
robolectric
.internal.Implementation;
8
import com.xtremelabs.
robolectric
.internal.Implements;
9
import com.xtremelabs.
robolectric
.util.Strings;
ShadowPoint.java
1
package com.xtremelabs.
robolectric
.shadows;
4
import com.xtremelabs.
robolectric
.internal.Implementation;
5
import com.xtremelabs.
robolectric
.internal.Implements;
6
import com.xtremelabs.
robolectric
.internal.RealObject;
8
import static com.xtremelabs.
robolectric
.
Robolectric
.shadowOf_;
ShadowPointF.java
1
package com.xtremelabs.
robolectric
.shadows;
5
import com.xtremelabs.
robolectric
.internal.Implementation;
6
import com.xtremelabs.
robolectric
.internal.Implements;
7
import com.xtremelabs.
robolectric
.internal.RealObject;
9
import static com.xtremelabs.
robolectric
.
Robolectric
.shadowOf_;
ShadowProgressDialog.java
1
package com.xtremelabs.
robolectric
.shadows;
6
import com.xtremelabs.
robolectric
.
Robolectric
;
7
import com.xtremelabs.
robolectric
.internal.Implementation;
8
import com.xtremelabs.
robolectric
.internal.Implements;
10
import static com.xtremelabs.
robolectric
.
Robolectric
.shadowOf;
41
Robolectric
.getShadowApplication().setLatestAlertDialog(shadowOf(progressDialog));
ShadowSparseBooleanArray.java
1
package com.xtremelabs.
robolectric
.shadows;
3
import static com.xtremelabs.
robolectric
.
Robolectric
.shadowOf;
5
import com.xtremelabs.
robolectric
.internal.Implementation;
6
import com.xtremelabs.
robolectric
.internal.Implements;
7
import com.xtremelabs.
robolectric
.internal.RealObject;
ShadowFragmentActivity.java
1
package com.xtremelabs.
robolectric
.shadows;
9
import com.xtremelabs.
robolectric
.internal.Implementation;
10
import com.xtremelabs.
robolectric
.internal.Implements;
11
import com.xtremelabs.
robolectric
.internal.RealObject;
12
import com.xtremelabs.
robolectric
.tester.android.util.TestFragmentManager;
18
import static com.xtremelabs.
robolectric
.
Robolectric
.shadowOf;
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/
AttrResourceLoaderTest.java
1
package com.xtremelabs.
robolectric
.res;
6
import com.xtremelabs.
robolectric
.R;
7
import com.xtremelabs.
robolectric
.util.CustomView;
11
import static com.xtremelabs.
robolectric
.util.TestUtil.getSystemResourceDir;
12
import static com.xtremelabs.
robolectric
.util.TestUtil.resourceFile;
/packages/apps/Settings/tests/robotests/src/com/android/settings/
SetupChooseLockPatternTest.java
21
import static org.
robolectric
.RuntimeEnvironment.application;
37
import org.
robolectric
.
Robolectric
;
38
import org.
robolectric
.RuntimeEnvironment;
39
import org.
robolectric
.annotation.Config;
40
import org.
robolectric
.res.builder.RobolectricPackageManager.ComponentState;
64
mActivity =
Robolectric
.buildActivity(
Completed in 759 milliseconds
<<
11
12
13
14
15
16
17
18
19
20
>>