Commit Graph

34 Commits

Author SHA1 Message Date
Dean Herbert 3b485b5f37 Rewrite `PreviewTrackManager` to avoid constructing `TrackBass` locally
This paves the way for the framework code quality change
(https://github.com/ppy/osu-framework/pull/4873) which stops exposing
the constructor.

Most of the restructuring here is required to give `PreviewTrackManager`
an adjustable target to apply the global mute.
2021-11-09 17:38:12 +09:00
Dean Herbert 94175bfb4a Update `PreviewTrackManager` to use `IBeatmapSetInfo` 2021-10-25 14:25:01 +09:00
Dean Herbert 524128441e Mark `PollingComponent` test as headless 2021-08-12 15:03:05 +09:00
jvyden a854ce429a
add blank line between method 2021-04-18 23:49:13 -04:00
jvyden 999f2d810c
Fix accidentally removed code 2021-04-18 23:30:07 -04:00
jvyden b727faace3
Revert changes to IdleTracker 2021-04-18 23:03:43 -04:00
jvyden 1e56f14f5b
Merge remote-tracking branch 'upstream' 2021-04-17 09:35:24 -04:00
Bartłomiej Dach f3ea51eeed Adjust tests to not rely on invalid assumption 2021-04-17 14:23:32 +02:00
jvyden 8d6c30c73b
Fix lint 2021-04-16 05:57:36 -04:00
jvyden ec0211809f
Apply peppy's suggestions 2021-04-16 05:53:27 -04:00
jvyden d760e81a91
Fix lint 2021-04-16 05:22:41 -04:00
jvyden 7d23973ef8
Reset SessionStatics on activity
Closes #12424
2021-04-16 05:01:58 -04:00
Bartłomiej Dach 924af58f5b Replace using static with explicit nested reference
This seems to be an inspectcode bug, as the code is correct and
compiles, but let's just work around it for now.
2021-01-02 12:25:59 +01:00
smoogipoo 45107280a0 Make TimeBetweenPolls into a bindable 2020-12-20 18:34:54 +09:00
Bartłomiej Dach 6b38bb9d76 Add test coverage for new ownerless behaviour 2020-11-15 16:38:25 +01:00
Dean Herbert 0b728f483f Rename base test class to help avoid incorrect reference 2020-03-23 10:01:33 +09:00
Dean Herbert be62e48296 Fix tests not working if main or audio volume is zero 2019-11-21 10:35:10 +09:00
iiSaLMaN 8f02e57d1f Add test ensuring correct muting behaviour 2019-11-15 01:08:40 +03:00
iiSaLMaN 08e9813192 Add test ensuring correct changing behaviour 2019-11-14 14:23:52 +03:00
iiSaLMaN 9a00898c0d Add test for non-present preview tracks
To avoid reverting what #6738 solved
2019-11-10 23:21:46 +03:00
iiSaLMaN 901a8d597b Add test steps ensuring correct behaviour 2019-11-08 13:20:02 +03:00
Dean Herbert 31f2d6a842 Fix regressed test 2019-11-06 19:06:24 +09:00
Dean Herbert 024157b13f Remove unnecessary type specification 2019-06-24 11:10:29 +09:00
Dean Herbert da2ba5bf09 Allow tests to be run in non-sequential order 2019-06-24 11:09:59 +09:00
Dean Herbert 4ec064e179 Fix test timing regressions due to increased step count 2019-06-24 11:00:00 +09:00
Unknown cf193cb26f call MoveMouseTo with Drawable 2019-06-22 17:43:24 +02:00
Unknown 35d9f5841c simplify asserts, clarify asserts 2019-06-22 17:34:06 +02:00
Unknown afe9ac1740 fix assert descriptions 2019-06-22 16:11:47 +02:00
Dean Herbert a1cc8c448f Update TrackVirtual consumption 2019-05-29 16:43:27 +09:00
Dean Herbert 08ab1e5df7 Use new ITrackStore interface 2019-05-29 16:43:15 +09:00
Dean Herbert a20eda7b5f Fix remaining cases to work without things 2019-05-28 23:54:42 +09:00
Dean Herbert 4ca34bd5e8 Update osu! in line with audio subsystem refactor 2019-05-28 17:06:01 +09:00
Roman Kapustin 459a285cd8 Rename test cases to test scenes inline with the framework change 2019-05-14 22:37:25 +03:00
Dean Herbert a1c5eda05b Add grouping of visual tests 2019-03-25 01:02:36 +09:00