Vodafone Test Suite

Dependencies:   mbed-rtos mbed HTTPClient VodafoneUSBModem

Committer:
ashleymills
Date:
Wed Sep 05 14:47:44 2012 +0000
Revision:
22:5b1feecf2aeb
Parent:
21:3875fe74d358
Child:
23:408199b5d2cb
Modified test suite for proper profiling. Added two more tests for signal strength.

Who changed what in which revision?

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