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

f382c29
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
f382c29
Select commit
Loading
Failed to load commit list.
GitHub Actions / JUnit Test Report failed Jan 10, 2025 in 0s

18 tests run, 17 passed, 0 skipped, 1 failed.

Annotations

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 <2131296382/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 <2131296382/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{7f8045e V.ED..... ......I. 0,0-0,0 #7f09007e app:id/connectedStatusMessage}>
View Details: MaterialTextView{id=2131296382, 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@c112db1, 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)