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

chore(deps): update dependency com.ncorti.ktfmt.gradle to v0.21.0 #1899

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

chore(deps): update dependency com.ncorti.ktfmt.gradle to v0.21.0

132e678
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

chore(deps): update dependency com.ncorti.ktfmt.gradle to v0.21.0 #1899

chore(deps): update dependency com.ncorti.ktfmt.gradle to v0.21.0
132e678
Select commit
Loading
Failed to load commit list.
GitHub Actions / JUnit Test Report failed Nov 30, 2024 in 0s

107 tests run, 105 passed, 0 skipped, 2 failed.

Annotations

Check failure on line 55 in project/app/src/androidTestOss/java/org/owntracks/android/e2e/LocationAccuracyTest.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

LocationAccuracyTest.given_an_inaccurate_and_accurate_location_when_publishing_then_only_the_location_only_the_accurate_location_is_published

com.adevinta.android.barista.internal.failurehandler.BaristaException: Could not perform action single click on view view.getId() is <2131296461>
at com.adevinta.android.barista.internal.failurehandler.SpyFailureHandler.resendFirstError(SpyFailureHandler.kt:25)
Raw output
com.adevinta.android.barista.internal.failurehandler.BaristaException: Could not perform action single click on view view.getId() is <2131296461>
at com.adevinta.android.barista.internal.failurehandler.SpyFailureHandler.resendFirstError(SpyFailureHandler.kt:25)
at com.adevinta.android.barista.internal.PerformActionKt.performActionOnView(PerformAction.kt:50)
at com.adevinta.android.barista.internal.PerformActionKt.performAction(PerformAction.kt:26)
at com.adevinta.android.barista.interaction.BaristaClickInteractions.clickOn(BaristaClickInteractions.kt:19)
at org.owntracks.android.ui.ClickOnPreferenceKt.clickOnAndWait(ClickOnPreference.kt:22)
at org.owntracks.android.testutils.HelpersKt.reportLocationFromMap(Helpers.kt:96)
at org.owntracks.android.e2e.LocationAccuracyTest.given_an_inaccurate_and_accurate_location_when_publishing_then_only_the_location_only_the_accurate_location_is_published(LocationAccuracyTest.kt:55)
... 44 trimmed
Caused by: androidx.test.espresso.IdlingResourceTimeoutException: Wait for [mockLocationIdlingResource] to become idle timed out
at androidx.test.espresso.IdlingPolicy.handleTimeout(IdlingPolicy.java:4)
at androidx.test.espresso.base.UiControllerImpl$5.resourcesHaveTimedOut(UiControllerImpl.java:1)
at androidx.test.espresso.base.IdlingResourceRegistry$Dispatcher.handleTimeout(IdlingResourceRegistry.java:4)
at androidx.test.espresso.base.IdlingResourceRegistry$Dispatcher.handleMessage(IdlingResourceRegistry.java:6)
at android.os.Handler.dispatchMessage(Handler.java:102)
at androidx.test.espresso.base.Interrogator.loopAndInterrogate(Interrogator.java:14)
at androidx.test.espresso.base.UiControllerImpl.loopUntil(UiControllerImpl.java:8)
at androidx.test.espresso.base.UiControllerImpl.loopMainThreadUntilIdle(UiControllerImpl.java:17)
at androidx.test.espresso.ViewInteraction.doPerform(ViewInteraction.java:3)
at androidx.test.espresso.ViewInteraction.access$100(ViewInteraction.java:1)
at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:2)
at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:1)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7839)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

Check failure on line 109 in project/app/src/androidTest/java/org/owntracks/android/ui/ConnectionErrorTest.kt

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

ConnectionErrorTest.given_a_config_with_tls_disabled_against_a_tls_endpoint_when_viewing_the_connecting_status_then_an_eoferror_is_shown

