Skip to content

Commit

Permalink
Add IO tests for the IEEE CDF Matlab Parser (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
franziska-wegner committed Dec 23, 2023
1 parent 5e69055 commit 524f688
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 0 deletions.
35 changes: 35 additions & 0 deletions tests/IO/TestIeeeCdfMatlabParser.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
* TestIeeeCdfMatlabParser.cpp
*
* Created on: Jan 29, 2019
* Author: Franziska Wegner
*/

#include "TestIeeeCdfMatlabParser.hpp"
#include "IO/IeeeCdfMatlabParser.hpp"

namespace egoa {
namespace test {

TestIeeeCdfMatlabParser::TestIeeeCdfMatlabParser () {}

TestIeeeCdfMatlabParser::~TestIeeeCdfMatlabParser () {}

void TestIeeeCdfMatlabParser::SetUp () {}

void TestIeeeCdfMatlabParser::TearDown () {}

TEST_F ( TestIeeeCdfMatlabParser, ReadIeeeCdfMatlab ) {
// TODO
}

TEST_F ( TestIeeeCdfMatlabParser, WriteIeeeCdfMatlab ) {
// TODO
}

TEST_F ( TestIeeeCdfMatlabParser, DeathTest ) {
// TODO
}

} // namespace test
} // namespace egoa
43 changes: 43 additions & 0 deletions tests/IO/TestIeeeCdfMatlabParser.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/*
* TestIeeeCdfMatlabParser.cpp
*
* Created on: Jan 29, 2019
* Author: Franziska Wegner
*/

#ifndef EGOA___TESTS___IO___TEST_IEEE_CDF_MATLAB_PARSER_HPP
#define EGOA___TESTS___IO___TEST_IEEE_CDF_MATLAB_PARSER_HPP

#include "gtest/gtest.h"
#include "gmock/gmock.h"

namespace egoa{
namespace test {
/**
* @brief Fixture for testing class IeeeCdfMatlabParser
*/
class TestIeeeCdfMatlabParser : public ::testing::Test {

protected:

// You can do set-up work for each test here.
TestIeeeCdfMatlabParser();

// You can do clean-up work that doesn't throw exceptions here.
virtual ~TestIeeeCdfMatlabParser();

// If the constructor and destructor are not enough for setting up
// and cleaning up each test, you can define the following methods:

// Code here will be called immediately after the constructor (right
// before each test).
virtual void SetUp();

// Code here will be called immediately after each test (right
// before the destructor).
virtual void TearDown();
};
} // test
} // namespace egoa

#endif // EGOA___TESTS___IO___TEST_IEEE_CDF_MATLAB_PARSER_HPP

0 comments on commit 524f688

Please sign in to comment.