xlnt/tests/test_theme.hpp

19 lines
426 B
C++
Raw Normal View History

2014-05-08 15:32:12 -04:00
#pragma once
#include <iostream>
#include <cxxtest/TestSuite.h>
2014-06-05 16:19:31 -04:00
#include <xlnt/xlnt.hpp>
#include "helpers/path_helper.hpp"
2014-06-10 17:12:15 -04:00
#include "helpers/helper.hpp"
2014-05-08 15:32:12 -04:00
2014-06-05 16:19:31 -04:00
class test_theme : public CxxTest::TestSuite
2014-05-08 15:32:12 -04:00
{
public:
void test_write_theme()
{
2014-05-18 21:29:19 -04:00
auto content = xlnt::writer::write_theme();
2014-06-10 17:12:15 -04:00
TS_ASSERT(Helper::EqualsFileContent(PathHelper::GetDataDirectory() + "/writer/expected/theme1.xml", content));
2014-05-08 15:32:12 -04:00
}
};