Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #254: Reimplement Backup based on Scoped Storage #270

Merged
merged 56 commits into from
Jun 18, 2023
Merged

Conversation

TWiStErRob
Copy link
Owner

@TWiStErRob TWiStErRob commented May 20, 2023

@TWiStErRob TWiStErRob added a:feature new feature or request in:test unit, or UI tests in:backup Backup > XML a:refactor internal change without functional change labels May 20, 2023
@TWiStErRob TWiStErRob added this to the v1.2.0 AndroidX milestone May 20, 2023
@TWiStErRob TWiStErRob disabled auto-merge May 27, 2023 17:20
…er is dismissed.

Hopefully prevents this failure:
testImportReal (net.twisterrob.inventory.android.activity.BackupActivityTest_Import)

androidx.test.espresso.NoMatchingRootException: Matcher 'is dialog' did not match any of the following roots: [Root{application-window-token=android.view.ViewRootImpl$W@4743, window-token=android.view.ViewRootImpl$W@4743, has-window-focus=true, layout-params-type=1, layout-params-string=WM.LayoutParams{(0,0)(fillxfill) ty=1 fl=#81810100 pfl=0x8 wanim=0x1030461 surfaceInsets=Rect(0, 0 - 0, 0)}, decor-view-string=DecorView{id=-1, visibility=VISIBLE, width=1080, height=1920, has-focus=false, has-focusable=true, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, layout-params=WM.LayoutParams{(0,0)(fillxfill) ty=1 fl=#81810100 pfl=0x8 wanim=0x1030461 surfaceInsets=Rect(0, 0 - 0, 0)}, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=3}}]
at dalvik.system.VMStack.getThreadStackTrace(Native Method)
at java.lang.Thread.getStackTrace(Thread.java:580)
at androidx.test.espresso.base.EspressoExceptionHandler.handleSafely(EspressoExceptionHandler.java:2)
at androidx.test.espresso.base.EspressoExceptionHandler.handleSafely(EspressoExceptionHandler.java:1)
at androidx.test.espresso.base.DefaultFailureHandler$TypedFailureHandler.handle(DefaultFailureHandler.java:4)
at androidx.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:5)
at net.twisterrob.android.test.junit.AndroidJUnitRunner$DetailedFailureHandler.handle(AndroidJUnitRunner.java:173)
at androidx.test.espresso.ViewInteraction.waitForAndHandleInteractionResults(ViewInteraction.java:8)
at androidx.test.espresso.ViewInteraction.check(ViewInteraction.java:12)
at net.twisterrob.inventory.android.test.actors.BackupActivityActor$BackupImportActor$BackupImportResultActor.assertDisplayed(BackupActivityActor.java:128)
at net.twisterrob.inventory.android.test.actors.BackupActivityActor$BackupImportPickerActor.selectFile(BackupActivityActor.java:205)
at net.twisterrob.inventory.android.activity.BackupActivityTest_Import.testImportReal(BackupActivityTest_Import.java:95)
... 47 trimmed
Caused by: net.twisterrob.java.exceptions.StackTrace: View interaction was initiated here
at net.twisterrob.android.test.junit.AndroidJUnitRunner$DetailedFailureHandler.addInitialCallStack(AndroidJUnitRunner.java:185)
at net.twisterrob.android.test.junit.AndroidJUnitRunner$DetailedFailureHandler.transformSpecialCases(AndroidJUnitRunner.java:204)
at net.twisterrob.android.test.junit.AndroidJUnitRunner$DetailedFailureHandler.handle(AndroidJUnitRunner.java:172)
... 53 more
@TWiStErRob TWiStErRob enabled auto-merge (squash) May 27, 2023 18:08
@TWiStErRob TWiStErRob disabled auto-merge June 6, 2023 21:31
@TWiStErRob TWiStErRob enabled auto-merge (squash) June 18, 2023 13:48
@TWiStErRob TWiStErRob disabled auto-merge June 18, 2023 15:07
@TWiStErRob TWiStErRob merged commit f3ffa85 into main Jun 18, 2023
6 of 8 checks passed
@TWiStErRob TWiStErRob deleted the fix254 branch June 18, 2023 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:feature new feature or request a:refactor internal change without functional change in:backup Backup > XML in:test unit, or UI tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant