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

Bump org.mockito:mockito-core from 5.3.1 to 5.5.0 #381

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

Bump org.mockito:mockito-core from 5.3.1 to 5.5.0

a216778
Select commit
Loading
Failed to load commit list.
Open

Bump org.mockito:mockito-core from 5.3.1 to 5.5.0 #381

Bump org.mockito:mockito-core from 5.3.1 to 5.5.0
a216778
Select commit
Loading
Failed to load commit list.
Cirrus CI / Run Android tests failed Aug 28, 2023 in 19m 2s

Task Summary

Instruction check failed in 12:37

Details

✅ 00:01 clone
✅ 00:37 install_emulator
✅ 00:08 install_firebase_emulator
✅ 00:01 create_avd
✅ 00:00 start_avd
✅ 00:00 start_firebase_emulator
✅ 00:01 build_local_properties
✅ 05:15 assemble_instrumented_tests
✅ 00:07 wait_for_avd
✅ 00:01 disable_animations
✅ 00:01 prepare_codeclimate
✅ 00:00 screen_record
❌ 12:37 check

com.github.versus.SearchFragmentTest > testCancelPost[emulator(AVD) - 11] �[31mFAILED �[0m
	androidx.test.espresso.base.RootViewPicker$RootViewWithoutFocusException: Waited for the root of the view hierarchy to have window focus and not request layout for 10 seconds. If you specified a non default root matcher, it may be picking a root that never takes focus. Root:
	Root{application-window-token=android.view.ViewRootImpl$W@dd8832b, window-token=android.view.ViewRootImpl$W@dd8832b, has-window-focus=false, layout-params-type=1, layout-params-string={(0,0)(fillxfill) sim={forwardNavigation} ty=BASE_APPLICATION wanim=0x10302fe

com.github.versus.SearchFragmentTest > testScrollRecyclerView[emulator(AVD) - 11] �[31mFAILED �[0m
	androidx.test.espresso.base.RootViewPicker$RootViewWithoutFocusException: Waited for the root of the view hierarchy to have window focus and not request layout for 10 seconds. If you specified a non default root matcher, it may be picking a root that never takes focus. Root:
	Root{application-window-token=android.view.ViewRootImpl$W@6044c18, window-token=android.view.ViewRootImpl$W@6044c18, has-window-focus=false, layout-params-type=1, layout-params-string={(0,0)(fillxfill) sim={forwardNavigation} ty=BASE_APPLICATION wanim=0x10302fe

com.github.versus.SearchFragmentTest > testCreatePostAndThenCancel[emulator(AVD) - 11] �[31mFAILED �[0m
	androidx.test.espresso.base.RootViewPicker$RootViewWithoutFocusException: Waited for the root of the view hierarchy to have window focus and not request layout for 10 seconds. If you specified a non default root matcher, it may be picking a root that never takes focus. Root:
	Root{application-window-token=android.view.ViewRootImpl$W@4a00524, window-token=android.view.ViewRootImpl$W@4a00524, has-window-focus=false, layout-params-type=1, layout-params-string={(0,0)(fillxfill) sim={forwardNavigation} ty=BASE_APPLICATION wanim=0x10302fe

com.github.versus.SearchFragmentTest > testCreatePostCancel[emulator(AVD) - 11] �[31mFAILED �[0m
	androidx.test.espresso.base.RootViewPicker$RootViewWithoutFocusException: Waited for the root of the view hierarchy to have window focus and not request layout for 10 seconds. If you specified a non default root matcher, it may be picking a root that never takes focus. Root:
	Root{application-window-token=android.view.ViewRootImpl$W@ae3de69, window-token=android.view.ViewRootImpl$W@ae3de69, has-window-focus=false, layout-params-type=1, layout-params-string={(0,0)(fillxfill) sim={forwardNavigation} ty=BASE_APPLICATION wanim=0x10302fe

com.github.versus.SearchFriendFragmentTest > testSearchBar[emulator(AVD) - 11] �[31mFAILED �[0m
	androidx.test.espresso.base.RootViewPicker$RootViewWithoutFocusException: Waited for the root of the view hierarchy to have window focus and not request layout for 10 seconds. If you specified a non default root matcher, it may be picking a root that never takes focus. Root:
	Root{application-window-token=android.view.ViewRootImpl$W@dae23ac, window-token=android.view.ViewRootImpl$W@dae23ac, has-window-focus=false, layout-params-type=1, layout-params-string={(0,0)(fillxfill) sim={forwardNavigation} ty=BASE_APPLICATION wanim=0x10302fe

com.github.versus.SearchFriendFragmentTest > testScrollRecyclerView[emulator(AVD) - 11] �[31mFAILED �[0m
	androidx.test.espresso.base.RootViewPicker$RootViewWithoutFocusException: Waited for the root of the view hierarchy to have window focus and not request layout for 10 seconds. If you specified a non default root matcher, it may be picking a root that never takes focus. Root:
	Root{application-window-token=android.view.ViewRootImpl$W@2ccaf36, window-token=android.view.ViewRootImpl$W@2ccaf36, has-window-focus=false, layout-params-type=1, layout-params-string={(0,0)(fillxfill) sim={forwardNavigation} ty=BASE_APPLICATION wanim=0x10302fe

com.github.versus.TopGamesTest > testOnFirstPosition[emulator(AVD) - 11] �[31mFAILED �[0m
	androidx.test.espresso.base.RootViewPicker$RootViewWithoutFocusException: Waited for the root of the view hierarchy to have window focus and not request layout for 10 seconds. If you specified a non default root matcher, it may be picking a root that never takes focus. Root:
	Root{application-window-token=android.view.ViewRootImpl$W@179ce3b, window-token=android.view.ViewRootImpl$W@179ce3b, has-window-focus=false, layout-params-type=1, layout-params-string={(0,0)(fillxfill) sim={forwardNavigation} ty=BASE_APPLICATION wanim=0x10302fe

com.github.versus.ZOptionGetPlacesTest > testClickOnLocation[emulator(AVD) - 11] �[31mFAILED �[0m

Tests on emulator(AVD) - 11 failed: There was 30 failure(s).
Test run failed to complete. Instrumentation run failed due to Process crashed.

> Task :app:connectedDebugAndroidTest FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:connectedDebugAndroidTest'.
> There were failing tests. See the report at: file:///tmp/cirrus-ci-build/app/build/reports/androidTests/connected/index.html

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 12m 37s
93 actionable tasks: 47 executed, 46 up-to-date

Annotations

Check warning on line 11 in app/src/main/res/layout/announcement_row_element.xml

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/res/layout/announcement_row_element.xml#L11

The vertically scrolling `ScrollView` should not contain another vertically scrolling widget (`ScrollView`)
Raw output
A scrolling widget such as a `ScrollView` should not contain any nested scrolling widgets since this has various usability issues

Check warning on line 11 in app/src/main/res/layout/fragment_game.xml

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/res/layout/fragment_game.xml#L11

The vertically scrolling `ScrollView` should not contain another vertically scrolling widget (`ScrollView`)
Raw output
A scrolling widget such as a `ScrollView` should not contain any nested scrolling widgets since this has various usability issues

Check warning on line 310 in app/src/main/res/layout/fragment_game.xml

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/res/layout/fragment_game.xml#L310

The vertically scrolling `ScrollView` should not contain another vertically scrolling widget (`ListView`)
Raw output
A scrolling widget such as a `ScrollView` should not contain any nested scrolling widgets since this has various usability issues

Check warning on line 18 in app/src/main/res/layout/fragment_schedule.xml

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/res/layout/fragment_schedule.xml#L18

The vertically scrolling `ScrollView` should not contain another vertically scrolling widget (`ScrollView`)
Raw output
A scrolling widget such as a `ScrollView` should not contain any nested scrolling widgets since this has various usability issues

Check warning on line 420 in app/src/main/res/layout/fragment_schedule.xml

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/res/layout/fragment_schedule.xml#L420

The vertically scrolling `ScrollView` should not contain another vertically scrolling widget (`ListView`)
Raw output
A scrolling widget such as a `ScrollView` should not contain any nested scrolling widgets since this has various usability issues

Check warning on line 18 in app/src/main/res/layout/fragment_sports_equipments.xml

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/res/layout/fragment_sports_equipments.xml#L18

The vertically scrolling `ScrollView` should not contain another vertically scrolling widget (`ScrollView`)
Raw output
A scrolling widget such as a `ScrollView` should not contain any nested scrolling widgets since this has various usability issues

Check warning on line 18 in app/src/main/res/layout/fragment_trendingsports.xml

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/res/layout/fragment_trendingsports.xml#L18

The vertically scrolling `ScrollView` should not contain another vertically scrolling widget (`ScrollView`)
Raw output
A scrolling widget such as a `ScrollView` should not contain any nested scrolling widgets since this has various usability issues

Check warning on line 11 in app/src/main/res/layout/fragment_user_info.xml

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/res/layout/fragment_user_info.xml#L11

The vertically scrolling `ScrollView` should not contain another vertically scrolling widget (`ScrollView`)
Raw output
A scrolling widget such as a `ScrollView` should not contain any nested scrolling widgets since this has various usability issues

Check warning on line 18 in app/src/main/res/layout/info_contact_fragment.xml

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/res/layout/info_contact_fragment.xml#L18

The vertically scrolling `ScrollView` should not contain another vertically scrolling widget (`ScrollView`)
Raw output
A scrolling widget such as a `ScrollView` should not contain any nested scrolling widgets since this has various usability issues

Check warning on line 14 in app/src/main/res/layout/announcement_row_element.xml

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/res/layout/announcement_row_element.xml#L14

This ScrollView should use `android:layout_height="wrap_content"`
Raw output
ScrollView children must set their `layout_width` or `layout_height` attributes to `wrap_content` rather than `fill_parent` or `match_parent` in the scrolling dimension

Check warning on line 20 in app/src/main/res/layout/fragment_sports_equipments.xml

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/res/layout/fragment_sports_equipments.xml#L20

This ScrollView should use `android:layout_height="wrap_content"`
Raw output
ScrollView children must set their `layout_width` or `layout_height` attributes to `wrap_content` rather than `fill_parent` or `match_parent` in the scrolling dimension

Check warning on line 20 in app/src/main/res/layout/fragment_trendingsports.xml

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/res/layout/fragment_trendingsports.xml#L20

This ScrollView should use `android:layout_height="wrap_content"`
Raw output
ScrollView children must set their `layout_width` or `layout_height` attributes to `wrap_content` rather than `fill_parent` or `match_parent` in the scrolling dimension

Check warning on line 20 in app/src/main/res/layout/info_contact_fragment.xml

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/res/layout/info_contact_fragment.xml#L20

This ScrollView should use `android:layout_height="wrap_content"`
Raw output
ScrollView children must set their `layout_width` or `layout_height` attributes to `wrap_content` rather than `fill_parent` or `match_parent` in the scrolling dimension

Check warning on line 18 in app/src/main/res/layout/list_players.xml

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/res/layout/list_players.xml#L18

Attribute `android:imeOptions` should not be used with `<TextView>`: Change element type to `<EditText>` ?
Raw output
Using a `<TextView>` to input text is generally an error, you should be using `<EditText>` instead.  `EditText` is a subclass of `TextView`, and some of the editing support is provided by `TextView`, so it's possible to set some input-related properties on a `TextView`. However, using a `TextView` along with input attributes is usually a cut & paste error. To input text you should be using `<EditText>`.

This check also checks subclasses of `TextView`, such as `Button` and `CheckBox`, since these have the same issue: they should not be used with editable attributes.

Check warning on line 164 in app/src/main/java/com/github/versus/announcements/PostAnnouncementAdapter.java

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/java/com/github/versus/announcements/PostAnnouncementAdapter.java#L164

The id `R.id.join_container_on_post` has already been looked up in this method; possible cut & paste error?
Raw output
This lint check looks for cases where you have cut & pasted calls to `findViewById` but have forgotten to update the R.id field. It's possible that your code is simply (redundantly) looking up the field repeatedly, but lint cannot distinguish that from a case where you for example want to initialize fields `prev` and `next` and you cut & pasted `findViewById(R.id.prev)` and forgot to update the second initialization to `R.id.next`.

Check warning on line 161 in app/src/main/java/com/github/versus/announcements/PostAnnouncementAdapter.java

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/java/com/github/versus/announcements/PostAnnouncementAdapter.java#L161

The id `R.id.join_container_on_post` has already been looked up in this method; possible cut & paste error?
Raw output
This lint check looks for cases where you have cut & pasted calls to `findViewById` but have forgotten to update the R.id field. It's possible that your code is simply (redundantly) looking up the field repeatedly, but lint cannot distinguish that from a case where you for example want to initialize fields `prev` and `next` and you cut & pasted `findViewById(R.id.prev)` and forgot to update the second initialization to `R.id.next`.

Check warning on line 389 in app/src/main/java/com/github/versus/ScheduleFragment.java

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/java/com/github/versus/ScheduleFragment.java#L389

The id `R.id.Monday_date` has already been looked up in this method; possible cut & paste error?
Raw output
This lint check looks for cases where you have cut & pasted calls to `findViewById` but have forgotten to update the R.id field. It's possible that your code is simply (redundantly) looking up the field repeatedly, but lint cannot distinguish that from a case where you for example want to initialize fields `prev` and `next` and you cut & pasted `findViewById(R.id.prev)` and forgot to update the second initialization to `R.id.next`.

Check warning on line 372 in app/src/main/java/com/github/versus/ScheduleFragment.java

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/java/com/github/versus/ScheduleFragment.java#L372

The id `R.id.Monday_date` has already been looked up in this method; possible cut & paste error?
Raw output
This lint check looks for cases where you have cut & pasted calls to `findViewById` but have forgotten to update the R.id field. It's possible that your code is simply (redundantly) looking up the field repeatedly, but lint cannot distinguish that from a case where you for example want to initialize fields `prev` and `next` and you cut & pasted `findViewById(R.id.prev)` and forgot to update the second initialization to `R.id.next`.

Check warning on line 422 in app/src/main/java/com/github/versus/ScheduleFragment.java

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/java/com/github/versus/ScheduleFragment.java#L422

The id `R.id.Tuesday_date` has already been looked up in this method; possible cut & paste error?
Raw output
This lint check looks for cases where you have cut & pasted calls to `findViewById` but have forgotten to update the R.id field. It's possible that your code is simply (redundantly) looking up the field repeatedly, but lint cannot distinguish that from a case where you for example want to initialize fields `prev` and `next` and you cut & pasted `findViewById(R.id.prev)` and forgot to update the second initialization to `R.id.next`.

Check warning on line 407 in app/src/main/java/com/github/versus/ScheduleFragment.java

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/java/com/github/versus/ScheduleFragment.java#L407

The id `R.id.Tuesday_date` has already been looked up in this method; possible cut & paste error?
Raw output
This lint check looks for cases where you have cut & pasted calls to `findViewById` but have forgotten to update the R.id field. It's possible that your code is simply (redundantly) looking up the field repeatedly, but lint cannot distinguish that from a case where you for example want to initialize fields `prev` and `next` and you cut & pasted `findViewById(R.id.prev)` and forgot to update the second initialization to `R.id.next`.

Check warning on line 455 in app/src/main/java/com/github/versus/ScheduleFragment.java

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/java/com/github/versus/ScheduleFragment.java#L455

The id `R.id.Wednesday_date` has already been looked up in this method; possible cut & paste error?
Raw output
This lint check looks for cases where you have cut & pasted calls to `findViewById` but have forgotten to update the R.id field. It's possible that your code is simply (redundantly) looking up the field repeatedly, but lint cannot distinguish that from a case where you for example want to initialize fields `prev` and `next` and you cut & pasted `findViewById(R.id.prev)` and forgot to update the second initialization to `R.id.next`.

Check warning on line 440 in app/src/main/java/com/github/versus/ScheduleFragment.java

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/java/com/github/versus/ScheduleFragment.java#L440

The id `R.id.Wednesday_date` has already been looked up in this method; possible cut & paste error?
Raw output
This lint check looks for cases where you have cut & pasted calls to `findViewById` but have forgotten to update the R.id field. It's possible that your code is simply (redundantly) looking up the field repeatedly, but lint cannot distinguish that from a case where you for example want to initialize fields `prev` and `next` and you cut & pasted `findViewById(R.id.prev)` and forgot to update the second initialization to `R.id.next`.

Check warning on line 488 in app/src/main/java/com/github/versus/ScheduleFragment.java

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/java/com/github/versus/ScheduleFragment.java#L488

The id `R.id.Thursday_date` has already been looked up in this method; possible cut & paste error?
Raw output
This lint check looks for cases where you have cut & pasted calls to `findViewById` but have forgotten to update the R.id field. It's possible that your code is simply (redundantly) looking up the field repeatedly, but lint cannot distinguish that from a case where you for example want to initialize fields `prev` and `next` and you cut & pasted `findViewById(R.id.prev)` and forgot to update the second initialization to `R.id.next`.

Check warning on line 473 in app/src/main/java/com/github/versus/ScheduleFragment.java

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/java/com/github/versus/ScheduleFragment.java#L473

The id `R.id.Thursday_date` has already been looked up in this method; possible cut & paste error?
Raw output
This lint check looks for cases where you have cut & pasted calls to `findViewById` but have forgotten to update the R.id field. It's possible that your code is simply (redundantly) looking up the field repeatedly, but lint cannot distinguish that from a case where you for example want to initialize fields `prev` and `next` and you cut & pasted `findViewById(R.id.prev)` and forgot to update the second initialization to `R.id.next`.

Check warning on line 521 in app/src/main/java/com/github/versus/ScheduleFragment.java

See this annotation in the file changed.

@cirrus-ci cirrus-ci / Run Android tests

app/src/main/java/com/github/versus/ScheduleFragment.java#L521

The id `R.id.Friday_date` has already been looked up in this method; possible cut & paste error?
Raw output
This lint check looks for cases where you have cut & pasted calls to `findViewById` but have forgotten to update the R.id field. It's possible that your code is simply (redundantly) looking up the field repeatedly, but lint cannot distinguish that from a case where you for example want to initialize fields `prev` and `next` and you cut & pasted `findViewById(R.id.prev)` and forgot to update the second initialization to `R.id.next`.