Lines Matching refs:test

46 // testType and testTypeApp are Delete()d after each test.
55 "x-vnd.obos.mime.test.test1";
57 "x-vnd.obos.mime.test.test2";
59 "x-vnd.obos.mime.test.test3";
85 static const char *testDescr = "Just a test, nothing more :-)";
86 static const char *testDescr2 = "Another amazing test string";
94 static const char *testSig = "application/x-vnd.obos.mime-type-test";
95 static const char *testSig2 = "application/x-vnd.obos.mime-type-test-2";
96 static const char *longSig = "application/x-vnd.obos.mime-type-test-long."
573 // Uninistall our test type
580 fprintf(stderr, "Failed to unistall test type \"%s\"\n", testType); */
670 // Delete test
881 // Delete test
1171 // Delete test
1381 // Delete test
1826 // This test gets the list of installed types, then iterates through
1845 // This test gets the list of installed super types, then iterates through
1935 // Delete test
2084 // Delete test
2402 // test that supported types stranded by multiple sequential calls to
2514 // Now test that SetSupportedTypes(NULL, true) updates the supporting
2779 // We test only a few types here. Exhausting testing is done in
3046 // test loop
3049 mime_type_test &test = tests[i];
3050 BMimeType type(test.type);
3051 CHK(type.InitCheck() == test.error);
3052 bool valid = (test.error == B_OK);
3053 bool validSuper = (valid && test.super_type);
3056 CHK(string(type.Type()) == test.type);
3062 CHK(BMimeType::IsValid(test.type) == valid);
3069 BString typeString(test.type);
3084 bool equal = (!strcmp(test.type, test2.type));
3191 // test:
3628 // had a value. The following test shows, that BEOS:TYPE remains unchanged
3954 "application/x-vnd.obos.mime.test.test1",
3960 "application/x-vnd.obos.mime.test.test2",
3966 "application/x-vnd.obos.mime.test.test3",
4072 // test the force flag
4089 "application/x-vnd.obos.mime.test.test1",
4093 "application/x-vnd.obos.mime.test.test1",
4123 "application/x-vnd.obos.mime.test.test1",
4127 "application/x-vnd.obos.mime.test.test1",
4194 // test a volume device, a non-volume device, and an invalid dev name
4247 // test a couple of valid and invalid rules
4673 // install some test types with sniffer rules
4729 // meta mime test