Commit 772a5b7
Cover the two Bruker not-found paths
Both checks changed in this PR are only reachable through BrukerFileReader
directly: MsDataFileReader.GetDataFile rejects a missing path itself, so every
existing test goes through the factory and neither check runs. That left the
DirectoryNotFoundException throw and the analysis.baf FileNotFoundException
throw unhit, and the File.Exists branch half-covered.
Both tests fail against the pre-PR reader - the first saw FileNotFoundException
instead of DirectoryNotFoundException, the second saw a null FileName.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent cd0986a commit 772a5b7
1 file changed
Lines changed: 32 additions & 0 deletions
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
395 | 427 | | |
396 | 428 | | |
0 commit comments