reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1665 ASSERT_NO_ERROR(fs::createTemporaryFile("prefix", "temp", FD, TempPath)); 1666 FileRemover Cleanup(TempPath); 1669 ASSERT_TRUE(fs::exists(Twine(TempPath))); 1672 ErrorOr<fs::perms> Actual = fs::getPermissions(TempPath); 1677 EXPECT_EQ(fs::setPermissions(TempPath, fs::all_all), NoError); 1680 EXPECT_EQ(fs::setPermissions(TempPath, fs::all_read | fs::all_exe), NoError); 1757 EXPECT_EQ(fs::setPermissions(TempPath, fs::no_perms), NoError); 1760 EXPECT_EQ(fs::setPermissions(TempPath, fs::owner_read), NoError); 1763 EXPECT_EQ(fs::setPermissions(TempPath, fs::owner_write), NoError); 1766 EXPECT_EQ(fs::setPermissions(TempPath, fs::owner_exe), NoError); 1769 EXPECT_EQ(fs::setPermissions(TempPath, fs::owner_all), NoError); 1772 EXPECT_EQ(fs::setPermissions(TempPath, fs::group_read), NoError); 1775 EXPECT_EQ(fs::setPermissions(TempPath, fs::group_write), NoError); 1778 EXPECT_EQ(fs::setPermissions(TempPath, fs::group_exe), NoError); 1781 EXPECT_EQ(fs::setPermissions(TempPath, fs::group_all), NoError); 1784 EXPECT_EQ(fs::setPermissions(TempPath, fs::others_read), NoError); 1787 EXPECT_EQ(fs::setPermissions(TempPath, fs::others_write), NoError); 1790 EXPECT_EQ(fs::setPermissions(TempPath, fs::others_exe), NoError); 1793 EXPECT_EQ(fs::setPermissions(TempPath, fs::others_all), NoError); 1796 EXPECT_EQ(fs::setPermissions(TempPath, fs::all_read), NoError); 1799 EXPECT_EQ(fs::setPermissions(TempPath, fs::all_write), NoError); 1802 EXPECT_EQ(fs::setPermissions(TempPath, fs::all_exe), NoError); 1805 EXPECT_EQ(fs::setPermissions(TempPath, fs::set_uid_on_exe), NoError); 1808 EXPECT_EQ(fs::setPermissions(TempPath, fs::set_gid_on_exe), NoError); 1816 EXPECT_EQ(fs::setPermissions(TempPath, fs::sticky_bit), NoError); 1819 EXPECT_EQ(fs::setPermissions(TempPath, fs::set_uid_on_exe | 1826 EXPECT_EQ(fs::setPermissions(TempPath, fs::all_read | fs::set_uid_on_exe | 1833 EXPECT_EQ(fs::setPermissions(TempPath, fs::all_perms), NoError); 1837 EXPECT_EQ(fs::setPermissions(TempPath, fs::all_perms & ~fs::sticky_bit),