projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Run clang-format on the whole tree
[lttng-tools.git]
/
tests
/
unit
/
test_event_expr_to_bytecode.cpp
diff --git
a/tests/unit/test_event_expr_to_bytecode.cpp
b/tests/unit/test_event_expr_to_bytecode.cpp
index fae7eb26ebe214f567a37bdf12bcd0abbf49e73a..48f13e71ee0d9c189bad28aa3580ca10ef2978f3 100644
(file)
--- a/
tests/unit/test_event_expr_to_bytecode.cpp
+++ b/
tests/unit/test_event_expr_to_bytecode.cpp
@@
-5,15
+5,16
@@
*
*/
*
*/
-#include <common/bytecode/bytecode.h>
-#include <lttng/event-expr-internal.h>
+#include <common/bytecode/bytecode.hpp>
+
+#include <lttng/event-expr-internal.hpp>
#include <lttng/event-expr.h>
#include <lttng/event-expr.h>
+
#include <tap/tap.h>
#define NR_TESTS 4
#include <tap/tap.h>
#define NR_TESTS 4
-static
-void test_event_payload_field(void)
+static void test_event_payload_field(void)
{
struct lttng_event_expr *event_expr;
struct lttng_bytecode *bytecode = NULL;
{
struct lttng_event_expr *event_expr;
struct lttng_bytecode *bytecode = NULL;
@@
-28,8
+29,7
@@
void test_event_payload_field(void)
free(bytecode);
}
free(bytecode);
}
-static
-void test_channel_context_field(void)
+static void test_channel_context_field(void)
{
struct lttng_event_expr *event_expr;
struct lttng_bytecode *bytecode = NULL;
{
struct lttng_event_expr *event_expr;
struct lttng_bytecode *bytecode = NULL;
@@
-44,8
+44,7
@@
void test_channel_context_field(void)
free(bytecode);
}
free(bytecode);
}
-static
-void test_app_specific_context_field(void)
+static void test_app_specific_context_field(void)
{
struct lttng_event_expr *event_expr;
struct lttng_bytecode *bytecode = NULL;
{
struct lttng_event_expr *event_expr;
struct lttng_bytecode *bytecode = NULL;
@@
-60,8
+59,7
@@
void test_app_specific_context_field(void)
free(bytecode);
}
free(bytecode);
}
-static
-void test_array_field_element(void)
+static void test_array_field_element(void)
{
struct lttng_event_expr *event_expr;
struct lttng_bytecode *bytecode = NULL;
{
struct lttng_event_expr *event_expr;
struct lttng_bytecode *bytecode = NULL;
This page took
0.026 seconds
and
4
git commands to generate.