test_ctf_writer.c: do not check for invalid event class name
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 15 Jun 2017 20:32:38 +0000 (16:32 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 16 Jun 2017 19:52:46 +0000 (15:52 -0400)
All event class names are valid. This is an old limitation.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/lib/test_ctf_writer.c

index a7a55b949db0ccb9b867ada31d23e2d4fd0c17a9..9eed82f42014e800fbe45f91237a8d7e160809bc 100644 (file)
@@ -61,7 +61,7 @@
 #define DEFAULT_CLOCK_TIME 0
 #define DEFAULT_CLOCK_VALUE 0
 
-#define NR_TESTS 634
+#define NR_TESTS 633
 
 static int64_t current_time = 42;
 
@@ -783,8 +783,6 @@ void append_complex_event(struct bt_ctf_stream_class *stream_class,
                inner_structure_type, "inner_structure"),
                "Add inner_structure field to complex structure");
 
-       ok(bt_ctf_event_class_create("clock") == NULL,
-               "Reject creation of an event class with an illegal name");
        event_class = bt_ctf_event_class_create(complex_test_event_string);
        ok(event_class, "Create an event class");
        ok(bt_ctf_event_class_add_field(event_class, uint_35_type, ""),
This page took 0.025927 seconds and 4 git commands to generate.