search for: test_strings_equal

Displaying 1 result from an estimated 1 matches for "test_strings_equal".

2019 Mar 06
2
Problem while writing test cases for api_termgen
...quot;remoteprog_glass"... > Running tests with backend "remotetcp_glass"... > ./apitest total: 0 tests passed, 1 failed. How to predicate the 'expect' string? === while reading the code in xapian-core/tests/api_termgen.cc, I found the test assertion may be this: > TEST_STRINGS_EQUAL(output, expect); I guess the order of terms in 'expect' string is fixed, is that right? And if my guess is right, how to predicate the order? How to print the args of TEST_STRINGS_EQUAL? === with reading the code of TEST_STRINGS_EQUAL, I think it should print the input args if they are d...