Unit tests for SmartRest

Dependencies:   C027 SmartRest mbed

parser/ParserTest.h

Committer:
vwochnik
Date:
2014-03-24
Revision:
0:789029e49ea1

File content as of revision 0:789029e49ea1:

#ifndef PARSERTEST_H
#define PARSERTEST_H

#include <stdint.h>
#include "../mock/BufferedDataSource.h"
#include <Parser.h>

class ParserTest
{
public:
    ParserTest();

    void testAll();

protected:
    void testScenario1();
    void testScenario2();
    void testScenario3();

private:
    BufferedDataSource _source;
    Parser _parser;
};

#endif