Home
last modified time | relevance | path

Searched refs:testFile1 (Results 1 – 8 of 8) sorted by relevance

/haiku/src/tests/kits/storage/
H A DNodeInfoTest.cpp33 static const char *testFile1 = "/tmp/testDir/file1"; variable
125 + "; touch " + testFile1 in setUp()
204 BNode node(testFile1); in InitTest1()
234 BNode node(testFile1); in InitTest2()
343 BNode node(testFile1); in TypeTest()
358 BNode node(testFile1); in TypeTest()
367 BNode node(testFile1); in TypeTest()
389 BNode node(testFile1); in TypeTest()
407 BNode node(testFile1); in TypeTest()
420 BNode node(testFile1); in TypeTest()
[all …]
H A DAppFileInfoTest.cpp32 static const char *testFile1 = "/tmp/testDir/file1"; variable
173 + "; touch " + testFile1 in setUp()
1053 BFile file(testFile1, B_READ_WRITE); in InitTest1()
1094 BFile file(testFile1, B_READ_WRITE); in InitTest2()
1133 BFile file(testFile1, B_READ_WRITE); in TypeTest()
1148 BFile file(testFile1, B_READ_WRITE); in TypeTest()
1157 BFile file(testFile1, B_READ_WRITE); in TypeTest()
1183 BFile file(testFile1, B_READ_WRITE); in TypeTest()
1203 BFile file(testFile1, B_READ_WRITE); in TypeTest()
1218 BFile file(testFile1, B_READ_WRITE); in TypeTest()
[all …]
H A DVolumeTest.cpp37 static const char *testFile1 = "/tmp/testDir/file1"; variable
86 createVolume(testFile1, testMountPoint, 1); in setUp()
107 deleteVolume(testFile1, testMountPoint); in tearDown()
580 deleteVolume(testFile1, testMountPoint, false); in WatchingTest()
588 createVolume(testFile1, testMountPoint, 1, false); in WatchingTest()
600 deleteVolume(testFile1, testMountPoint, false); in WatchingTest()
605 createVolume(testFile1, testMountPoint, 1, false); in WatchingTest()
616 deleteVolume(testFile1, testMountPoint, false); in WatchingTest()
617 createVolume(testFile1, testMountPoint, 1, false); in WatchingTest()
H A DResourcesTest.cpp31 static const char *testFile1 = "/tmp/testDir/testFile1"; variable
1093 execCommand(string("cp ") + x86ResFile + " " + testFile1); in SyncTest()
1095 BFile file(testFile1, B_READ_WRITE); in SyncTest()
1115 BFile file(testFile1, B_READ_ONLY); in SyncTest()
1145 BFile file(testFile1, B_READ_WRITE | B_CREATE_FILE | B_ERASE_FILE); in MergeTest()
1161 BFile file(testFile1, B_READ_WRITE | B_CREATE_FILE | B_ERASE_FILE); in MergeTest()
1182 BFile file(testFile1, B_READ_WRITE | B_CREATE_FILE | B_ERASE_FILE); in MergeTest()
1227 BFile file2(testFile1, B_READ_WRITE | B_CREATE_FILE | B_ERASE_FILE); in WriteToTest()
1247 execCommand(string("cp ") + elfNoResFile + " " + testFile1); in WriteToTest()
1253 BFile file2(testFile1, B_READ_WRITE | B_CREATE_FILE | B_ERASE_FILE); in WriteToTest()
[all …]
H A DResourceStringsTest.cpp28 static const char *testFile1 = "/tmp/testDir/testFile1"; variable
200 BFile file(testFile1, B_READ_WRITE | B_CREATE_FILE | B_ERASE_FILE); in setUp()
301 CPPUNIT_ASSERT( get_ref_for_path(testFile1, &ref) == B_OK ); in InitTest1()
312 CPPUNIT_ASSERT( get_ref_for_path(testFile1, &ref) == B_OK ); in InitTest1()
359 CPPUNIT_ASSERT( get_ref_for_path(testFile1, &ref) == B_OK ); in InitTest1()
434 CPPUNIT_ASSERT( get_ref_for_path(testFile1, &ref) == B_OK ); in InitTest2()
446 CPPUNIT_ASSERT( get_ref_for_path(testFile1, &ref) == B_OK ); in InitTest2()
560 entry_ref ref = ref_for(testFile1); in FindStringTest()
H A DQueryTest.cpp1412 QueryTestEntry testFile1(subdir21 + "testFileArgh", B_FILE_NODE); in LiveTest() local
1419 &testDir1, &testDir2, &testFile1, &testFile2, in LiveTest()
1424 &testDir1, &testFile1, &testLink1 in LiveTest()
1457 QueryTestEntry testFile1(subdir21 + "testFile1", B_FILE_NODE); in LiveTest() local
1465 &testDir1, &testDir2, &testFile1, &testFile2, in LiveTest()
1470 &testFile1, &testFile2, &testFile3 in LiveTest()
/haiku/src/tests/kits/app/broster/
H A DFindAppTester.cpp50 static const char *testFile1 = "/tmp/testdir/testFile1"; variable
654 entry_ref fileRef(create_file(testFile1, fileType1, appType1)); in FindAppTestB1()
669 entry_ref fileRef(ref_for_path(testFile1)); in FindAppTestB2()
684 entry_ref fileRef(create_file(testFile1, fileType1, appType1)); in FindAppTestB3()
703 entry_ref fileRef(create_file(testFile1, fileType1, appType2)); in FindAppTestB4()
722 entry_ref fileRef(create_file(testFile1, NULL, appType1)); in FindAppTestB5()
744 entry_ref fileRef(create_file(testFile1, fileType1, NULL, appFile2)); in FindAppTestB6()
764 entry_ref fileRef(create_file(testFile1, fileType1)); in FindAppTestB7()
765 system((string("chmod a+x ") + testFile1).c_str()); in FindAppTestB7()
768 CHK(ref_for_path(testFile1) == ref); in FindAppTestB7()
[all …]
H A DLaunchTester.cpp56 static const char *testFile1 = "/tmp/testdir/testFile1"; variable
1795 fRef = create_file(testFile1, type); in operator ()()
1814 fRef = create_file(testFile1, type, NULL, NULL, "UnIQe pAtTeRn"); in operator ()()
1848 entry_ref fileRef(ref_for_path(testFile1)); in LaunchTestD2()
1868 entry_ref fileRef(create_file(testFile1, fileType1, appType2)); in LaunchTestD3()
1904 entry_ref fileRef(create_file(testFile1, NULL, appType1)); in LaunchTestD4()
1943 entry_ref fileRef(create_file(testFile1, fileType1, NULL, appFile2)); in LaunchTestD5()
1980 entry_ref fileRef(create_file(testFile1, fileType1)); in LaunchTestD6()
1981 system((string("chmod a+x ") + testFile1).c_str()); in LaunchTestD6()
2005 create_file(testFile1, fileType1); in LaunchTestD7()
[all …]