Home | History | Annotate | Download | only in tests

Lines Matching refs:action

21 #include "Action.h"
25 uint8_t memory[Action::MaxActionSize()];
27 Action* action = Action::CreateAction(0x1234, "malloc", line, memory);
28 ASSERT_TRUE(action != NULL);
29 ASSERT_FALSE(action->DoesFree());
30 ASSERT_FALSE(action->EndThread());
33 action->Execute(&pointers);
42 Action* action = Action::CreateAction(0x1234, "malloc", line, memory);
43 ASSERT_FALSE(action != NULL);
49 Action* action = Action::CreateAction(0x1234, "free", line, memory);
50 ASSERT_TRUE(action != NULL);
51 ASSERT_TRUE(action->DoesFree());
52 ASSERT_FALSE(action->EndThread());
56 action->Execute(&pointers);
62 Action* action = Action::CreateAction(0x1234, "calloc", line, memory);
63 ASSERT_TRUE(action != NULL);
64 ASSERT_FALSE(action->DoesFree());
65 ASSERT_FALSE(action->EndThread());
68 action->Execute(&pointers);
77 Action* action = Action::CreateAction(0, "free", line, memory);
78 ASSERT_TRUE(action != NULL);
79 ASSERT_FALSE(action->DoesFree());
80 ASSERT_FALSE(action->EndThread());
82 action->Execute(nullptr);
88 Action* action = Action::CreateAction(0x1234, "calloc", line1, memory);
89 ASSERT_FALSE(action != NULL);
92 action = Action::CreateAction(0x1234, "calloc", line2, memory);
93 ASSERT_FALSE(action != NULL);
99 Action* action = Action::CreateAction(0x1234, "realloc", line, memory);
100 ASSERT_TRUE(action != NULL);
101 ASSERT_TRUE(action->DoesFree());
102 ASSERT_FALSE(action->EndThread());
106 action->Execute(&pointers);
112 action = Action::CreateAction(0x1234, "realloc", null_line, memory);
113 ASSERT_FALSE(action->DoesFree());
114 ASSERT_FALSE(action->EndThread());
116 action->Execute(&pointers);
125 Action* action = Action::CreateAction(0x1234, "realloc", line1, memory);
126 ASSERT_FALSE(action != NULL);
129 action = Action::CreateAction(0x1234, "realloc", line2, memory);
130 ASSERT_FALSE(action != NULL);
136 Action* action = Action::CreateAction(0x1234, "memalign", line, memory);
137 ASSERT_TRUE(action != NULL);
138 ASSERT_FALSE(action->DoesFree());
139 ASSERT_FALSE(action->EndThread());
142 action->Execute(&pointers);
151 Action* action = Action::CreateAction(0x1234, "memalign", line1, memory);
152 ASSERT_FALSE(action != NULL);
155 action = Action::CreateAction(0x1234, "memalign", line2, memory);
156 ASSERT_FALSE(action != NULL);
162 Action* action = Action::CreateAction(0x0, "thread_done", line, memory);
163 ASSERT_TRUE(action != NULL);
164 ASSERT_FALSE(action->DoesFree());
165 ASSERT_TRUE(action->EndThread());
167 action->Execute(nullptr);