summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-10-20 21:08:48 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-10-20 21:17:18 -0500
commitc3e2b9e4d1501d5da08b4bc19ee05f30aadf4f90 (patch)
tree2d34178659bcfdc4c11d779a94c691e6885d102b /tools
parent92320c2a5c84b3abbe2b449bd5be090479f2fe9a (diff)
downloadofono-c3e2b9e4d1501d5da08b4bc19ee05f30aadf4f90.tar.bz2
stktest: Add GetInput test sequence 11.1-11.2
Diffstat (limited to 'tools')
-rw-r--r--tools/stktest.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/stktest.c b/tools/stktest.c
index b3700ed0..d9a3e315 100644
--- a/tools/stktest.c
+++ b/tools/stktest.c
@@ -2832,6 +2832,12 @@ static DBusMessage *test_get_input_102(DBusMessage *msg,
return reply;
}
+GET_INPUT_9X_11X_TEMPLATE(111,"ル")
+GET_INPUT_9X_11X_TEMPLATE(112, "ルルルルルルルルルルルルルルルルルルルル"
+ "ルルルルルルルルルルルルルルルルルルルル"
+ "ルルルルルルルルルルルルルルルルルルルル"
+ "ルルルルルルルルルル")
+
static void power_down_reply(DBusPendingCall *call, void *user_data)
{
__stktest_test_next();
@@ -3487,6 +3493,18 @@ static void __stktest_test_init(void)
sizeof(get_input_response_1021),
test_get_input_102,
expect_response_and_finish);
+ stktest_add_test("Get Input 11.1", "RequestInput",
+ get_input_1111, sizeof(get_input_1111),
+ get_input_response_1111,
+ sizeof(get_input_response_1111),
+ test_get_input_111,
+ expect_response_and_finish);
+ stktest_add_test("Get Input 11.2", "RequestInput",
+ get_input_1121, sizeof(get_input_1121),
+ get_input_response_1121,
+ sizeof(get_input_response_1121),
+ test_get_input_112,
+ expect_response_and_finish);
}
static void test_destroy(gpointer user_data)