Dan Balasescu
60e42bf45e
Add lenience to fix test failures
2022-01-11 23:01:17 +09:00
Dean Herbert
031a40af6a
Replace usages of Wait
with WaitSafely
2022-01-04 11:51:41 +09:00
Bartłomiej Dach
ef763e9bd7
Add failing test for storyboard not tracking current track
2021-12-27 12:28:49 +01:00
Dan Balasescu
11f3ec0cb5
Wait for previous screen to be hidden in test
2021-12-20 12:44:23 +09:00
Bartłomiej Dach
54790bb758
Merge branch 'master' into fix-realm-post-storage-migration-failure
2021-12-17 00:19:46 +01:00
Dean Herbert
25a056dfad
Remove pointless/broken test steps
...
These aren't accurate and are tested via a more accurate means directly
above.
2021-12-14 16:40:50 +09:00
Dean Herbert
b6a272e31a
Add failing test coverage of BackgroundScreeNDefault
's beatmap background tracking when active/non-active
2021-12-14 16:40:34 +09:00
Dean Herbert
441b7baa93
Provide a realm factory to usages of ToLive
/RealmLive
2021-12-14 14:26:34 +09:00
Dean Herbert
309290a3c9
Use new method in more places that can benefit from it
2021-12-13 16:56:43 +09:00
Dean Herbert
23146d59d1
Use ILive
for current skin
2021-11-29 18:28:25 +09:00
Dean Herbert
2a9c7c00c8
Update tests and file access code
2021-11-29 18:28:25 +09:00
Dean Herbert
6dc6ca1bbb
Fix potential null reference in FadeAccessibleBackground
test class
2021-11-19 14:03:07 +09:00
Dean Herbert
0ecf5f201c
Rename User
to APIUser
and move to correct namespace
2021-11-07 11:26:01 +09:00
Dean Herbert
853cf6feaa
Rename last remaining BeatmapInfo Beatmap
usage
2021-10-04 17:35:53 +09:00
Dean Herbert
973c31132b
Rename BeatmapInfo
variables which were named beatmap
for clarity
2021-10-02 12:45:34 +09:00
Bartłomiej Dach
30703d518c
Add failing assert for seasonal background equality
2021-06-15 23:19:33 +02:00
Bartłomiej Dach
5487012060
Add test coverage for default skin background cycling
2021-06-09 07:48:16 +02:00
Bartłomiej Dach
f628ec25ef
Add test coverage for keeping same background instance
2021-06-08 22:31:09 +02:00
Bartłomiej Dach
d86ace4d11
Add test coverage for skin background source
2021-06-08 22:03:59 +02:00
Dean Herbert
729e05241f
Add more test coverage
2021-06-07 17:32:10 +09:00
Dean Herbert
f677f9b5f4
Stop BackgroundScreenDefault
from reloading beatmap background when already correct
2021-06-07 17:22:36 +09:00
Dean Herbert
b16d10bd95
Provide game-wide resources via IStorageResourceProvider
2021-05-31 18:57:47 +09:00
Salman Ahmed
92fd34cea9
Revert "Inverse ignore user settings bindable to "apply user settings" instead"
...
This reverts commit 175b8da2b2
.
2021-04-15 08:02:12 +03:00
Salman Ahmed
175b8da2b2
Inverse ignore user settings bindable to "apply user settings" instead
2021-04-15 07:34:20 +03:00
Salman Ahmed
7a9ff2ab38
Use until steps instead
...
Ah..
2021-04-15 00:48:25 +03:00
Salman Ahmed
505dc15e03
Add failing test case
2021-04-14 23:35:42 +03:00
Salman Ahmed
15658eda55
Add failing test case
2021-04-13 12:00:13 +03:00
Salman Ahmed
36510309d1
Merge EnableUserDim
and IgnoreUserSettings
to one bindable
2021-04-13 10:58:56 +03:00
Dean Herbert
aeff9bd853
Add return bool to HandleRequest to better trigger failures
2021-03-23 18:17:29 +09:00
smoogipoo
7fa5fd5647
Update usages of config with framework changes
2021-03-17 16:10:16 +09:00
Dean Herbert
cdbf8de29d
Update other tests which can benefit from using a shorter beatmap
2021-02-22 14:53:32 +09:00
Dean Herbert
5904e426eb
Remove unused variable
2021-01-05 16:00:25 +09:00
Dean Herbert
b3f08b29ca
Ensure that all changes to screen backgrounds are on the correct thread
2021-01-05 15:22:50 +09:00
Bartłomiej Dach
875f986979
Remove default from base ResultsScreen too
2020-11-21 14:38:38 +01:00
Dean Herbert
73b290aca3
Merge branch 'master' into results-dynamic-pp-calc
2020-11-02 14:47:33 +09:00
Bartłomiej Dach
2065680e9d
Simplify test case
2020-10-31 17:01:45 +01:00
Bartłomiej Dach
8632f0d77f
Add test coverage
2020-10-30 21:48:09 +01:00
Lucas A
44471b4596
Fix tests not building.
2020-10-27 20:19:15 +01:00
Bartłomiej Dach
ba818e3ae0
Merge branch 'master' into results-dynamic-pp-calc
2020-10-19 21:41:07 +02:00
Dean Herbert
7e709349b8
Use already available test ruleset
2020-10-13 06:26:14 +09:00
Dean Herbert
6487f58e9a
Fix failing tests
2020-10-07 17:52:35 +09:00
Lucas A
c5cf0d0410
Fix tests failing.
2020-09-26 21:50:39 +02:00
smoogipoo
7b012f1def
Fix test failures
2020-06-11 14:55:49 +09:00
Dean Herbert
2bf066d72c
Rename tests to match convention
2020-05-26 11:30:36 +09:00
Dean Herbert
13bd6be8a3
Convert wait steps into until steps
2020-05-26 11:29:56 +09:00
smoogipoo
648999a2de
Remove all RequiredTypes usages
2020-05-16 18:17:12 +09:00
smoogipoo
448e5c0deb
Merge branch 'master' into fix-carousel-root-selects-from-nothing
2020-03-23 11:15:22 +09:00
Dean Herbert
0b728f483f
Rename base test class to help avoid incorrect reference
2020-03-23 10:01:33 +09:00
Dean Herbert
8136ea561e
Fix a couple of broken tests
2020-03-20 15:02:13 +09:00
smoogipoo
1c4296f5e7
Implement the new results screen
2020-03-17 17:43:16 +09:00
Dean Herbert
5200633f9f
Centralise TestPlayer implementations as much as possible
2020-03-05 11:25:07 +09:00
Dean Herbert
a365082a98
Fix potential nullref in UserDimBackgrounds tests
2020-02-03 22:18:07 +09:00
Dan Balasescu
c6e7603e5e
Merge branch 'master' into safe-screen-lease
2020-02-03 18:18:13 +09:00
Bartłomiej Dach
434c0d92e4
Use Bindable{Float,Double}s everywhere
...
To avoid further floating-point comparison bugs, remove all usages of
Bindable<{float,double}>, replacing them with their
Bindable<Float,Double> counterparts.
2020-02-01 22:50:29 +01:00
Dean Herbert
19f516e710
Ensure OsuScreen level leases are taken out synchronously
2020-01-31 19:10:44 +09:00
Dean Herbert
5079feaad1
Remove unnecessary string interpolation
2019-12-17 14:04:03 +09:00
Dean Herbert
f8ffa67693
Add test and isolate ignore bindable from EnableUserDim
2019-12-17 13:21:23 +09:00
Dean Herbert
bc31146560
Mods -> SelectedMods
2019-12-13 21:45:38 +09:00
Dean Herbert
ecc7fdc561
Ensure a clean run on each test method
2019-12-12 21:04:56 +09:00
Dean Herbert
5e634c1183
Move test values to constants
2019-12-12 20:51:58 +09:00
Salman Ahmed
6a539e307a
Split into small tests and add more cases
2019-12-12 09:22:35 +03:00
Salman Ahmed
035a53cb9e
Schedule SetUp()
2019-12-12 01:10:43 +03:00
Salman Ahmed
61265ed452
Increase the waiting steps
2019-12-12 00:52:33 +03:00
Salman Ahmed
4f6b85e5ea
Add test ensuring correct break lightening behaviour
2019-12-12 00:32:39 +03:00
Salman Ahmed
bc02cfc2e2
TestSceneUserDimContainer -> TestSceneUserDimBackgrounds
2019-12-12 00:30:16 +03:00
Salman Ahmed
63f66aa5fa
Check by UserDimContainer.DimLevel instead
2019-12-10 15:25:03 +03:00
Dean Herbert
3fc2afeb26
Fix UserDimContainer test failing on subsequent runs
2019-11-29 15:51:00 +09:00
smoogipoo
12cd57744b
Make RulestStore initialise at construction time
2019-10-15 16:14:06 +09:00
iiSaLMaN
fe20e19243
Rename toggling steps
2019-08-11 23:21:05 +03:00
Salman Ahmed
bc32726f3c
Apply renaming suggestions
...
Co-Authored-By: Dean Herbert <pe@ppy.sh>
2019-08-11 23:08:14 +03:00
iiSaLMaN
537973fc45
Add test for disabling user dim on storyboard
2019-08-08 15:59:29 +03:00
Dean Herbert
c14c3ba8ec
Move database isolation logic to OsuTestScene for easier reuse
2019-07-29 16:57:02 +09:00
Dean Herbert
671f7f99cd
Use constant for blur amount
2019-07-12 13:44:43 +09:00
Dean Herbert
8b67f88d16
Don't expose dimmable container creation in player
2019-07-12 12:04:45 +09:00
Dean Herbert
46f7bb885b
Move classes to local namespaces
...
Also renames test scene to more appropriate name.
2019-07-12 11:50:06 +09:00
Dean Herbert
0d9f978857
Don't expose DimContainer
2019-07-12 11:38:15 +09:00
David Zhao
321266e96f
Make UserDimContainer abstract
2019-07-11 13:17:28 +09:00
David Zhao
221ee58f55
make storyboard text more visible
2019-07-10 12:36:58 +09:00
David Zhao
7929104b8a
move default into StoryboardContainer, fix load bug, remove comment
2019-07-10 12:24:05 +09:00
David Zhao
89cb8a0cac
Move storyboard initialization to new StoryboardContainer
2019-07-09 16:23:59 +09:00
smoogipoo
f090e292c9
Move ArchiveModelManager import process to async flow
2019-06-10 13:42:22 +09:00
Dean Herbert
f33a5bc54c
Centralise and update WorkingBeatmap creation in test cases
2019-05-31 14:40:53 +09:00
Dean Herbert
4ac2acbfc0
Fix usages of SpriteText (instead of OsuSpriteText)
2019-05-21 14:13:52 +09:00
Roman Kapustin
459a285cd8
Rename test cases to test scenes inline with the framework change
2019-05-14 22:37:25 +03:00
smoogipoo
7c105fd99f
Fix testcase players pausing on window unfocus
2019-05-10 15:39:25 +09:00
smoogipoo
0222424aef
Make mods IReadOnlyList<Mod> gamewide
...
Prevents potential multiple evaluations of enumerable.
2019-04-10 17:20:36 +09:00
smoogipoo
4310f07a5c
Rename SelectedMods -> Mods
2019-04-10 12:03:57 +09:00
smoogipoo
c584967eb1
Remove mods from workingbeatmap
2019-04-09 12:59:32 +09:00
Dean Herbert
253b18b92f
Merge remote-tracking branch 'upstream/master' into better-player-flags
2019-03-28 11:18:54 +09:00
David Zhao
2c059efbab
Rename to BlockLoad
2019-03-27 17:34:58 +09:00
David Zhao
be62cd9d72
Fix TestCaseBackgroundsScreenBeatmap
2019-03-27 14:33:50 +09:00
Dean Herbert
a88f23e555
Convert remaining two flags to ctor parameters
2019-03-26 16:53:44 +09:00
Dean Herbert
9a6576c0a1
Merge remote-tracking branch 'upstream/master' into multi-background-stack
2019-03-25 12:40:31 +09:00
Dean Herbert
a1c5eda05b
Add grouping of visual tests
2019-03-25 01:02:36 +09:00