Commit Graph

104 Commits

Author SHA1 Message Date
47860bb966 Remove unused using 2022-08-01 16:33:59 +09:00
3b6349a145 Add test coverage of remaining components which weren't already included 2022-08-01 14:16:26 +09:00
d112743cea Improve test coverage of skin serialisation to ensure full coverage
Will fail when new skinnable components are added until they have
coverage in resources.
2022-08-01 14:04:12 +09:00
f9f9b65c86 Add test coverage of deserialisation skin layouts 2022-08-01 01:14:05 +09:00
a21aee4e9c Reduce calls to LoadTrack by implicitly running on test/dummy classes 2022-07-28 18:11:40 +09:00
cd4755fbd9 Add test coverage for batch-import path 2022-07-07 18:06:35 +03:00
f71f6302fd Remove unnecessary null casts 2022-06-24 14:50:11 +09:00
b0b3ea42cc Remove null default value in ImportSkinTest helper method 2022-06-20 10:44:14 +02:00
a6c8a832aa Remove Import(ArchiveReader) and redirect existing usages to Import(ImportTask) 2022-06-20 15:14:57 +09:00
f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
211f0d1e04 Expand test coverage for parsing bool skin config values 2022-06-06 19:57:08 +02:00
4ab6c11079 Add failing test coverage of skin import after exporting from lazer 2022-04-12 00:29:15 +09:00
a7f63fb034 Make providing a custom ResourceStore to LegacyBeatmapSkin optional (for tests only) 2022-03-23 14:57:42 +09:00
cd71ec0edd Remove ILive<> interface (and use abstract Live<> instead) 2022-01-26 13:38:56 +09:00
7e7784b78a Fix incorrect access to ILive in BeatmapSkinResources tests 2022-01-12 17:00:17 +09:00
e74a5022c9 Fix multiple tests via null checks and changing ToLive to Detach
flow
2022-01-12 17:00:17 +09:00
00177a3ae1 Update usages to new naming 2022-01-06 22:54:43 +09:00
73b40e6833 Replace usage of .Result with .WaitSafelyForResult 2022-01-04 11:51:41 +09:00
4b88e257e5 Update usages of CleanRunHeadlessGameHost to match new signature 2021-12-24 20:17:34 +09:00
b976848774 Add failing test coverage of exporting default skin importing with incorrect type 2021-12-02 18:05:16 +09:00
d78c18d03f Remove excess brackets
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
2021-12-01 12:44:25 +09:00
23146d59d1 Use ILive for current skin 2021-11-29 18:28:25 +09:00
2a9c7c00c8 Update tests and file access code 2021-11-29 18:28:25 +09:00
7c2e79f911 Update all simple cases of switching to IWorkingBeatmap 2021-11-17 20:56:57 +09:00
d4be6fc797 Add test coverage of skin with missing section header 2021-11-02 14:05:14 +09:00
6b250955d7 Add missing verbatim string markers 2021-11-01 14:24:38 +09:00
32817a4c66 Add test coverage of failure from incorrect case in skin.ini filename 2021-11-01 14:24:38 +09:00
93482414d6 Remove SkinConfiguration subclasses and allow configuration parsing for all skin types 2021-10-22 14:42:23 +09:00
08971ff8f2 Fix typo in region spedc
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
2021-10-22 11:03:28 +09:00
59b7210efa Revert disallowing imports with no files
While it is logical that we want this, from a testing perspective this is a bit of a nightmare to fix. Let's revisit at a later point in time.
2021-10-21 13:43:42 +09:00
5f53dd8021 Rename test variable for legibility 2021-10-20 17:56:45 +09:00
602303e947 Add test coverage for skin.ini contents 2021-10-20 17:56:45 +09:00
19f30177ea Rewrite tests completely 2021-10-20 17:45:06 +09:00
789c715f13 Add skin.ini write support to allow for more correct hashing 2021-10-20 17:45:06 +09:00
d7cbacc5a0 Rename OnSourceChanged and expand on xmldoc to mention that it doesn't fire SourceChanged 2021-10-12 13:04:48 +09:00
39a3482458 Replace Add/Reset methods with single Set method 2021-10-12 11:55:07 +09:00
a2e61883e3 Initial push to use ILive in import process 2021-09-30 22:55:25 +09:00
a2484692b3 Change brackets to square 2021-08-23 20:37:19 +09:00
0cbe95d661 Add test coverage of different folder names with same skin.ini 2021-08-23 20:28:46 +09:00
d66f7cb6b5 Fix tests by allowing retrieval with files where required 2021-08-17 19:21:22 +09:00
7c88a1c6de Add a way to change custom combo colours via IHasComboColours
`IHasComboColours` was already mutable (via a strange
`AddComboColours()` method) and exposing a straight list is easier to
work with. `IHasCustomColours` is also similarly externally mutable (in
a way which is not easily removable).
2021-08-15 20:06:06 +02:00
09925dffef Add missing HeadlessTest flag on new test scene 2021-07-07 16:30:23 +09:00
255f7b7b53 Add failing test scene 2021-07-06 22:44:23 +09:00
47eeab34e1 Remove redundant string interpolation 2021-06-09 17:34:47 +09:00
38fc9347be Add failing test coverage for beatmap skin disable 2021-06-09 16:19:04 +09:00
3ff9f9c89d Make FindProvider non-default 2021-05-31 21:29:47 +09:00
35810bb2fb Add test coverage 2021-03-24 22:55:15 +03:00
aec859b4d1 Merge branch 'master' into fix-unsafe-skinnable-sample-play 2021-03-18 19:51:46 +01:00
bb3c3f302a Fix skin parser not stripping whitespace before parsing 2021-03-18 15:36:11 +09:00
00574a5288 Use ISample everywhere in Skin GetSample lookup path 2021-02-18 18:32:28 +09:00