Add H5WriterModule test

This commit is contained in:
2020-04-06 17:05:23 +02:00
parent d375a65043
commit 27ee81bd22
2 changed files with 23 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#include "gtest/gtest.h"
#include "H5WriteModule.hpp"
#include <thread>
#include <string>
#include "RingBuffer.hpp"
#include "mock/TestH5Format.cpp"
using namespace std;
void generate_frames(RingBuffer& ring_buffer)
{
// TODO: FIll the ring_buffer with test data.
}
TEST(H5WriteModule, basic_interaction)
{
TestH5Format format("start_dataset");
RingBuffer ring_buffer(10);
H5WriteModule h5_write_module(ring_buffer, {}, format);
}