| Index: content/common/quarantine/quarantine_unittest.cc
|
| diff --git a/content/common/quarantine/quarantine_unittest.cc b/content/common/quarantine/quarantine_unittest.cc
|
| index 9e4f3bc51b9e279308acd92b93876899abd77791..726aa292687b0226e99d5ade26601ebb20966124 100644
|
| --- a/content/common/quarantine/quarantine_unittest.cc
|
| +++ b/content/common/quarantine/quarantine_unittest.cc
|
| @@ -26,6 +26,12 @@ const char kTestGUID[] = "69f8621d-c46a-4e88-b915-1ce5415cb008";
|
| } // namespace
|
|
|
| TEST(QuarantineTest, FileCanBeOpenedForReadAfterAnnotation) {
|
| + if (!IsQuarantineSupportedForTesting()) {
|
| + LOG(WARNING) << "Test will be skipped because quarantining is "
|
| + "not supported on this OS/file system.";
|
| + return;
|
| + }
|
| +
|
| base::ScopedTempDir test_dir;
|
| ASSERT_TRUE(test_dir.CreateUniqueTempDir());
|
|
|
| @@ -43,6 +49,12 @@ TEST(QuarantineTest, FileCanBeOpenedForReadAfterAnnotation) {
|
| }
|
|
|
| TEST(QuarantineTest, FileCanBeAnnotatedWithNoGUID) {
|
| + if (!IsQuarantineSupportedForTesting()) {
|
| + LOG(WARNING) << "Test will be skipped because quarantining is "
|
| + "not supported on this OS/file system.";
|
| + return;
|
| + }
|
| +
|
| base::ScopedTempDir test_dir;
|
| ASSERT_TRUE(test_dir.CreateUniqueTempDir());
|
|
|
|
|