-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
98 changed files
with
1,425 additions
and
1,238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
buildSrc/src/main/groovy/org/robolectric/gradle/GradleManagedDevicePlugin.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package org.robolectric.gradle | ||
|
||
import com.android.build.api.dsl.ManagedVirtualDevice | ||
import org.gradle.api.Plugin | ||
import org.gradle.api.Project | ||
|
||
class GradleManagedDevicePlugin implements Plugin<Project> { | ||
@Override | ||
void apply(Project project) { | ||
project.android.testOptions { | ||
devices { | ||
// ./gradlew -Pandroid.sdk.channel=3 nexusOneApi29DebugAndroidTest | ||
nexusOneApi29(ManagedVirtualDevice) { | ||
device = "Nexus One" | ||
apiLevel = 29 | ||
systemImageSource = "aosp" | ||
abi = "x86" | ||
} | ||
// ./gradlew -Pandroid.sdk.channel=3 nexusOneApi32DebugAndroidTest | ||
nexusOneApi32(ManagedVirtualDevice) { | ||
device = "Nexus One" | ||
apiLevel = 32 | ||
systemImageSource = "google" | ||
abi = "x86_64" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
integration_tests/androidx_test/src/sharedTest/AndroidManifest-NoTestPackageActivities.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="org.robolectric.integrationtests.axt"> | ||
|
||
<uses-sdk | ||
android:minSdkVersion="14" | ||
android:targetSdkVersion="27"/> | ||
|
||
<application> | ||
<activity android:name=".EspressoActivity" android:exported="true"/> | ||
</application> | ||
|
||
<instrumentation | ||
android:name="androidx.test.runner.AndroidJUnitRunner" | ||
android:targetPackage="org.robolectric.integration.axt"/> | ||
|
||
</manifest> |
26 changes: 26 additions & 0 deletions
26
integration_tests/androidx_test/src/sharedTest/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="org.robolectric.integrationtests.axt"> | ||
|
||
<uses-sdk | ||
android:minSdkVersion="14" | ||
android:targetSdkVersion="27"/> | ||
|
||
<application> | ||
<activity android:name="org.robolectric.integrationtests.axt.ActivityTestRuleTest$TranscriptActivity" | ||
android:exported="true"/> | ||
<activity android:name=".EspressoActivity" android:exported="true"/> | ||
<activity android:name=".ActivityScenarioTest$LifecycleOwnerActivity" android:exported="true"/> | ||
<activity android:name=".ActivityScenarioTest$TranscriptActivity" android:exported = "true"/> | ||
<activity-alias | ||
android:name=".ActivityScenarioTestAlias" | ||
android:targetActivity=".ActivityScenarioTest$TranscriptActivity" /> | ||
<activity android:name=".IntentsTest$ResultCapturingActivity" android:exported = "true"/> | ||
</application> | ||
|
||
<instrumentation | ||
android:name="androidx.test.runner.AndroidJUnitRunner" | ||
android:targetPackage="org.robolectric.integration.axt"/> | ||
|
||
</manifest> |
Oops, something went wrong.