Home
last modified time | relevance | path

Searched refs:testCommand (Results 1 – 2 of 2) sorted by relevance

/system/core/libsysutils/src/
DSocketListener_test.cpp139 void testCommand(const char* command, const char* expected) { in testCommand() function in FrameworkListenerTest
159 testCommand("test", "42 test"); in TEST_F()
160 testCommand("test arg1 arg2", "42 test,arg1,arg2"); in TEST_F()
161 testCommand("test \"arg1 still_arg1\" arg2", "42 test,arg1 still_arg1,arg2"); in TEST_F()
162 testCommand("test \"escaped quote: '\\\"'\"", "42 test,escaped quote: '\"'"); in TEST_F()
166 testCommand("test ", "42 test,,,"); in TEST_F()
170 testCommand("unknown arg1 arg2", "500 Command not recognized"); in TEST_F()
171 testCommand("test \"arg1 arg2", "500 Unclosed quotes error"); in TEST_F()
172 testCommand("test \\a", "500 Unsupported escape sequence"); in TEST_F()
/system/teeui/libteeui/include/teeui/
Dgeneric_operation.h173 ResponseCode deliverTestCommand(TestModeCommands testCommand) { in deliverTestCommand() argument
175 auto rc = static_cast<Derived*>(this)->testCommandHook(testCommand); in deliverTestCommand()
177 switch (testCommand) { in deliverTestCommand()