Skip to content

Commit

Permalink
Update AEPTestUtils to 3.0.0 (#164)
Browse files Browse the repository at this point in the history
* Update AEPTestUtils to 3.0.0

* Fix missing param error

* Clean up location hint options
  • Loading branch information
timkimadobe authored Oct 1, 2024
1 parent db805f1 commit 3745949
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/upstream-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ on:
type: choice
description: '(Optional) The Edge location hint to set before each test.'
required: false
default: ''
default: '(None)'
options:
- '' # Interpreted in the test code as no preset location hint; any non-valid location hint string is interpreted this way
- 'or2'
- 'va6'
- 'irl1'
Expand Down
5 changes: 3 additions & 2 deletions code/edge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ plugins {
val mavenCoreVersion: String by project
val mavenEdgeConsentVersion: String by project
val mavenEdgeIdentityVersion: String by project
val mavenTestUtilsVersion: String by project

aepLibrary {
namespace = "com.adobe.marketing.mobile.edge"
Expand All @@ -35,9 +36,9 @@ dependencies {
implementation("com.adobe.marketing.mobile:core:$mavenCoreVersion")
implementation("com.adobe.marketing.mobile:edgeidentity:$mavenEdgeIdentityVersion")

testImplementation("com.github.adobe:aepsdk-testutils-android:a4991045da")
testImplementation("com.github.adobe:aepsdk-testutils-android:$mavenTestUtilsVersion")

androidTestImplementation("com.github.adobe:aepsdk-testutils-android:a4991045da")
androidTestImplementation("com.github.adobe:aepsdk-testutils-android:$mavenTestUtilsVersion")
androidTestImplementation("com.adobe.marketing.mobile:edgeconsent:$mavenEdgeConsentVersion")
{
exclude(group = "com.adobe.marketing.mobile", module = "edge")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public void test_doRequest_whenRequestHeadersAreNull_setsDefaultHeaders() {
DEFAULT_TIMEOUT,
DEFAULT_TIMEOUT
),
mockNetworkService.getAllNetworkRequests().get(0)
mockNetworkService.getAllNetworkRequests(2000).get(0)
);
}

Expand Down Expand Up @@ -265,7 +265,7 @@ public void onComplete() {}
DEFAULT_TIMEOUT,
DEFAULT_TIMEOUT
),
mockNetworkService.getAllNetworkRequests().get(0)
mockNetworkService.getAllNetworkRequests(2000).get(0)
);
}

Expand Down
1 change: 1 addition & 0 deletions code/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ moduleVersion=3.0.0
mavenCoreVersion=3.0.0
mavenEdgeIdentityVersion=3.0.0
mavenEdgeConsentVersion=3.0.0
mavenTestUtilsVersion=3.0.0
mavenRepoName=AdobeMobileEdgeSdk
mavenRepoDescription=Adobe Experience Platform Edge extension for the Adobe Experience Platform Mobile SDK
mavenUploadDryRunFlag=false
Expand Down
3 changes: 2 additions & 1 deletion code/upstream-integration-tests/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ plugins {

val mavenCoreVersion: String by project
val mavenEdgeIdentityVersion: String by project
val mavenTestUtilsVersion: String by project

configure<com.diffplug.gradle.spotless.SpotlessExtension> {
kotlin {
Expand Down Expand Up @@ -88,7 +89,7 @@ dependencies {

implementation("androidx.core:core-ktx:1.9.0")

androidTestImplementation("com.github.adobe:aepsdk-testutils-android:a4991045da")
androidTestImplementation("com.github.adobe:aepsdk-testutils-android:$mavenTestUtilsVersion")
androidTestImplementation("com.adobe.marketing.mobile:core:$mavenCoreVersion")
androidTestImplementation("com.adobe.marketing.mobile:edgeidentity:$mavenEdgeIdentityVersion")
androidTestImplementation("androidx.test.ext:junit:1.1.3")
Expand Down

0 comments on commit 3745949

Please sign in to comment.