Lines Matching refs:BsdiffArguments

13   EXPECT_TRUE(BsdiffArguments::ParseCompressorTypes("Brotli", &types));  in TEST()
19 EXPECT_TRUE(BsdiffArguments::ParseCompressorTypes("bz2", &types)); in TEST()
25 EXPECT_FALSE(BsdiffArguments::ParseCompressorTypes("invalid", &types)); in TEST()
30 EXPECT_TRUE(BsdiffArguments::ParseCompressorTypes("bz2:brotli:nocompression", in TEST()
41 BsdiffArguments::ParseCompressorTypes("bz2 : nocompression", &types)); in TEST()
46 EXPECT_TRUE(BsdiffArguments::ParseBsdiffFormat("bsdf2", &format)); in TEST()
49 EXPECT_TRUE(BsdiffArguments::ParseBsdiffFormat("Legacy", &format)); in TEST()
52 EXPECT_TRUE(BsdiffArguments::ParseBsdiffFormat("bsdiff40", &format)); in TEST()
55 EXPECT_TRUE(BsdiffArguments::ParseBsdiffFormat("endsley", &format)); in TEST()
58 EXPECT_FALSE(BsdiffArguments::ParseBsdiffFormat("Other", &format)); in TEST()
63 EXPECT_TRUE(BsdiffArguments::ParseQuality("9", &quality, 0, 11)); in TEST()
67 EXPECT_FALSE(BsdiffArguments::ParseQuality("30", &quality, 0, 11)); in TEST()
68 EXPECT_FALSE(BsdiffArguments::ParseQuality("1234567890", &quality, 0, 1000)); in TEST()
69 EXPECT_FALSE(BsdiffArguments::ParseQuality("aabb", &quality, 0, 1000)); in TEST()
74 EXPECT_TRUE(BsdiffArguments::ParseMinLength("11", &len)); in TEST()
78 EXPECT_FALSE(BsdiffArguments::ParseMinLength("-1", &len)); in TEST()
79 EXPECT_FALSE(BsdiffArguments::ParseMinLength("aabb", &len)); in TEST()
85 EXPECT_TRUE(BsdiffArguments().IsValid()); in TEST()
89 BsdiffArguments(BsdiffFormat::kLegacy, {CompressorType::kBrotli}, -1) in TEST()
93 BsdiffArguments(BsdiffFormat::kBsdf2, {CompressorType::kBrotli}, 9) in TEST()
98 BsdiffArguments(BsdiffFormat::kBsdf2, {CompressorType::kBrotli}, 20) in TEST()
107 BsdiffArguments arguments; in TEST()