summaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-11-02 13:27:01 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-11-02 13:27:01 -0500
commit31e8118057cca18d22ed32458ae6215f25293d49 (patch)
tree76f1d4db713f5aaea19d7a8869da2000cdc7c81b /unit
parentf01d9691ea619c939999cafe30f987311ad83a6c (diff)
downloadofono-31e8118057cca18d22ed32458ae6215f25293d49.tar.bz2
unit: Move Play Tone 6.1 test data
Diffstat (limited to 'unit')
-rw-r--r--unit/stk-test-data.h24
-rw-r--r--unit/test-stkutil.c21
2 files changed, 24 insertions, 21 deletions
diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h
index dfe5d04e..b168255b 100644
--- a/unit/stk-test-data.h
+++ b/unit/stk-test-data.h
@@ -1550,3 +1550,27 @@ static const unsigned char play_tone_513[] = {
};
#define play_tone_response_513 play_tone_response_111
+
+static const unsigned char play_tone_611[] = {
+ 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x20, 0x00, 0x82, 0x02, 0x81, 0x03, 0x85,
+ 0x09, 0x80, 0x00, 0x38, 0x00, 0x30, 0x30, 0xEB, 0x00, 0x30, 0x8E, 0x01,
+ 0x01, 0x84, 0x02, 0x01, 0x05
+};
+
+#define play_tone_response_611 play_tone_response_111
+
+static const unsigned char play_tone_612[] = {
+ 0xD0, 0x19, 0x81, 0x03, 0x01, 0x20, 0x00, 0x82, 0x02, 0x81, 0x03, 0x85,
+ 0x07, 0x81, 0x04, 0x61, 0x38, 0x31, 0xEB, 0x31, 0x8E, 0x01, 0x01, 0x84,
+ 0x02, 0x01, 0x05
+};
+
+#define play_tone_response_612 play_tone_response_111
+
+static const unsigned char play_tone_613[] = {
+ 0xD0, 0x1A, 0x81, 0x03, 0x01, 0x20, 0x00, 0x82, 0x02, 0x81, 0x03, 0x85,
+ 0x08, 0x82, 0x04, 0x30, 0xA0, 0x38, 0x32, 0xCB, 0x32, 0x8E, 0x01, 0x01,
+ 0x84, 0x02, 0x01, 0x05
+};
+
+#define play_tone_response_613 play_tone_response_111
diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c
index 751838a7..115dd2ed 100644
--- a/unit/test-stkutil.c
+++ b/unit/test-stkutil.c
@@ -2509,27 +2509,6 @@ struct play_tone_test {
char *html;
};
-static unsigned char play_tone_611[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x20,
- 0x00, 0x82, 0x02, 0x81, 0x03,
- 0x85, 0x09, 0x80, 0x00, 0x38,
- 0x00, 0x30, 0x30, 0xEB, 0x00,
- 0x30, 0x8E, 0x01, 0x01, 0x84,
- 0x02, 0x01, 0x05 };
-
-static unsigned char play_tone_612[] = { 0xD0, 0x19, 0x81, 0x03, 0x01, 0x20,
- 0x00, 0x82, 0x02, 0x81, 0x03,
- 0x85, 0x07, 0x81, 0x04, 0x61,
- 0x38, 0x31, 0xEB, 0x31, 0x8E,
- 0x01, 0x01, 0x84, 0x02, 0x01,
- 0x05 };
-
-static unsigned char play_tone_613[] = { 0xD0, 0x1A, 0x81, 0x03, 0x01, 0x20,
- 0x00, 0x82, 0x02, 0x81, 0x03,
- 0x85, 0x08, 0x82, 0x04, 0x30,
- 0xA0, 0x38, 0x32, 0xCB, 0x32,
- 0x8E, 0x01, 0x01, 0x84, 0x02,
- 0x01, 0x05 };
-
static struct play_tone_test play_tone_data_111 = {
.pdu = play_tone_111,
.pdu_len = sizeof(play_tone_111),