Lines Matching refs:tests
257 static Test const tests[] = { in TEST_F() local
278 for (std::size_t i = 0; i < sizeof tests / sizeof tests[0]; ++i) { in TEST_F()
281 m_context, rtl::OUString::createFromAscii(tests[i].base), in TEST_F()
282 rtl::OUString::createFromAscii(tests[i].absolute))); in TEST_F()
283 bool ok = tests[i].relative == 0 in TEST_F()
285 : ref.is() && ref->getUriReference().equalsAscii(tests[i].relative); in TEST_F()
290 buf.append(tests[i].base); in TEST_F()
292 buf.append(tests[i].absolute); in TEST_F()
304 if (tests[i].relative == 0) { in TEST_F()
308 buf.append(tests[i].relative); in TEST_F()
326 static Test const tests[] = { in TEST_F() local
410 for (std::size_t i = 0; i < sizeof tests / sizeof tests[0]; ++i) { in TEST_F()
411 rtl::OUString input(rtl::OUString::createFromAscii(tests[i].input)); in TEST_F()
416 bool ok = tests[i].result == 0 in TEST_F()
419 : (result.equalsAscii(tests[i].result) && begin == tests[i].begin in TEST_F()
420 && end == tests[i].end); in TEST_F()
425 buf.append(tests[i].input); in TEST_F()
427 buf.append(tests[i].result == 0 ? "none" : tests[i].result); in TEST_F()
429 buf.append(static_cast< sal_Int32 >(tests[i].begin)); in TEST_F()
431 buf.append(static_cast< sal_Int32 >(tests[i].end)); in TEST_F()