From 8cdb3141708b8fcbf1e77a615e2e40e2c5b5d7db Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Tue, 27 Jul 2021 15:09:10 +0200 Subject: [PATCH] Fix screenshot tests --- .gitlab-ci.yml | 2 +- .../org/briarproject/briar/android/BriarUiTestComponent.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f5ca1b73c..ef18ade7b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,7 +33,7 @@ test: stage: test script: - ./gradlew --no-daemon -Djava.security.egd=file:/dev/urandom animalSnifferMain animalSnifferTest - - ./gradlew --no-daemon -Djava.security.egd=file:/dev/urandom check + - ./gradlew --no-daemon -Djava.security.egd=file:/dev/urandom compileOfficialDebugAndroidTestSources compileScreenshotDebugAndroidTestSources check rules: - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' when: always diff --git a/briar-android/src/androidTestScreenshot/java/org/briarproject/briar/android/BriarUiTestComponent.java b/briar-android/src/androidTestScreenshot/java/org/briarproject/briar/android/BriarUiTestComponent.java index 5bed09f0f..0427f2c7f 100644 --- a/briar-android/src/androidTestScreenshot/java/org/briarproject/briar/android/BriarUiTestComponent.java +++ b/briar-android/src/androidTestScreenshot/java/org/briarproject/briar/android/BriarUiTestComponent.java @@ -3,6 +3,7 @@ package org.briarproject.briar.android; import org.briarproject.bramble.BrambleAndroidModule; import org.briarproject.bramble.BrambleCoreModule; import org.briarproject.bramble.account.BriarAccountModule; +import org.briarproject.bramble.plugin.file.RemovableDriveModule; import org.briarproject.bramble.system.ClockModule; import org.briarproject.briar.BriarCoreModule; import org.briarproject.briar.android.attachment.AttachmentModule; @@ -20,6 +21,7 @@ import dagger.Component; AttachmentModule.class, ClockModule.class, MediaModule.class, + RemovableDriveModule.class, BriarCoreModule.class, BrambleAndroidModule.class, BriarAccountModule.class,