Lines Matching refs:expected_event
27 static QDict *expected_event; variable
34 g_assert(expected_event); in test_qapi_event_emit()
51 g_assert(qobject_is_equal(QOBJECT(d), QOBJECT(expected_event))); in test_qapi_event_emit()
52 qobject_unref(expected_event); in test_qapi_event_emit()
53 expected_event = NULL; in test_qapi_event_emit()
58 expected_event = qdict_from_jsonf_nofail("{ 'event': 'EVENT_A' }"); in test_event_a()
60 g_assert(!expected_event); in test_event_a()
65 expected_event = qdict_from_jsonf_nofail("{ 'event': 'EVENT_B' }"); in test_event_b()
67 g_assert(!expected_event); in test_event_b()
74 expected_event = qdict_from_jsonf_nofail( in test_event_c()
78 g_assert(!expected_event); in test_event_c()
95 expected_event = qdict_from_jsonf_nofail( in test_event_d()
102 g_assert(!expected_event); in test_event_d()
107 expected_event = qdict_from_jsonf_nofail("{ 'event': 'TEST_EVENT_FEATURES1' }"); in test_event_deprecated()
112 g_assert(!expected_event); in test_event_deprecated()
123 expected_event = qdict_from_jsonf_nofail("{ 'event': 'TEST_EVENT_FEATURES0'," in test_event_deprecated_data()
126 g_assert(!expected_event); in test_event_deprecated_data()
131 expected_event = qdict_from_jsonf_nofail("{ 'event': 'TEST_EVENT_FEATURES0' }"); in test_event_deprecated_data()