summaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-10-31 11:55:24 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-10-31 16:14:27 -0500
commitc6158d739ab04ffe33256c66cdaecabd9b3ec769 (patch)
tree36350b1f1033899f472a566f8905eab74efae59a /unit
parent3ca41c73d582e0a3bace6df4d88c5f3297c577bc (diff)
downloadofono-c6158d739ab04ffe33256c66cdaecabd9b3ec769.tar.bz2
unit: Move PlayTone 2.1 test data
Diffstat (limited to 'unit')
-rw-r--r--unit/stk-test-data.h25
-rw-r--r--unit/test-stkutil.c27
2 files changed, 25 insertions, 27 deletions
diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h
index 160bc1a7..a8a8e2f5 100644
--- a/unit/stk-test-data.h
+++ b/unit/stk-test-data.h
@@ -1243,3 +1243,28 @@ static const unsigned char play_tone_1115[] = {
};
#define play_tone_response_1115 play_tone_response_111
+
+static const unsigned char play_tone_211[] = {
+ 0xD0, 0x2B, 0x81, 0x03, 0x01, 0x20, 0x00, 0x82, 0x02, 0x81, 0x03, 0x85,
+ 0x19, 0x80, 0x04, 0x17, 0x04, 0x14, 0x04, 0x20, 0x04, 0x10, 0x04, 0x12,
+ 0x04, 0x21, 0x04, 0x22, 0x04, 0x12, 0x04, 0x23, 0x04, 0x19, 0x04, 0x22,
+ 0x04, 0x15, 0x8E, 0x01, 0x11, 0x84, 0x02, 0x01, 0x01
+};
+
+#define play_tone_response_211 play_tone_response_111
+
+static const unsigned char play_tone_212[] = {
+ 0xD0, 0x21, 0x81, 0x03, 0x01, 0x20, 0x00, 0x82, 0x02, 0x81, 0x03, 0x85,
+ 0x0F, 0x81, 0x0C, 0x08, 0x97, 0x94, 0xA0, 0x90, 0x92, 0xA1, 0xA2, 0x92,
+ 0xA3, 0x99, 0xA2, 0x95, 0x8E, 0x01, 0x11, 0x84, 0x02, 0x01, 0x01
+};
+
+#define play_tone_response_212 play_tone_response_111
+
+static const unsigned char play_tone_213[] = {
+ 0xD0, 0x22, 0x81, 0x03, 0x01, 0x20, 0x00, 0x82, 0x02, 0x81, 0x03, 0x85,
+ 0x10, 0x82, 0x0C, 0x04, 0x10, 0x87, 0x84, 0x90, 0x80, 0x82, 0x91, 0x92,
+ 0x82, 0x93, 0x89, 0x92, 0x85, 0x8E, 0x01, 0x11, 0x84, 0x02, 0x01, 0x01
+};
+
+#define play_tone_response_213 play_tone_response_111
diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c
index f2635040..1fe72921 100644
--- a/unit/test-stkutil.c
+++ b/unit/test-stkutil.c
@@ -2509,33 +2509,6 @@ struct play_tone_test {
char *html;
};
-static unsigned char play_tone_211[] = { 0xD0, 0x2B, 0x81, 0x03, 0x01, 0x20,
- 0x00, 0x82, 0x02, 0x81, 0x03,
- 0x85, 0x19, 0x80, 0x04, 0x17,
- 0x04, 0x14, 0x04, 0x20, 0x04,
- 0x10, 0x04, 0x12, 0x04, 0x21,
- 0x04, 0x22, 0x04, 0x12, 0x04,
- 0x23, 0x04, 0x19, 0x04, 0x22,
- 0x04, 0x15, 0x8E, 0x01, 0x11,
- 0x84, 0x02, 0x01, 0x01 };
-
-
-static unsigned char play_tone_212[] = { 0xD0, 0x21, 0x81, 0x03, 0x01, 0x20,
- 0x00, 0x82, 0x02, 0x81, 0x03,
- 0x85, 0x0F, 0x81, 0x0C, 0x08,
- 0x97, 0x94, 0xA0, 0x90, 0x92,
- 0xA1, 0xA2, 0x92, 0xA3, 0x99,
- 0xA2, 0x95, 0x8E, 0x01, 0x11,
- 0x84, 0x02, 0x01, 0x01 };
-
-static unsigned char play_tone_213[] = { 0xD0, 0x22, 0x81, 0x03, 0x01, 0x20,
- 0x00, 0x82, 0x02, 0x81, 0x03,
- 0x85, 0x10, 0x82, 0x0C, 0x04,
- 0x10, 0x87, 0x84, 0x90, 0x80,
- 0x82, 0x91, 0x92, 0x82, 0x93,
- 0x89, 0x92, 0x85, 0x8E, 0x01,
- 0x11, 0x84, 0x02, 0x01, 0x01 };
-
static unsigned char play_tone_311[] = { 0xD0, 0x22, 0x81, 0x03, 0x01, 0x20,
0x00, 0x82, 0x02, 0x81, 0x03,
0x85, 0x0C, 0x3C, 0x42, 0x41,