TEST(XmlRpcArrayElementParser, NegativeTests) { // empty string should not match test_negative(""); // two objects should not match test_negative("<object /><object />"); // naked value should not match test_negative("<null />"); }
void test() { srand(time(0)); for (int u = 0; u < MAX_TESTS; ++u) test_positive(); for (int u = 0; u < MAX_TESTS; ++u) test_negative(); }
int main() { std::cout << "this is bar_test, hello\n"; test_negative(); test_positive(); test_zero(); }
TEST(XmlVersionDeclParser, NegativeTests) { // empty string should not match test_negative(""); // <?xml version='1.0' ?> with leading space should not match // TODO uncomment this test_negative(" <?xml version='1.0' ?>"); }
static bool call(fusion::extension::adt_attribute_proxy<T, N, Const> const& val) { return test_negative(val.get()); }