1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-27 18:02:17 +03:00

Initial batch of mocks for host side testing

This commit is contained in:
Ivan Grokhotkov
2016-03-03 09:37:35 +03:00
parent 1c9f9c3a6d
commit 5724f38542
8 changed files with 10033 additions and 0 deletions

View File

@ -0,0 +1,27 @@
//
// spiffs_mock.hpp
// esp8266-host-tests
//
// Created by Ivan Grokhotkov on 03/03/16.
// Copyright © 2016 esp8266.com. All rights reserved.
//
#ifndef spiffs_mock_hpp
#define spiffs_mock_hpp
#include <stdint.h>
#include <stddef.h>
#include <vector>
#include <FS.h>
class SpiffsMock {
public:
SpiffsMock(size_t fs_size, size_t fs_block, size_t fs_page);
~SpiffsMock();
protected:
std::vector<uint8_t> m_fs;
};
#endif /* spiffs_mock_hpp */