exml/test/exmlTestDeclaration.cpp

31 lines
763 B
C++

/** @file
* @author Edouard DUPIN
*
* @copyright 2014, Edouard DUPIN, all right reserved
*
* @license APACHE v2.0 (see license file)
*/
#include <gtest/gtest.h>
#include <exml/exml.h>
#include <exml/Declaration.h>
TEST(TestDeclaration, create) {
exml::Declaration myDeclaration("type");
EXPECT_EQ(myDeclaration.getType(), exml::nodeType_declaration);
}
TEST(TestDeclaration, createCopy) {
exml::Declaration myDeclaration("type");
exml::Declaration myOtherDeclaration(myDeclaration);
//EXPECT_EQ(myDeclaration, myOtherDeclaration);
}
TEST(TestDeclaration, createAssignement) {
exml::Declaration myDeclaration("type");
exml::Declaration myOtherDeclaration;
myOtherDeclaration = myDeclaration;
//EXPECT_EQ(myDeclaration, myOtherDeclaration);
}