- if (!clock_class) {
- BT_ASSERT_COND_DEV_MSG(
- "Expecting clock class %![cc-]+K, got none.",
- iterator->clock_expectation.clock_class);
- result = false;
- goto end;
- }
-
- if (clock_class != iterator->clock_expectation.clock_class) {
- BT_ASSERT_COND_DEV_MSG(
- "Expecting clock class %![cc-]+K, got %![cc-]+K.",
- iterator->clock_expectation.clock_class,
- clock_class);
- result = false;
- goto end;
- }
+ BT_ASSERT_POST_DEV(NEXT_METHOD_NAME,
+ "stream-class-has-clock-class", clock_class,
+ "Expecting a clock class, got none.");