Searched refs:testCase (Results 1 - 4 of 4) sorted by relevance
/haiku/src/tests/kits/interface/bbitmap/ |
H A D | BBitmapTester.cpp | 195 const test_case &testCase = testCases[i]; local 196 int32 width = testCase.bounds.IntegerWidth() + 1; 197 int32 height = testCase.bounds.IntegerHeight() + 1; 198 int32 bpr = get_bytes_per_row(testCase.space, width); 200 BBitmap bitmap(testCase.bounds, testCase.space); 204 CHK(bitmap.Bounds() == testCase.bounds); 205 CHK(bitmap.ColorSpace() == testCase.space); 207 printf("space: %x: bpr: %ld (%ld)\n", testCase.space, bitmap.BytesPerRow(),
|
/haiku/src/tests/kits/interface/flatten_picture/ |
H A D | PictureTestWindow.cpp | 196 TestCase *testCase = &gTestCases[i]; local 210 bool ok = test->Test(testCase->func, frame); 212 TestResultItem *item = new TestResultItem(testCase->name, frame);
|
/haiku/src/tests/kits/storage/ |
H A D | MimeSnifferTest.cpp | 1056 test_case &testCase = testCases[i]; local 1057 //cout << endl << testCase.rule << endl; 1059 status_t error = BMimeType::CheckSnifferRule(testCase.rule, 1061 if (testCase.error == NULL) { 1064 << endl << "RULE: '" << testCase.rule << "'" 1072 // if (parseError.FindLast(testCase.error) >= 0) { 1074 // cout << endl << testCase.error << endl; 1078 if (parseError.FindLast(testCase.error) >= 0) { 1082 cout << testCase.error << endl; 1085 if (testCase [all...] |
H A D | MimeTypeTest.cpp | 4206 test_case &testCase = testCases[i]; 4209 const char *deviceName = testCase.path; 4210 if (testCase.valid) { 4211 dev_t dev = dev_for_path(testCase.path); 4222 bool valid = testCase.valid && validSizes[k]; 4517 test_case &testCase = testCases[i]; 4519 status_t error = BMimeType::CheckSnifferRule(testCase.rule, 4522 // printf("rule == '%s', %s\n", testCase.rule, (testCase.error ? "should not pass" : "should pass")); 4523 if (testCase [all...] |
Completed in 138 milliseconds