e6646b9877
Resolve review comments
2020-08-23 15:08:02 +02:00
c4a7fac760
Add required parameters and other various changes
2020-08-15 22:03:24 +02:00
880a127228
Use async overload
2020-06-10 00:08:48 +09:00
88aed1d504
Merge branch 'master' into update-inspectcode-version
2020-06-09 20:12:39 +09:00
8a021e0beb
Use save method in test
2020-06-08 22:35:01 +09:00
b41384dde8
Merge branch 'master' into multiplayer-beatmap-checksum
2020-06-07 18:05:33 +09:00
66ec2afe5c
Remove broken import test
2020-06-03 23:38:40 +09:00
5ed3cd205f
Simplify reuse check using FileInfo IDs
2020-06-03 23:35:56 +09:00
25160dc220
Fix test name
2020-06-03 19:15:52 +09:00
012933545e
Add test coverage
2020-06-03 18:33:41 +09:00
f3b5149648
Move some suggestions to warnings, resolve issues
2020-06-03 16:48:44 +09:00
dfb9687fb5
Extract update into PreUpdate(), add test
2020-06-02 17:22:09 +09:00
f989f1aa00
Change event flow to avoid firing store delete events on update
2020-05-27 16:08:47 +09:00
052ad79fc6
Convert dangerous events to IBindables
2020-05-19 16:44:22 +09:00
0e2ccac33b
Add spaces to comments
2020-05-04 18:36:24 -07:00
370ff70dd4
Fix incorrect host name specification
2020-03-17 18:32:30 +09:00
363d7d724a
Use old ctor params
2020-01-15 14:02:29 +09:00
0e844b3039
Cleanup / re-protect file store
2020-01-14 19:24:53 +09:00
4b8d628000
Remove file addition test
2020-01-14 19:24:53 +09:00
524ff41931
Add more assertions
2020-01-14 19:24:53 +09:00
b592b6d80d
Improve robustness by always creating a new file
2020-01-14 19:24:53 +09:00
000fc836b2
Remove unused class
2020-01-14 19:24:53 +09:00
dce93dfe7c
Split test
2020-01-14 19:24:53 +09:00
609102bea3
Initial file updating implementation
2020-01-14 19:24:53 +09:00
681a43a318
Refactor to support beatmap updates
2020-01-14 19:24:53 +09:00
9f62ec869a
Add failing test
2019-11-14 19:38:20 +09:00
26a33bfa4e
Merge branch 'master' into fix-resume-from-player-audio
2019-10-11 19:21:14 +09:00
11acd177f1
Add import test with files to be filtered out
...
Add a test case reproducing the conditions encountered "in the wild"
wherein a skin import would be performed incorrectly due to a __MACOSX
resource fork directory present next to a directory with the actual skin
files in the archive.
2019-10-10 23:54:17 +02:00
c8ffc134d4
Use nameof when instantiating headless game hosts
...
As a purely cosmetic code improvement, substitute string literals
in constructor calls of HeadlessGameHost in ImportBeatmapTest for nameof
operator usages.
2019-10-10 22:36:43 +02:00
8df2e359c4
Fix tests on CI
2019-10-10 17:42:15 +09:00
6268bbcfc8
Merge branch 'master' into beatmap-parsing-fallback-v2
2019-10-03 15:12:21 +08:00
a06cb54732
Merge branch 'master' into beatmap-parsing-fallback-v2
2019-09-20 15:28:08 +09:00
f306fe27d8
Add test to cover corruption case
2019-09-20 15:05:48 +09:00
ddff9882cf
Fix importing archives which are nested in a single folder within a zip
2019-09-19 19:11:04 +09:00
86588778b1
Implement fallback decoder registration
...
After the preparatory introduction of LineBufferedReader, it is now
possible to introduce registration of fallback decoders that won't drop
input supplied in the first line of the file.
A fallback decoder is used when the magic in the first line of the file
does not match any of the other known decoders. In such a case,
the fallback decoder is constructed and provided a LineBufferedReader
instance. The process of matching magic only peeks the first non-empty
line, so it is available for re-reading in Decode() using ReadLine().
There can be only one fallback decoder per type; a second attempt of
registering a fallback will result in an exception to avoid bugs.
To address the issue of parsing failing on badly or non-headered files,
set the legacy decoders for Beatmaps and Storyboards as the fallbacks.
Due to non-trivial logic, several new, passing unit tests with possible
edge cases also included.
2019-09-15 01:28:07 +02:00
9e1cb90dd8
Remove existing argument for ItemAdded event
...
For all usages, it looks like this was unnecessary.
2019-06-26 11:40:41 +09:00
12aa264657
Consolidate tests and check for file reference counts
2019-06-10 18:35:23 +09:00
28b2a516e3
Ensure exception is only thrown once on rollback
2019-06-10 18:13:33 +09:00
dcdb806120
Catch newly thrown exception in test
2019-06-10 17:26:56 +09:00
5b75060b94
Add test for rollback logic correctly dereferencing files
2019-06-10 16:45:45 +09:00
f090e292c9
Move ArchiveModelManager import process to async flow
2019-06-10 13:42:22 +09:00
00191ca940
Actually set the beatmap difficulty
2019-03-12 15:24:35 +09:00
059397ac50
Remove unnecessary early return for maching beatmap IDs
2019-03-12 14:40:13 +09:00
d0ae75af6e
Add tests and fix scenario where all matching are contained by duplicate candidate
2019-03-11 18:13:33 +09:00
80737b9ef8
Remove "silent" parameter; consolidate import logic
2019-02-25 18:24:06 +09:00
628b3e1119
Move osu-resources to nuget
2019-01-28 18:33:39 +09:00
8617aaa2a7
Update licence header (and remove year)
2019-01-24 17:43:03 +09:00
c45c34d400
Make beatmap importing possible elsewhere in tests
2018-12-25 19:17:21 +09:00
a8ad7d4670
Add silent import parameter
2018-11-30 18:27:13 +09:00
a88b69ec43
Notify of existing imports
2018-11-28 20:19:35 +09:00