com.adevinta.android.barista.internal.failurehandler.BaristaException: View (view.getId() is <2131296380/org.owntracks.android.debug:id/connectedStatusMessage>) didn't match condition ((an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "EOFException from endpoint - is endpoint expecting TLS?" or (view.getParent() is assignable from class <class com.google.android.material.textfield.TextInputLayout> and (view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "EOFException from endpoint - is endpoint expecting TLS?"))))
at com.adevinta.android.barista.internal.failurehandler.SpyFailureHandler.resendFirstError(SpyFailureHandler.kt:25)
Raw output
com.adevinta.android.barista.internal.failurehandler.BaristaException: View (view.getId() is <2131296380/org.owntracks.android.debug:id/connectedStatusMessage>) didn't match condition ((an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "EOFException from endpoint - is endpoint expecting TLS?" or (view.getParent() is assignable from class <class com.google.android.material.textfield.TextInputLayout> and (view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "EOFException from endpoint - is endpoint expecting TLS?"))))
at com.adevinta.android.barista.internal.failurehandler.SpyFailureHandler.resendFirstError(SpyFailureHandler.kt:25)
at com.adevinta.android.barista.internal.AssertAnyKt.assertAnyView(AssertAny.kt:42)
at com.adevinta.android.barista.internal.AssertAnyKt.assertAny(AssertAny.kt:18)
at com.adevinta.android.barista.assertion.BaristaVisibilityAssertions.assertContains(BaristaVisibilityAssertions.kt:99)
at com.adevinta.android.barista.assertion.BaristaVisibilityAssertions.assertContains(BaristaVisibilityAssertions.kt:105)
at org.owntracks.android.ui.ConnectionErrorTest$given_a_config_with_tls_disabled_against_a_tls_endpoint_when_viewing_the_connecting_status_then_an_eoferror_is_shown$1.invoke(ConnectionErrorTest.kt:113)
at org.owntracks.android.ui.ConnectionErrorTest$given_a_config_with_tls_disabled_against_a_tls_endpoint_when_viewing_the_connecting_status_then_an_eoferror_is_shown$1.invoke(ConnectionErrorTest.kt:109)
at org.owntracks.android.ui.ConnectionErrorTestKt.use(ConnectionErrorTest.kt:248)
at org.owntracks.android.ui.ConnectionErrorTestKt.access$use(ConnectionErrorTest.kt:1)
at org.owntracks.android.ui.ConnectionErrorTest.given_a_config_with_tls_disabled_against_a_tls_endpoint_when_viewing_the_connecting_status_then_an_eoferror_is_shown(ConnectionErrorTest.kt:109)
... 44 trimmed
Caused by: junit.framework.AssertionFailedError: '(an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "EOFException from endpoint - is endpoint expecting TLS?" or (view.getParent() is assignable from class <class com.google.android.material.textfield.TextInputLayout> and (view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "EOFException from endpoint - is endpoint expecting TLS?")))' doesn't match the selected view.
Expected: (an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "EOFException from endpoint - is endpoint expecting TLS?" or (view.getParent() is assignable from class <class com.google.android.material.textfield.TextInputLayout> and (view is an instance of android.view.ViewGroup and has descendant matching an instance of android.widget.TextView and view.getText() with or without transformation to match: a string containing "EOFException from endpoint - is endpoint expecting TLS?")))
Got: was <com.google.android.material.textview.MaterialTextView{2be258f V.ED..... ......I. 0,0-0,0 #7f09007c app:id/connectedStatusMessage}>
View Details: MaterialTextView{id=2131296380, res-name=connectedStatusMessage, visibility=VISIBLE, width=0, height=0, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=true, is-selected=false, layout-params=android.widget.LinearLayout$LayoutParams@89de468, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, text=, input-type=0, ime-target=false, has-links=false}

at androidx.test.espresso.matcher.ViewMatchers.assertThat(ViewMatchers.java:16)
at androidx.test.espresso.assertion.ViewAssertions$MatchesViewAssertion.check(ViewAssertions.java:11)
at androidx.test.espresso.ViewInteraction$SingleExecutionViewAssertion.check(ViewInteraction.java:2)
at androidx.test.espresso.ViewInteraction$2.call(ViewInteraction.java:12)
at androidx.test.espresso.ViewInteraction$2.call(ViewInteraction.java:1)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7839)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)