update kunity runner
This commit is contained in:
Submodule test/lib/KUnity updated: 09b89307c8...2909c6a091
@@ -1,20 +1,23 @@
|
||||
#include <linux/string.h>
|
||||
#include <kunity.h>
|
||||
#include <fff.h>
|
||||
DEFINE_FFF_GLOBALS
|
||||
#include <kunity_test_finder.h>
|
||||
|
||||
FAKE_VOID_FUNC(IO_MEM_WR8, int, int);
|
||||
|
||||
|
||||
KUNITY_TEST(bar_test)
|
||||
KUNITY_TEST(test_find_test_null_argument)
|
||||
{
|
||||
IO_MEM_WR8(1,0);
|
||||
TEST_ASSERT_EQUAL_INT(1, IO_MEM_WR8_fake.call_count);
|
||||
TEST_ASSERT_TRUE(1)
|
||||
TEST_ASSERT_EQUAL(ERROR_NULL_ARGUMENT, find_tests(NULL));
|
||||
}
|
||||
|
||||
KUNITY_TEST(test_find_test_invalid_argument)
|
||||
{
|
||||
test_list_s list;
|
||||
test_query_s query ={ KUNITY_DEFAULT_TEST_NAME_FITER_STR, "*", &list};
|
||||
|
||||
TEST_ASSERT_EQUAL(ERROR_INVALID_ARGUMENT, find_tests(&query));
|
||||
}
|
||||
|
||||
KUNITY_TEST(test_find_test_found)
|
||||
{
|
||||
TEST_IGNORE();
|
||||
}
|
||||
|
||||
|
||||
void bar_test_2(void)
|
||||
{
|
||||
kunity_test_bar_test();
|
||||
pr_info ("huhu");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user