Lines Matching refs:scoped_file1
126 ScopedFile scoped_file1(ScopedFile{raw_fd1}); in TEST() local
127 ScopedFile scoped_file2(std::move(scoped_file1)); in TEST()
128 ASSERT_EQ(-1, scoped_file1.get()); in TEST()
129 ASSERT_EQ(-1, *scoped_file1); in TEST()
130 ASSERT_FALSE(scoped_file1); in TEST()
133 scoped_file1.reset(raw_fd2); in TEST()
134 ASSERT_EQ(raw_fd2, scoped_file1.get()); in TEST()
148 ScopedFile scoped_file1(raw_fd1); in TEST() local
150 scoped_file2 = std::move(scoped_file1); in TEST()
151 ASSERT_EQ(-1, scoped_file1.get()); in TEST()
152 ASSERT_FALSE(scoped_file1); in TEST()
158 scoped_file1 = std::move(scoped_file2); in TEST()
159 ASSERT_EQ(raw_fd1, scoped_file1.get()); in TEST()