Vodafone Test Suite

Dependencies:   mbed-rtos mbed HTTPClient VodafoneUSBModem

Committer:
nherriot
Date:
Mon Sep 10 04:59:11 2012 +0000
Revision:
28:c630a04a7198
Parent:
23:408199b5d2cb
Child:
29:c0e6f198db84
Adding details to test case 16 and 13 where each test depends on one to send and one to receive. Also removing constants to VodafoneTestCase.h to have them in one place for all tests. Created several const char strings for all test cases.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ashleymills 3:28336c2e94e4 1 #pragma once
ashleymills 23:408199b5d2cb 2 #include "Test10.h"
nherriot 7:ec0db221f897 3 #include "Test12.h"
nherriot 16:c89d426c6175 4 #include "Test13.h"
nherriot 28:c630a04a7198 5 #include "Test16.h"
ashleymills 19:26fbed33d4e7 6 #include "Test21.h"
ashleymills 19:26fbed33d4e7 7 #include "Test22.h"
ashleymills 20:18373fb68ad7 8 #include "Test23.h"
ashleymills 22:5b1feecf2aeb 9 #include "Test25.h"
ashleymills 22:5b1feecf2aeb 10 #include "Test26.h"
ashleymills 19:26fbed33d4e7 11 #include "Test50.h"
ashleymills 19:26fbed33d4e7 12
ashleymills 23:408199b5d2cb 13 static const int gAllTests[] = {10,12,13,21,22,23,25,26,50};
ashleymills 23:408199b5d2cb 14 static const int gNumAllTests = 9;
ashleymills 23:408199b5d2cb 15 static const int gAutomatedTests[] = {10,21,22,23,25,26};
ashleymills 23:408199b5d2cb 16 static const int gNumAutomatedTests = 6;
nherriot 28:c630a04a7198 17 static const int gInteractiveTests[] = {16,12,13};
nherriot 28:c630a04a7198 18 static const int gNumInteractiveTests = 3;
ashleymills 22:5b1feecf2aeb 19 static const int gSoakTests[] = {50};
ashleymills 22:5b1feecf2aeb 20 static const int gNumSoakTests = 1;
ashleymills 22:5b1feecf2aeb 21
ashleymills 22:5b1feecf2aeb 22 enum TestProfile {
ashleymills 22:5b1feecf2aeb 23 TESTS_ALL,
ashleymills 22:5b1feecf2aeb 24 TESTS_AUTOMATED,
ashleymills 22:5b1feecf2aeb 25 TESTS_MANUAL,
ashleymills 22:5b1feecf2aeb 26 TESTS_SOAK,
ashleymills 22:5b1feecf2aeb 27 TESTS_END
ashleymills 22:5b1feecf2aeb 28 };
ashleymills 22:5b1feecf2aeb 29
ashleymills 22:5b1feecf2aeb 30 static const int* gTestProfiles[4] = {
ashleymills 22:5b1feecf2aeb 31 (const int*)&gAllTests,
ashleymills 22:5b1feecf2aeb 32 (const int*)&gAutomatedTests,
ashleymills 22:5b1feecf2aeb 33 (const int*)&gInteractiveTests,
ashleymills 22:5b1feecf2aeb 34 (const int*)&gSoakTests
ashleymills 22:5b1feecf2aeb 35 };
ashleymills 22:5b1feecf2aeb 36
ashleymills 23:408199b5d2cb 37
ashleymills 22:5b1feecf2aeb 38 static const int gTestProfileLengths[4] = {
ashleymills 22:5b1feecf2aeb 39 gNumAllTests,
ashleymills 22:5b1feecf2aeb 40 gNumAutomatedTests,
ashleymills 22:5b1feecf2aeb 41 gNumInteractiveTests,
ashleymills 22:5b1feecf2aeb 42 gNumSoakTests
nherriot 28:c630a04a7198 43 };
nherriot 28:c630a04a7198 44