Lines Matching +full:cmd +full:- +full:cnt +full:- +full:name
1 // SPDX-License-Identifier: GPL-2.0
15 TEST_ASSERT_VAL("cannot find cmd", is_in_cmdlist(&cmds, "aaa") == 1); in test__load_cmdnames()
16 TEST_ASSERT_VAL("wrong cmd", is_in_cmdlist(&cmds, "bar") == 0); in test__load_cmdnames()
33 TEST_ASSERT_VAL("invalid original size", cmds.cnt == 3); in test__uniq_cmdnames()
36 TEST_ASSERT_VAL("invalid final size", cmds.cnt == 2); in test__uniq_cmdnames()
38 TEST_ASSERT_VAL("cannot find cmd", is_in_cmdlist(&cmds, "aaa") == 1); in test__uniq_cmdnames()
39 TEST_ASSERT_VAL("cannot find cmd", is_in_cmdlist(&cmds, "bbb") == 1); in test__uniq_cmdnames()
40 TEST_ASSERT_VAL("wrong cmd", is_in_cmdlist(&cmds, "ccc") == 0); in test__uniq_cmdnames()
67 TEST_ASSERT_VAL("invalid original size", cmds1.cnt == 10); in test__exclude_cmdnames()
68 TEST_ASSERT_VAL("invalid original size", cmds2.cnt == 3); in test__exclude_cmdnames()
73 TEST_ASSERT_VAL("invalid excluded size", cmds1.cnt == 7); in test__exclude_cmdnames()
74 TEST_ASSERT_VAL("invalid excluded size", cmds2.cnt == 3); in test__exclude_cmdnames()
77 TEST_ASSERT_VAL("cannot find cmd", is_in_cmdlist(&cmds1, "aaa") == 1); in test__exclude_cmdnames()
78 TEST_ASSERT_VAL("wrong cmd", is_in_cmdlist(&cmds1, "bbb") == 0); in test__exclude_cmdnames()
79 TEST_ASSERT_VAL("cannot find cmd", is_in_cmdlist(&cmds1, "ccc") == 1); in test__exclude_cmdnames()
80 TEST_ASSERT_VAL("cannot find cmd", is_in_cmdlist(&cmds1, "ddd") == 1); in test__exclude_cmdnames()
81 TEST_ASSERT_VAL("wrong cmd", is_in_cmdlist(&cmds1, "eee") == 0); in test__exclude_cmdnames()
82 TEST_ASSERT_VAL("cannot find cmd", is_in_cmdlist(&cmds1, "fff") == 1); in test__exclude_cmdnames()
83 TEST_ASSERT_VAL("cannot find cmd", is_in_cmdlist(&cmds1, "ggg") == 1); in test__exclude_cmdnames()
84 TEST_ASSERT_VAL("cannot find cmd", is_in_cmdlist(&cmds1, "hhh") == 1); in test__exclude_cmdnames()
85 TEST_ASSERT_VAL("cannot find cmd", is_in_cmdlist(&cmds1, "iii") == 1); in test__exclude_cmdnames()
86 TEST_ASSERT_VAL("wrong cmd", is_in_cmdlist(&cmds1, "jjj") == 0); in test__exclude_cmdnames()
89 TEST_ASSERT_VAL("cannot find cmd", is_in_cmdlist(&cmds2, "bbb") == 1); in test__exclude_cmdnames()
90 TEST_ASSERT_VAL("cannot find cmd", is_in_cmdlist(&cmds2, "eee") == 1); in test__exclude_cmdnames()
91 TEST_ASSERT_VAL("cannot find cmd", is_in_cmdlist(&cmds2, "jjj") == 1); in test__exclude_cmdnames()
102 { .name = NULL, }