Lines Matching refs:TEST_ASSERT_VAL
22 TEST_ASSERT_VAL("wrong id", ev->id == 123); in process_event_unit()
23 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__UNIT); in process_event_unit()
24 TEST_ASSERT_VAL("wrong unit", !strcmp(ev->unit, "KRAVA")); in process_event_unit()
35 TEST_ASSERT_VAL("wrong id", ev->id == 123); in process_event_scale()
36 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__SCALE); in process_event_scale()
37 TEST_ASSERT_VAL("wrong scale", ev->scale.scale == 0.123); in process_event_scale()
54 TEST_ASSERT_VAL("wrong id", ev->id == 123); in process_event_name()
55 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__NAME); in process_event_name()
56 TEST_ASSERT_VAL("wrong name", !strcmp(ev->name, tmp->name)); in process_event_name()
70 TEST_ASSERT_VAL("wrong id", ev->id == 123); in process_event_cpus()
71 TEST_ASSERT_VAL("wrong type", ev->type == PERF_EVENT_UPDATE__CPUS); in process_event_cpus()
72 TEST_ASSERT_VAL("wrong cpus", perf_cpu_map__nr(map) == 3); in process_event_cpus()
73 TEST_ASSERT_VAL("wrong cpus", perf_cpu_map__cpu(map, 0).cpu == 1); in process_event_cpus()
74 TEST_ASSERT_VAL("wrong cpus", perf_cpu_map__cpu(map, 1).cpu == 2); in process_event_cpus()
75 TEST_ASSERT_VAL("wrong cpus", perf_cpu_map__cpu(map, 2).cpu == 3); in process_event_cpus()
86 TEST_ASSERT_VAL("failed to get evlist", evlist); in test__event_update()
90 TEST_ASSERT_VAL("failed to allocate ids", in test__event_update()
98 TEST_ASSERT_VAL("failed to synthesize attr update unit", in test__event_update()
103 TEST_ASSERT_VAL("failed to synthesize attr update scale", in test__event_update()
109 TEST_ASSERT_VAL("failed to synthesize attr update name", in test__event_update()
114 TEST_ASSERT_VAL("failed to synthesize attr update cpus", in test__event_update()