Lines Matching full:expected
173 * Defines a test by name and the expected term signal.
450 * @expected: expected value
453 * ASSERT_EQ(expected, measured): expected == measured
455 #define ASSERT_EQ(expected, seen) \ argument
456 __EXPECT(expected, #expected, seen, #seen, ==, 1)
461 * @expected: expected value
464 * ASSERT_NE(expected, measured): expected != measured
466 #define ASSERT_NE(expected, seen) \ argument
467 __EXPECT(expected, #expected, seen, #seen, !=, 1)
472 * @expected: expected value
475 * ASSERT_LT(expected, measured): expected < measured
477 #define ASSERT_LT(expected, seen) \ argument
478 __EXPECT(expected, #expected, seen, #seen, <, 1)
483 * @expected: expected value
486 * ASSERT_LE(expected, measured): expected <= measured
488 #define ASSERT_LE(expected, seen) \ argument
489 __EXPECT(expected, #expected, seen, #seen, <=, 1)
494 * @expected: expected value
497 * ASSERT_GT(expected, measured): expected > measured
499 #define ASSERT_GT(expected, seen) \ argument
500 __EXPECT(expected, #expected, seen, #seen, >, 1)
505 * @expected: expected value
508 * ASSERT_GE(expected, measured): expected >= measured
510 #define ASSERT_GE(expected, seen) \ argument
511 __EXPECT(expected, #expected, seen, #seen, >=, 1)
546 * @expected: expected value
549 * ASSERT_STREQ(expected, measured): !strcmp(expected, measured)
551 #define ASSERT_STREQ(expected, seen) \ argument
552 __EXPECT_STR(expected, seen, ==, 1)
557 * @expected: expected value
560 * ASSERT_STRNE(expected, measured): strcmp(expected, measured)
562 #define ASSERT_STRNE(expected, seen) \ argument
563 __EXPECT_STR(expected, seen, !=, 1)
568 * @expected: expected value
571 * EXPECT_EQ(expected, measured): expected == measured
573 #define EXPECT_EQ(expected, seen) \ argument
574 __EXPECT(expected, #expected, seen, #seen, ==, 0)
579 * @expected: expected value
582 * EXPECT_NE(expected, measured): expected != measured
584 #define EXPECT_NE(expected, seen) \ argument
585 __EXPECT(expected, #expected, seen, #seen, !=, 0)
590 * @expected: expected value
593 * EXPECT_LT(expected, measured): expected < measured
595 #define EXPECT_LT(expected, seen) \ argument
596 __EXPECT(expected, #expected, seen, #seen, <, 0)
601 * @expected: expected value
604 * EXPECT_LE(expected, measured): expected <= measured
606 #define EXPECT_LE(expected, seen) \ argument
607 __EXPECT(expected, #expected, seen, #seen, <=, 0)
612 * @expected: expected value
615 * EXPECT_GT(expected, measured): expected > measured
617 #define EXPECT_GT(expected, seen) \ argument
618 __EXPECT(expected, #expected, seen, #seen, >, 0)
623 * @expected: expected value
626 * EXPECT_GE(expected, measured): expected >= measured
628 #define EXPECT_GE(expected, seen) \ argument
629 __EXPECT(expected, #expected, seen, #seen, >=, 0)
664 * @expected: expected value
667 * EXPECT_STREQ(expected, measured): !strcmp(expected, measured)
669 #define EXPECT_STREQ(expected, seen) \ argument
670 __EXPECT_STR(expected, seen, ==, 0)
675 * @expected: expected value
678 * EXPECT_STRNE(expected, measured): strcmp(expected, measured)
680 #define EXPECT_STRNE(expected, seen) \ argument
681 __EXPECT_STR(expected, seen, !=, 0)
715 __TH_LOG("Expected %s (%llu) %s %s (%llu)", \
723 __TH_LOG("Expected %s (%llu) %s %s (%lld)", \
731 __TH_LOG("Expected %s (%lld) %s %s (%llu)", \
739 __TH_LOG("Expected %s (%lld) %s %s (%lld)", \
756 __TH_LOG("Expected '%s' %s '%s'.", __exp, #_t, __seen); \