@@ -574,11 +574,11 @@ const char kGetFileTestFile[] = "GetFileTest.txt";
574
574
const char kFileUriScheme [] = " file://" ;
575
575
576
576
// TODO(b/255839066): Re-enable this test after the iOS 10.1.0 release
577
- #if FIREBASE_PLATFORM_IOS
577
+ #if FIREBASE_PLATFORM_IOS || FIREBASE_PLATFORM_TVOS
578
578
TEST_F (FirebaseStorageTest, DISABLED_TestPutFileAndGetFile) {
579
579
#else
580
580
TEST_F (FirebaseStorageTest, TestPutFileAndGetFile) {
581
- #endif // FIREBASE_PLATFORM_IOS
581
+ #endif // FIREBASE_PLATFORM_IOS || FIREBASE_PLATFORM_TVOS
582
582
SignIn ();
583
583
584
584
firebase::storage::StorageReference ref =
@@ -1466,13 +1466,13 @@ TEST_F(FirebaseStorageTest, TestLargeFileCancelUpload) {
1466
1466
// Cancel the operation and verify it was successfully canceled.
1467
1467
EXPECT_TRUE (controller.Cancel ());
1468
1468
1469
- #if FIREBASE_PLATFORM_IOS
1469
+ #if FIREBASE_PLATFORM_IOS || FIREBASE_PLATFORM_TVOS
1470
1470
// TODO(b/255839066): Change this to expect kErrorCancelled once iOS SDK
1471
1471
// returns the correct error code.
1472
1472
WaitForCompletion (future, " PutBytes" , firebase::storage::kErrorUnknown );
1473
1473
#else
1474
1474
WaitForCompletion (future, " PutBytes" , firebase::storage::kErrorCancelled );
1475
- #endif // FIREBASE_PLATFORM_IOS
1475
+ #endif // FIREBASE_PLATFORM_IOS || FIREBASE_PLATFORM_TVOS
1476
1476
1477
1477
FLAKY_TEST_SECTION_END ();
1478
1478
}
0 commit comments