summaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-11-02 13:18:24 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-11-02 13:18:24 -0500
commit5b463f219b27b04b92d3af6b87176787cf103018 (patch)
tree46563e0089c183461ca757a259622d734a7c0912 /unit
parentc1efe3dc0c8900531d703594af8b9adcc4eea7e9 (diff)
downloadofono-5b463f219b27b04b92d3af6b87176787cf103018.tar.bz2
unit: Move Play Tone 5.1 test data
Diffstat (limited to 'unit')
-rw-r--r--unit/stk-test-data.h24
-rw-r--r--unit/test-stkutil.c18
2 files changed, 24 insertions, 18 deletions
diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h
index 9f7ed615..dfe5d04e 100644
--- a/unit/stk-test-data.h
+++ b/unit/stk-test-data.h
@@ -1526,3 +1526,27 @@ static const unsigned char play_tone_4102[] = {
};
#define play_tone_response_4102 play_tone_response_111
+
+static const unsigned char play_tone_511[] = {
+ 0xD0, 0x17, 0x81, 0x03, 0x01, 0x20, 0x00, 0x82, 0x02, 0x81, 0x03, 0x85,
+ 0x05, 0x80, 0x4E, 0x2D, 0x4E, 0x00, 0x8E, 0x01, 0x11, 0x84, 0x02, 0x01,
+ 0x01
+};
+
+#define play_tone_response_511 play_tone_response_111
+
+static const unsigned char play_tone_512[] = {
+ 0xD0, 0x17, 0x81, 0x03, 0x01, 0x20, 0x00, 0x82, 0x02, 0x81, 0x03, 0x85,
+ 0x05, 0x81, 0x02, 0x9C, 0xAD, 0x80, 0x8E, 0x01, 0x11, 0x84, 0x02, 0x01,
+ 0x01
+};
+
+#define play_tone_response_512 play_tone_response_111
+
+static const unsigned char play_tone_513[] = {
+ 0xD0, 0x18, 0x81, 0x03, 0x01, 0x20, 0x00, 0x82, 0x02, 0x81, 0x03, 0x85,
+ 0x06, 0x82, 0x02, 0x4E, 0x00, 0xAD, 0x80, 0x8E, 0x01, 0x11, 0x84, 0x02,
+ 0x01, 0x01
+};
+
+#define play_tone_response_513 play_tone_response_111
diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c
index 6c9d25a1..751838a7 100644
--- a/unit/test-stkutil.c
+++ b/unit/test-stkutil.c
@@ -2509,24 +2509,6 @@ struct play_tone_test {
char *html;
};
-static unsigned char play_tone_511[] = { 0xD0, 0x17, 0x81, 0x03, 0x01, 0x20,
- 0x00, 0x82, 0x02, 0x81, 0x03,
- 0x85, 0x05, 0x80, 0x4E, 0x2D,
- 0x4E, 0x00, 0x8E, 0x01, 0x11,
- 0x84, 0x02, 0x01, 0x01 };
-
-static unsigned char play_tone_512[] = { 0xD0, 0x17, 0x81, 0x03, 0x01, 0x20,
- 0x00, 0x82, 0x02, 0x81, 0x03,
- 0x85, 0x05, 0x81, 0x02, 0x9C,
- 0xAD, 0x80, 0x8E, 0x01, 0x11,
- 0x84, 0x02, 0x01, 0x01 };
-
-static unsigned char play_tone_513[] = { 0xD0, 0x18, 0x81, 0x03, 0x01, 0x20,
- 0x00, 0x82, 0x02, 0x81, 0x03,
- 0x85, 0x06, 0x82, 0x02, 0x4E,
- 0x00, 0xAD, 0x80, 0x8E, 0x01,
- 0x11, 0x84, 0x02, 0x01, 0x01 };
-
static unsigned char play_tone_611[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x20,
0x00, 0x82, 0x02, 0x81, 0x03,
0x85, 0x09, 0x80, 0x00, 0x38,