Commit Graph

9240 Commits

Author SHA1 Message Date
f24ac04beb Add suggested blank line for consistency 2019-09-29 15:18:29 +03:00
883ee9851a Update dependencies 2019-09-29 15:02:33 +03:00
5314f76fda Merge remote-tracking branch 'refs/remotes/ppy/master' into rankings-tables 2019-09-29 14:58:58 +03:00
97a0e0097f Add testing 2019-09-29 14:56:33 +03:00
193a9b0dd7 Merge branch 'master' into labelled-switch-button 2019-09-29 14:56:26 +08:00
539f3329ce Rename method to match new behaviour 2019-09-29 12:23:18 +08:00
02c1f490f1 Merge branch 'master' into muted-notification 2019-09-28 20:33:32 +08:00
2487d4f0f2 Migrate beatmap carousel test to AddUntilStep
Due to non-deterministic test failures in TestSceneBeatmapCarousel,
migrate the checkSelected helper step from AddAssert to AddUntilStep.
This adds more leniency for performance-related issues while still
checking the desired behaviour.
2019-09-28 11:58:27 +02:00
bbaf21a69d Tables implementation 2019-09-27 19:33:52 +03:00
2a395956aa Merge dependencies 2019-09-27 19:00:17 +03:00
06c32d52dc Change wrong volume bindable used in test 2019-09-27 09:19:39 +02:00
9a31ccd2e3 Add missing test cases for master, track and mute button
This also modifies the reset player method to make it possible to set something before the player is loaded but after the container has loaded.
2019-09-26 14:05:43 +02:00
e2744054c7 Merge branch 'master' into back-button-part-2 2019-09-25 22:46:08 +09:00
7d5544460b Fix mania scrolling speed not including beatmap slider multipli… (#6236)
Fix mania scrolling speed not including beatmap slider multiplier

Co-authored-by: Dean Herbert <pe@ppy.sh>
2019-09-25 22:34:46 +09:00
8c01677e0b Merge remote-tracking branch 'upstream/master' into back-button-part-2 2019-09-25 22:12:00 +09:00
244627ff10 Add comment + test for slider multiplier 2019-09-25 20:12:01 +09:00
ccb5623487 Fix test name 2019-09-25 20:03:03 +09:00
f11156c2dc Fix tests not working correctly 2019-09-25 19:30:25 +09:00
9f77a1ef35 Adjust namespaces 2019-09-25 17:53:08 +09:00
d32a0acd10 Merge remote-tracking branch 'origin/master' into labelled-switch-button 2019-09-25 17:51:12 +09:00
c9e39c124e Add a labelled switch button 2019-09-25 17:42:35 +09:00
261ba5c80a Fix button not transforming correctly in some cases 2019-09-25 17:42:27 +09:00
8fd1a45a42 Change intro displayed for tests
As the triangles intro relies on the audio track's clock advancing, we can't use it just yet (CI server has no audio device). This is a temporary workaround for that shortcoming.
2019-09-25 15:29:02 +09:00
c83db94eb7 Use isolated storage/api 2019-09-25 15:00:08 +09:00
654b815b36 Merge remote-tracking branch 'upstream/master' into back-button-part-2 2019-09-25 14:38:39 +09:00
2089f6fc42 Fix potential test fail case 2019-09-25 14:28:35 +09:00
102dbd85bd Fix CI errors 2019-09-24 16:48:22 -07:00
cc6030ca14 Update beatmap info wedge tests 2019-09-24 16:23:36 -07:00
8efba255c3 Add truncation test 2019-09-24 16:21:08 -07:00
4a59e3351e Update beatmap carousel tests code style
Also fixes one issue I spotted in BeatmapCarousel related to incorrectly holding a selection after new sets are loaded.
2019-09-25 02:42:12 +09:00
03ec0fb27d Merge branch 'master' into fix-mania-scrolling-speed 2019-09-24 22:20:19 +09:00
4271b3bb50 Mark configuration lookup test headless (#6240)
Mark configuration lookup test headless
2019-09-24 19:50:19 +09:00
e78f134b90 Mark configuration lookup test headless 2019-09-24 19:35:42 +09:00
f493f1c71d Move new components to v2 namespace 2019-09-24 19:00:26 +09:00
028c958431 Initial implementation of a switch button 2019-09-24 18:39:11 +09:00
6b702eb6de Update with generic labelledcomponent 2019-09-24 18:25:17 +09:00
5212c50654 Merge branch 'generic-labelledcomponent' into labelled-textbox-improvements 2019-09-24 18:23:01 +09:00
df692b091c Make LabelledComponent generic 2019-09-24 18:22:02 +09:00
4abe0473b9 Fix relative beat length not considering slider multiplier 2019-09-24 16:49:42 +09:00
9a6d748498 Merge branch 'master' into add-creator-artist-filters 2019-09-23 12:31:51 +09:00
d6ec6b1eda Merge branch 'master' into labelled-textbox-improvements 2019-09-23 00:39:29 +09:00
9fe7675be8 Add a base class for all future labelled components (#6187)
Add a base class for all future labelled components
2019-09-23 00:38:51 +09:00
70842f71f4 Fix floating point handling in filter intervals
Due to floating-point rounding and representation errors, filters could
wrongly display results incongruous with the wedge display text (ie.
a beatmap with the BPM of 139.99999 would be displayed as having 140
BPM and also pass the bpm<140 filter).

Apply tolerance when parsing floating-point constraints. The tolerance
chosen is half of what the UI displays for the particular values (so
for example half of 0.1 for AR/DR/CS, 0.01 for stars, etc.)

Tests updated accordingly.
2019-09-22 00:20:55 +02:00
b262ba13cd Add creator= and artist= filters
To match stable, add creator= and artist= filters to the beatmap
carousel on song select screen. Contrary to stable, this implementation
supports phrase queries with spaces within using double quotes.

The quote handling is not entirely correct (can't nest), but quotes
should rarely happen within names, and it is an edge case of an edge
case - leaving best-effort as is. Test coverage also included.
2019-09-22 00:20:55 +02:00
51509f6be0 Add filter steps to carousel visual test
Just a couple of steps for added coverage in visual tests. Very
on-the-surface, the unit tests are supposed to cover the gory details.
2019-09-22 00:20:54 +02:00
41569fd2b6 Add filter evaluating unit tests
Introduce unit tests covering the actual evaluation of filters for
beatmaps. Partially covers most scenarios.
2019-09-22 00:20:54 +02:00
d11d932a87 Add filter parsing tests
Introduce unit tests covering parsing for the originally introduced
filtering features. The introduced improvements (lower and upper
interval and decimal point support) also tested.
2019-09-22 00:20:54 +02:00
db90d211cb Fix scores importing with deleted beatmap sets (#6190)
Fix scores importing with deleted beatmap sets
2019-09-22 01:15:22 +09:00
08440ce5fd Adjust test to assert that the import failed 2019-09-22 00:59:40 +09:00
24cc8ce0b7 Fix deleting null beatmap set 2019-09-22 00:59:01 +09:00