Lines Matching refs:TestPredicate
574 // TestPredicate
577 TestPredicate(const PredicateNode &predicateNode, status_t pushResult = B_OK,
648 TestPredicate(OpNode(op,
652 TestPredicate(OpNode(op,
656 TestPredicate(OpNode(op,
661 TestPredicate(OpNode(op, new AttributeNode("attribute"), NULL), B_OK,
667 TestPredicate(OpNode(op, NULL, NULL), B_OK, B_NO_INIT);
668 TestPredicate(OpNode(op,
696 TestPredicate(Int32Node(42));
697 TestPredicate(UInt32Node(42));
698 TestPredicate(Int64Node(42));
701 TestPredicate(UInt64Node(42));
703 TestPredicate(FloatNode(42));
704 TestPredicate(DoubleNode(42));
705 TestPredicate(StringNode("some \" chars ' to \\ be ( escaped ) or "
707 TestPredicate(StringNode("some \" chars ' to \\ be ( escaped ) or "
709 TestPredicate(DateNode("+15 min"));
710 TestPredicate(DateNode("22 May 2002"));
711 TestPredicate(DateNode("tomorrow"));
712 TestPredicate(DateNode("17:57"));
713 TestPredicate(DateNode("invalid date"), B_BAD_VALUE);
714 TestPredicate(AttributeNode("some attribute"));
730 TestPredicate(OpNode(B_NOT, new AttributeNode("attribute")));
731 TestPredicate(OpNode(B_NOT, new Int32Node(42)));
732 TestPredicate(OpNode(B_NOT, new StringNode("some string")));
733 TestPredicate(OpNode(B_NOT, new StringNode("some string", true)));
734 TestPredicate(OpNode(B_NOT, new DateNode("22 May 2002")));
735 TestPredicate(OpNode(B_NOT, NULL), B_OK, B_NO_INIT);
739 TestPredicate(OpNode(B_AND,
760 TestPredicate(OpNode(B_EQ,
774 TestPredicate(ListNode(new Int32Node(42), new StringNode("hello!")),
776 TestPredicate(OpNode(B_EQ,