Home
last modified time | relevance | path

Searched +full:application +full:- +full:under +full:- +full:test (Results 1 – 25 of 1221) sorted by relevance

12345678910>>...49

/external/dagger2/javatests/dagger/hilt/android/processor/internal/customtestapplication/
DCustomTestApplicationProcessorTest.java4 * Licensed under the Apache License, Version 2.0 (the "License");
8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
14 * limitations under the License.
24 import org.junit.Test;
34 @Test
36 // TODO(danysantiago): Add KSP test once b/288966076 is resolved. in validBaseClass_succeeds()
40 "test.HiltTest", in validBaseClass_succeeds()
41 "package test;", in validBaseClass_succeeds()
43 "import android.app.Application;", in validBaseClass_succeeds()
[all …]
/external/dagger2/javatests/dagger/hilt/android/testing/
DHiltAndroidRuleTest.java4 * Licensed under the Apache License, Version 2.0 (the "License");
8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
14 * limitations under the License.
22 import android.app.Application;
23 import androidx.test.ext.junit.runners.AndroidJUnit4;
24 import org.junit.Test;
33 @Test
34 @Config(application = HiltTestApplication.class)
39 () -> new HiltAndroidRule(new NonHiltTest())); in testMissingHiltAndroidTest_fails()
[all …]
/external/python/google-api-python-client/docs/dyn/
Dtesting_v1.projects.testMatrices.html8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
16 font-size: 13px;
21 font-size: 26px;
22 margin-bottom: 1em;
26 font-size: 24px;
27 margin-bottom: 1em;
[all …]
/external/bazelbuild-rules_android/src/tools/ak/patch/
Dpatch_test.go3 // Licensed under the Apache License, Version 2.0 (the "License");
7 // http://www.apache.org/licenses/LICENSE-2.0
10 // distributed under the License is distributed on an "AS IS" BASIS,
13 // limitations under the License.
31 <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="21"/>
32 …<application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:name="android…
33 <activity android:label="@string/app_name" android:name="com.google.android.test.Activity">
34 <intent-filter>
37 </intent-filter>
39 </application>
[all …]
/external/dagger2/java/dagger/hilt/android/internal/testing/
DMarkThatRulesRanRule.java4 * Licensed under the Apache License, Version 2.0 (the "License");
8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
14 * limitations under the License.
22 import android.app.Application;
23 import androidx.test.core.app.ApplicationProvider;
36 * without this test rule.
42 private final Application application = Contexts.getApplication( field in MarkThatRulesRanRule
57 application instanceof GeneratedComponentManager, in MarkThatRulesRanRule()
58 "Hilt test, %s, must use a Hilt test application but found %s. To fix, configure the test " in MarkThatRulesRanRule()
[all …]
DEarlySingletonComponentCreator.java4 * Licensed under the Apache License, Version 2.0 (the "License");
8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
14 * limitations under the License.
19 import android.app.Application;
22 /** Creates a test's early component. */
29 + "your test class with @HiltAndroidTest and that the processor is running over your "
30 + "test.";
32 static Object createComponent(Application application) { in createComponent() argument
38 .create(application); in createComponent()
[all …]
/external/googleapis/google/devtools/testing/v1/
Dtest_execution.proto3 // Licensed under the Apache License, Version 2.0 (the "License");
7 // http://www.apache.org/licenses/LICENSE-2.0
10 // distributed under the License is distributed on an "AS IS" BASIS,
13 // limitations under the License.
30 // A service for requesting test executions and querying their status.
32 // This service is part of Firebase Test Lab. To learn about how to use the
34 // visit https://firebase.google.com/docs/test-lab.
36 // Each test execution will wait for available capacity. It will then be
37 // invoked as described. The test may be invoked multiple times if an
39 // the test will be stored in an external storage system.
[all …]
/external/dagger2/java/dagger/hilt/android/plugin/main/src/test/kotlin/
DNonStandardPackageTest.kt4 * Licensed under the Apache License, Version 2.0 (the "License");
8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
14 * limitations under the License.
21 import org.junit.Test
25 * Test that things still work when a root class is in a package with non-standard capitalization.
39 "implementation 'com.google.dagger:hilt-android:LOCAL-SNAPSHOT'", in setup()
40 "annotationProcessor 'com.google.dagger:hilt-compiler:LOCAL-SNAPSHOT'", in setup()
41 "testImplementation 'com.google.dagger:hilt-android-testing:LOCAL-SNAPSHOT'", in setup()
42 "testAnnotationProcessor 'com.google.dagger:hilt-compiler:LOCAL-SNAPSHOT'", in setup()
[all …]
DCrossCompilationRootValidationTest.kt4 * Licensed under the Apache License, Version 2.0 (the "License");
8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
14 * limitations under the License.
20 import org.junit.Test
37 "implementation 'com.google.dagger:hilt-android:LOCAL-SNAPSHOT'", in setup()
38 "annotationProcessor 'com.google.dagger:hilt-compiler:LOCAL-SNAPSHOT'", in setup()
39 "testImplementation 'com.google.dagger:hilt-android-testing:LOCAL-SNAPSHOT'", in setup()
40 "testAnnotationProcessor 'com.google.dagger:hilt-compiler:LOCAL-SNAPSHOT'", in setup()
48 import android.app.Application; in setup()
[all …]
DHiltGradlePluginTest.kt4 * Licensed under the Apache License, Version 2.0 (the "License");
8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
14 * limitations under the License.
20 import org.junit.Test
24 * Functional test of the plugin
26 * To run these tests first deploy artifacts to local maven via util/install-local-snapshot.sh.
41 @Test
50 "com.google.dagger:hilt-android dependency was found." in test_missingLibraryDep()
55 @Test
[all …]
/external/google-cloud-java/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/
DBatchDocumentInputConfigOrBuilder.java4 * Licensed under the Apache License, Version 2.0 (the "License");
8 * https://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
14 * limitations under the License.
32 * `gs://translation-test/input.docx`) or a wildcard (for example,
33 * `gs://translation-test/&#42;`).
36 * - `pdf`, application/pdf
37 * - `docx`,
38 * application/vnd.openxmlformats-officedocument.wordprocessingml.document
39 * - `pptx`,
[all …]
/external/google-cloud-java/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/
DBatchDocumentInputConfigOrBuilder.java4 * Licensed under the Apache License, Version 2.0 (the "License");
8 * https://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
14 * limitations under the License.
32 * `gs://translation-test/input.docx`) or a wildcard (for example,
33 * `gs://translation-test/&#42;`).
36 * - `pdf`, application/pdf
37 * - `docx`,
38 * application/vnd.openxmlformats-officedocument.wordprocessingml.document
39 * - `pptx`,
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/rtsp/src/test/java/com/google/android/exoplayer2/source/rtsp/
DRtspHeadersTest.java4 * Licensed under the Apache License, Version 2.0 (the "License");
8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
14 * limitations under the License.
20 import androidx.test.ext.junit.runners.AndroidJUnit4;
24 import org.junit.Test;
27 /** Unit test for {@link RtspHeaders}. */
31 @Test
37 "Accept: application/sdp ", // Extra space after header value. in build_withHeaderLines()
39 "Content-Length: 707", in build_withHeaderLines()
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/rtsp/src/test/java/com/google/android/exoplayer2/source/rtsp/
DRtspHeadersTest.java4 * Licensed under the Apache License, Version 2.0 (the "License");
8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
14 * limitations under the License.
20 import androidx.test.ext.junit.runners.AndroidJUnit4;
24 import org.junit.Test;
27 /** Unit test for {@link RtspHeaders}. */
31 @Test
37 "Accept: application/sdp ", // Extra space after header value. in build_withHeaderLines()
39 "Content-Length: 707", in build_withHeaderLines()
[all …]
/external/dagger2/javatests/dagger/hilt/processor/internal/root/
DRootProcessorErrorsTest.java4 * Licensed under the Apache License, Version 2.0 (the "License");
8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
14 * limitations under the License.
24 import org.junit.Test;
49 @Test
53 "test.AppRoot1", in multipleAppRootsTest()
54 "package test;", in multipleAppRootsTest()
56 "import android.app.Application;", in multipleAppRootsTest()
59 "@HiltAndroidApp(Application.class)", in multipleAppRootsTest()
[all …]
/external/google-cloud-java/java-appengine-admin/google-cloud-appengine-admin/src/test/java/com/google/appengine/v1/
DApplicationsClientHttpJsonTest.java4 * Licensed under the Apache License, Version 2.0 (the "License");
8 * https://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
14 * limitations under the License.
43 import org.junit.Test;
45 @Generated("by gapic-generator-java")
80 @Test
82 Application expectedResponse = in getApplicationTest()
83 Application.newBuilder() in getApplicationTest()
89 .setCodeBucket("codeBucket-1407386057") in getApplicationTest()
[all …]
DApplicationsClientTest.java4 * Licensed under the Apache License, Version 2.0 (the "License");
8 * https://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
14 * limitations under the License.
45 import org.junit.Test;
47 @Generated("by gapic-generator-java")
85 @Test
87 Application expectedResponse = in getApplicationTest()
88 Application.newBuilder() in getApplicationTest()
94 .setCodeBucket("codeBucket-1407386057") in getApplicationTest()
[all …]
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/populator/
DLocationProviderImplTest.java4 * Licensed under the Apache License, Version 2.0 (the "License");
8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
14 * limitations under the License.
19 import static androidx.test.core.app.ApplicationProvider.getApplicationContext;
25 import android.app.Application;
30 import org.junit.Test;
53 locationWithAccuracy.setLongitude(-74.0); in setUp()
58 @Test
60 shadowOf((Application) getApplicationContext()) in getLocation_whenPermissionsDenied_returnsAbsentLocation()
[all …]
/external/apache-commons-io/src/test/java/org/apache/commons/io/input/
DXmlStreamReaderUtilitiesTest.java2 * Licensed to the Apache Software Foundation (ASF) under one or more
5 * The ASF licenses this file to You under the Apache License, Version 2.0
9 * http://www.apache.org/licenses/LICENSE-2.0
12 * distributed under the License is distributed on an "AS IS" BASIS,
15 * limitations under the License.
26 import org.junit.jupiter.api.Test;
29 * Test the Encoding Utilities part of {@link XmlStreamReader}.
45 private static final String APPXML = "application/xml";
46 private static final String APPXML_UTF8 = "application/xml;charset=UTF-8";
47 private static final String APPXML_UTF16 = "application/xml;charset=UTF-16";
[all …]
/external/python/google-api-python-client/googleapiclient/discovery_cache/documents/
Dtesting.v1.json5 "https://www.googleapis.com/auth/cloud-platform": {
8 "https://www.googleapis.com/auth/cloud-platform.read-only": {
19 "documentationLink": "https://developers.google.com/cloud-test-lab/",
21 "x16": "http://www.google.com/images/icons/product/search-16.gif",
22 "x32": "http://www.google.com/images/icons/product/search-32.gif"
58 "Responses with Content-Type of application/json",
59 "Media download with context-dependent Content-Type",
60 "Responses with Content-Type of application/x-protobuf"
92 …"description": "Available to use for quota purposes for server-side applications. Can be any arbit…
112 "description": "Gets the details of an Android application APK.",
[all …]
/external/dagger2/javatests/dagger/android/
DAndroidInjectionTest.java4 * Licensed under the Apache License, Version 2.0 (the "License");
8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
14 * limitations under the License.
24 import android.app.Application;
27 import androidx.test.ext.junit.runners.AndroidJUnit4;
28 import org.junit.Test;
47 return instance -> { in fakeFragmentInjector()
54 public static class ApplicationInjectsFragment extends Application implements HasAndroidInjector {
61 @Config(application = ApplicationInjectsFragment.class)
[all …]
/external/dagger2/java/dagger/hilt/android/
DEarlyEntryPoints.java4 * Licensed under the Apache License, Version 2.0 (the "License");
8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
14 * limitations under the License.
19 import android.app.Application;
39 * @param applicationContext The application context.
45 // this method easier to use, since most code will use this with an Application or Context type.
48 Application application = Contexts.getApplication(applicationContext); in get() local
50 application instanceof GeneratedComponentManagerHolder, in get()
51 "Expected application to implement GeneratedComponentManagerHolder. " in get()
[all …]
/external/downloader/src/test/java/com/google/android/downloader/
DAndroidConnectivityHandlerTest.java3 // Licensed under the Apache License, Version 2.0 (the "License");
7 // http://www.apache.org/licenses/LICENSE-2.0
10 // distributed under the License is distributed on an "AS IS" BASIS,
13 // limitations under the License.
24 import android.app.Application;
33 import androidx.test.core.app.ApplicationProvider;
44 import org.junit.Test;
64 private Application application; field in AndroidConnectivityHandlerTest
70 application = ApplicationProvider.getApplicationContext(); in setUp()
73 (ConnectivityManager) application.getSystemService(Context.CONNECTIVITY_SERVICE); in setUp()
[all …]
/external/tensorflow/tensorflow/lite/tools/benchmark/experimental/firebase/android/
DAndroidManifest.xml1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
5 Licensed under the Apache License, Version 2.0 (the "License");
9 http://www.apache.org/licenses/LICENSE-2.0
12 distributed under the License is distributed on an "AS IS" BASIS,
15 limitations under the License.
16 -->
21 <!-- Necessary for loading custom models from disk and writing result to disk. -->
22 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
23 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
[all …]
/external/aws-sdk-java-v2/services/codedeploy/src/it/java/software/amazon/awssdk/services/codedeploy/
DCodeDeployIntegrationTest.java4 * Licensed under the Apache License, Version 2.0 (the "License").
13 * permissions and limitations under the License.
28 import org.junit.Test;
47 * The name of the application being created.
49 private static final String APP_NAME = "java-sdk-appln-"
52 private static final String DEPLOYMENT_GROUP_NAME = "java-sdk-deploy-"
56 * The id of the application created in AWS Code Deploy service.
61 * Creates an application and asserts the result for the application id
77 * Delete the application from code deploy service created for this testing.
89 * Performs a list application operation. Asserts that the result should
[all …]

12345678910>>...49