mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-08-10 14:09:48 +00:00
Import better-enums project from github and put it to use :)
Fix build and somewhat improve the dindexer-scan --help message.
This commit is contained in:
parent
c21779adde
commit
a625f69afd
10 changed files with 105 additions and 55 deletions
|
@ -52,7 +52,7 @@ TEST(machinery, guess_content_type) {
|
|||
FileRecordData("VIDEO_TS/VTS_01_0.VOB",0,0,2,false,false),
|
||||
FileRecordData("VIDEO_TS/VIDEO_TS.VOB",0,0,2,false,false)
|
||||
};
|
||||
detect_type(test_data, mchlib::ContentType_VideoDVD, mchlib::MediaType_DVD);
|
||||
detect_type(test_data, mchlib::ContentType_VideoDVD, mchlib::MediaTypes::DVD);
|
||||
}
|
||||
|
||||
{
|
||||
|
@ -63,7 +63,7 @@ TEST(machinery, guess_content_type) {
|
|||
FileRecordData("some_file.bin",0,0,1,false,false),
|
||||
FileRecordData("another_dir/VTS_01_0.BUP",0,0,2,false,false)
|
||||
};
|
||||
detect_type(test_data, mchlib::ContentType_Generic, mchlib::MediaType_Directory);
|
||||
detect_type(test_data, mchlib::ContentType_Generic, mchlib::MediaTypes::Directory);
|
||||
}
|
||||
|
||||
{
|
||||
|
@ -81,6 +81,6 @@ TEST(machinery, guess_content_type) {
|
|||
FileRecordData("CDI",0,0,1,true,false),
|
||||
FileRecordData("KARAOKE",0,0,1,true,false)
|
||||
};
|
||||
detect_type(test_data, mchlib::ContentType_VideoCD, mchlib::MediaType_CDRom);
|
||||
detect_type(test_data, mchlib::ContentType_VideoCD, mchlib::MediaTypes::CDRom);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue