Vodafone Test Suite

Dependencies:   mbed-rtos mbed HTTPClient VodafoneUSBModem

TestManager.h

Committer:
ashleymills
Date:
2012-09-03
Revision:
19:26fbed33d4e7
Parent:
4:1f8e079924ba
Child:
22:5b1feecf2aeb

File content as of revision 19:26fbed33d4e7:

#pragma once
#include "VodafoneUSBModem.h"
#include "VodafoneTestCase.h"
#include <vector>

enum TestNames {
   TEST0_SMSSHORT=0,
   TEST1_SMSLONG
};

class TestManager {

   public:
      TestManager(VodafoneUSBModem *m);
      void addTest(VodafoneTestCase *tc);
      int executeTestList(const int *list, const int listLen);
      bool runTest(int id);
      bool runTest(int id, int numTimes);
      
   private:
      VodafoneUSBModem *_modem;
      vector<VodafoneTestCase*> _tests;
};