Searched refs:ASSERT_NO_ERROR (Results 1 – 4 of 4) sorted by relevance
/external/llvm/unittests/Support/ |
D | FileOutputBufferTest.cpp | 21 #define ASSERT_NO_ERROR(x) \ macro 34 ASSERT_NO_ERROR( in TEST() 44 ASSERT_NO_ERROR(BufferOrErr.getError()); in TEST() 51 ASSERT_NO_ERROR(Buffer->commit()); in TEST() 56 ASSERT_NO_ERROR(fs::file_size(Twine(File1), File1Size)); in TEST() 58 ASSERT_NO_ERROR(fs::remove(File1.str())); in TEST() 66 ASSERT_NO_ERROR(Buffer2OrErr.getError()); in TEST() 75 ASSERT_NO_ERROR(fs::remove(File2.str())); in TEST() 83 ASSERT_NO_ERROR(BufferOrErr.getError()); in TEST() 89 ASSERT_NO_ERROR(Buffer->commit()); in TEST() [all …]
|
D | Path.cpp | 31 #define ASSERT_NO_ERROR(x) \ macro 141 ASSERT_NO_ERROR(fs::make_absolute(temp_store)); in TEST() 156 ASSERT_NO_ERROR(sys::fs::make_absolute("/root", Relative)); in TEST() 431 ASSERT_NO_ERROR( in SetUp() 438 void TearDown() override { ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); } in TearDown() 445 ASSERT_NO_ERROR( in TEST_F() 450 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F1)); in TEST_F() 451 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F2)); in TEST_F() 457 ASSERT_NO_ERROR( in TEST_F() 461 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath2), D)); in TEST_F() [all …]
|
D | ReplaceFileTest.cpp | 21 #define ASSERT_NO_ERROR(x) \ macro 58 ASSERT_NO_ERROR(fs::createUniqueDirectory( in TEST() 68 ASSERT_NO_ERROR(CreateFileWithContent(SourceFileName, "!!source!!")); in TEST() 69 ASSERT_NO_ERROR(CreateFileWithContent(TargetFileName, "!!target!!")); in TEST() 74 ASSERT_NO_ERROR(fs::openFileForRead(TargetFileName, ReadFD)); in TEST() 94 ASSERT_NO_ERROR(fs::openFileForRead(TargetFileName, ReadFD)); in TEST() 109 ASSERT_NO_ERROR(fs::remove(SourceFileName)); in TEST() 110 ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); in TEST()
|
D | ProgramTest.cpp | 38 #define ASSERT_NO_ERROR(x) \ macro 141 ASSERT_NO_ERROR( in TEST_F() 159 ASSERT_NO_ERROR(fs::remove(Twine(LongPath))); in TEST_F() 160 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory))); in TEST_F() 325 ASSERT_NO_ERROR(fs::createUniqueDirectory("program-test", TestDirectory)); in TEST() 331 ASSERT_NO_ERROR(sys::writeFileWithEncoding(file_pathname.c_str(), utf8_text, in TEST() 334 ASSERT_NO_ERROR(fs::openFileForRead(file_pathname.c_str(), fd)); in TEST() 351 ASSERT_NO_ERROR(fs::remove(file_pathname.str())); in TEST() 352 ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); in TEST()
|