Skip to content

Commit 8f42c87

Browse files
Merge pull request #4446 from hasnainvirk/add_cellular_unit_tests
Customer port verification tests for cellular
2 parents ea5c2cf + 09b07a4 commit 8f42c87

File tree

3 files changed

+587
-0
lines changed

3 files changed

+587
-0
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
/* mbed Microcontroller Library
2+
* Copyright (c) 2017 ARM Limited
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef MBED_OS_GMD_UT_CONFIG_HEADER_H_
18+
#define MBED_OS_GMD_UT_CONFIG_HEADER_H_
19+
20+
// The number of retries for UDP exchanges
21+
#define NUM_UDP_RETRIES 5
22+
23+
// How long to wait for stuff to travel in the async echo tests
24+
#define ASYNC_TEST_WAIT_TIME 10000
25+
26+
#define TEST_DATA "_____0000:0123456789012345678901234567890123456789" \
27+
"01234567890123456789012345678901234567890123456789" \
28+
"_____0100:0123456789012345678901234567890123456789" \
29+
"01234567890123456789012345678901234567890123456789" \
30+
"_____0200:0123456789012345678901234567890123456789" \
31+
"01234567890123456789012345678901234567890123456789" \
32+
"_____0300:0123456789012345678901234567890123456789" \
33+
"01234567890123456789012345678901234567890123456789" \
34+
"_____0400:0123456789012345678901234567890123456789" \
35+
"01234567890123456789012345678901234567890123456789" \
36+
"_____0500:0123456789012345678901234567890123456789" \
37+
"01234567890123456789012345678901234567890123456789" \
38+
"_____0600:0123456789012345678901234567890123456789" \
39+
"01234567890123456789012345678901234567890123456789" \
40+
"_____0700:0123456789012345678901234567890123456789" \
41+
"01234567890123456789012345678901234567890123456789" \
42+
"_____0800:0123456789012345678901234567890123456789" \
43+
"01234567890123456789012345678901234567890123456789" \
44+
"_____0900:0123456789012345678901234567890123456789" \
45+
"01234567890123456789012345678901234567890123456789" \
46+
"_____1000:0123456789012345678901234567890123456789" \
47+
"01234567890123456789012345678901234567890123456789" \
48+
"_____1100:0123456789012345678901234567890123456789" \
49+
"01234567890123456789012345678901234567890123456789" \
50+
"_____1200:0123456789012345678901234567890123456789" \
51+
"01234567890123456789012345678901234567890123456789" \
52+
"_____1300:0123456789012345678901234567890123456789" \
53+
"01234567890123456789012345678901234567890123456789" \
54+
"_____1400:0123456789012345678901234567890123456789" \
55+
"01234567890123456789012345678901234567890123456789" \
56+
"_____1500:0123456789012345678901234567890123456789" \
57+
"01234567890123456789012345678901234567890123456789" \
58+
"_____1600:0123456789012345678901234567890123456789" \
59+
"01234567890123456789012345678901234567890123456789" \
60+
"_____1700:0123456789012345678901234567890123456789" \
61+
"01234567890123456789012345678901234567890123456789" \
62+
"_____1800:0123456789012345678901234567890123456789" \
63+
"01234567890123456789012345678901234567890123456789" \
64+
"_____1900:0123456789012345678901234567890123456789" \
65+
"01234567890123456789012345678901234567890123456789" \
66+
"_____2000:0123456789012345678901234567890123456789" \
67+
"01234567890123456789012345678901234567890123456789";
68+
69+
#endif /* MBED_OS_GMD_UT_CONFIG_HEADER_H_ */

0 commit comments

Comments
 (0)