2014-05-09 03:32:12 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <iostream>
|
|
|
|
#include <cxxtest/TestSuite.h>
|
|
|
|
|
2014-05-10 03:54:06 +08:00
|
|
|
#include "../xlnt.h"
|
2014-05-09 03:32:12 +08:00
|
|
|
|
|
|
|
class MetaTestSuite : public CxxTest::TestSuite
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
MetaTestSuite()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void test_write_content_types()
|
|
|
|
{
|
|
|
|
//wb = Workbook();
|
|
|
|
//wb.create_sheet();
|
|
|
|
//wb.create_sheet();
|
|
|
|
//content = write_content_types(wb);
|
|
|
|
//reference_file = os.path.join(DATADIR, "writer", "expected",
|
|
|
|
// "[Content_Types].xml");
|
|
|
|
//assert_equals_file_content(reference_file, content);
|
|
|
|
}
|
|
|
|
|
|
|
|
void test_write_root_rels()
|
|
|
|
{
|
|
|
|
//wb = Workbook();
|
|
|
|
//content = write_root_rels(wb);
|
|
|
|
//reference_file = os.path.join(DATADIR, "writer", "expected", ".rels");
|
|
|
|
//assert_equals_file_content(reference_file, content);
|
|
|
|
}
|
|
|
|
};
|