Rename bt_ctf_trace_get_byte_order() -> bt_ctf_trace_get_native_byte_order()
[babeltrace.git] / tests / lib / test_ctf_writer.c
index f6224f5c8f9977e9b02f29f512eb789b5a147625..0d2b5839731bc8e344504463152ced49e15b64c9 100644 (file)
@@ -2903,8 +2903,8 @@ int main(int argc, char **argv)
                "bt_ctf_writer_get_trace returns a bt_ctf_trace object");
        ok(bt_ctf_trace_set_native_byte_order(trace, BT_CTF_BYTE_ORDER_BIG_ENDIAN) == 0,
                "Set a trace's byte order to big endian");
-       ok(bt_ctf_trace_get_byte_order(trace) == BT_CTF_BYTE_ORDER_BIG_ENDIAN,
-               "bt_ctf_trace_get_byte_order returns a correct endianness");
+       ok(bt_ctf_trace_get_native_byte_order(trace) == BT_CTF_BYTE_ORDER_BIG_ENDIAN,
+               "bt_ctf_trace_get_native_byte_order returns a correct endianness");
 
        /* Add environment context to the trace */
        ret = gethostname(hostname, sizeof(hostname));
This page took 0.024497 seconds and 4 git commands to generate.