| Index: runtime/bin/directory_test.cc
|
| diff --git a/runtime/bin/directory_test.cc b/runtime/bin/directory_test.cc
|
| index d5b81755b9f0aed2f735d7565f43dddeeda95eb7..b99609fbb9135ffb56bb1c2ab1ef050b2645407d 100644
|
| --- a/runtime/bin/directory_test.cc
|
| +++ b/runtime/bin/directory_test.cc
|
| @@ -28,8 +28,7 @@ TEST_CASE(DirectoryExists) {
|
| const char* current = dart::bin::Directory::Current();
|
| EXPECT_NOTNULL(current);
|
|
|
| - dart::bin::Directory::ExistsResult r =
|
| - dart::bin::Directory::Exists(current);
|
| + dart::bin::Directory::ExistsResult r = dart::bin::Directory::Exists(current);
|
| EXPECT_EQ(dart::bin::Directory::EXISTS, r);
|
| }
|
|
|
| @@ -40,6 +39,16 @@ TEST_CASE(DirectorySystemTemp) {
|
| }
|
|
|
|
|
| +TEST_CASE(DirectorySystemTempExists) {
|
| + const char* system_temp = dart::bin::Directory::SystemTemp();
|
| + EXPECT_NOTNULL(system_temp);
|
| +
|
| + dart::bin::Directory::ExistsResult r =
|
| + dart::bin::Directory::Exists(system_temp);
|
| + EXPECT_EQ(dart::bin::Directory::EXISTS, r);
|
| +}
|
| +
|
| +
|
| TEST_CASE(DirectoryCreateTemp) {
|
| const char* kTempPrefix = "test_prefix";
|
| const char* system_temp = dart::bin::Directory::SystemTemp();
|
|
|