mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-24 08:20:44 +02:00
Add H5WriterModule test
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user