@@ -180,21 +180,21 @@ class TestPath : public TestFixture {
180180 }
181181
182182 void isDirectory () const {
183- ScopedFile file (" testpath .txt" , " " , " testpath" );
184- ScopedFile file2 (" testpath2 .txt" , " " );
185- ASSERT_EQUALS (false , Path::isDirectory (" testpath .txt" ));
183+ ScopedFile file (" testpath_dir .txt" , " " , " testpath" );
184+ ScopedFile file2 (" testpath_dir_2 .txt" , " " );
185+ ASSERT_EQUALS (false , Path::isDirectory (" testpath_dir .txt" ));
186186 ASSERT_EQUALS (true , Path::isDirectory (" testpath" ));
187- ASSERT_EQUALS (false , Path::isDirectory (" testpath/testpath .txt" ));
188- ASSERT_EQUALS (false , Path::isDirectory (" testpath2 .txt" ));
187+ ASSERT_EQUALS (false , Path::isDirectory (" testpath/testpath_dir .txt" ));
188+ ASSERT_EQUALS (false , Path::isDirectory (" testpath_dir_2 .txt" ));
189189 }
190190
191191 void isFile () const {
192- ScopedFile file (" testpath .txt" , " " , " testpath" );
193- ScopedFile file2 (" testpath2 .txt" , " " );
192+ ScopedFile file (" testpath_file .txt" , " " , " testpath" );
193+ ScopedFile file2 (" testpath_file_2 .txt" , " " );
194194 ASSERT_EQUALS (false , Path::isFile (" testpath" ));
195- ASSERT_EQUALS (false , Path::isFile (" testpath .txt" ));
196- ASSERT_EQUALS (true , Path::isFile (" testpath/testpath .txt" ));
197- ASSERT_EQUALS (true , Path::isFile (" testpath2 .txt" ));
195+ ASSERT_EQUALS (false , Path::isFile (" testpath_file .txt" ));
196+ ASSERT_EQUALS (true , Path::isFile (" testpath/testpath_file .txt" ));
197+ ASSERT_EQUALS (true , Path::isFile (" testpath_file_2 .txt" ));
198198 }
199199
200200 void sameFileName () const {
@@ -373,7 +373,7 @@ class TestPath : public TestFixture {
373373 " /*-*-C++-*-*/" ,
374374 };
375375
376- for (const auto & f : { " cppprobe .h" , " cppprobe " }) {
376+ for (const auto & f : { " cppprobe_cpp .h" , " cppprobe_cpp " }) {
377377 for (const auto & m : markers_cpp) {
378378 identifyWithCppProbeInternal (f, m, Standards::Language::CPP);
379379 }
@@ -407,10 +407,10 @@ class TestPath : public TestFixture {
407407 };
408408
409409 for (const auto & m : markers_c) {
410- identifyWithCppProbeInternal (" cppprobe .h" , m, Standards::Language::C);
410+ identifyWithCppProbeInternal (" cppprobe_c .h" , m, Standards::Language::C);
411411 }
412412 for (const auto & m : markers_c) {
413- identifyWithCppProbeInternal (" cppprobe " , m, Standards::Language::None);
413+ identifyWithCppProbeInternal (" cppprobe_none " , m, Standards::Language::None);
414414 }
415415 }
416416
@@ -555,21 +555,21 @@ class TestPath : public TestFixture {
555555 }
556556
557557 void exists () const {
558- ScopedFile file (" testpath .txt" , " " , " testpath" );
559- ScopedFile file2 (" testpath2 .txt" , " " );
558+ ScopedFile file (" testpath_exists .txt" , " " , " testpath" );
559+ ScopedFile file2 (" testpath_exists_2 .txt" , " " );
560560
561561 ASSERT_EQUALS (true , Path::exists (" testpath" ));
562- ASSERT_EQUALS (true , Path::exists (" testpath2 .txt" ));
562+ ASSERT_EQUALS (true , Path::exists (" testpath_exists_2 .txt" ));
563563
564564 ASSERT_EQUALS (false , Path::exists (" testpath2" ));
565565
566566 bool b = false ;
567567
568568 ASSERT_EQUALS (true , Path::exists (" testpath" , &b));
569569 ASSERT_EQUALS (true , b);
570- ASSERT_EQUALS (true , Path::exists (" testpath/testpath .txt" , &b));
570+ ASSERT_EQUALS (true , Path::exists (" testpath/testpath_exists .txt" , &b));
571571 ASSERT_EQUALS (false , b);
572- ASSERT_EQUALS (true , Path::exists (" testpath2 .txt" , &b));
572+ ASSERT_EQUALS (true , Path::exists (" testpath_exists_2 .txt" , &b));
573573 ASSERT_EQUALS (false , b);
574574
575575 ASSERT_EQUALS (false , Path::exists (" testpath2" , &b));
0 commit comments