From 31e8118057cca18d22ed32458ae6215f25293d49 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 2 Nov 2012 13:27:01 -0500 Subject: unit: Move Play Tone 6.1 test data --- unit/stk-test-data.h | 24 ++++++++++++++++++++++++ unit/test-stkutil.c | 21 --------------------- 2 files changed, 24 insertions(+), 21 deletions(-) (limited to 'unit') 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), -- cgit v1.2.3