2014-11-25 21:32:51 +01:00
|
|
|
/**
|
|
|
|
* @author Edouard DUPIN
|
|
|
|
*
|
|
|
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
|
|
|
*
|
|
|
|
* @license APACHE v2.0 (see license file)
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <gtest/gtest.h>
|
|
|
|
#undef NAME
|
|
|
|
#define NAME "Archive"
|
|
|
|
|
|
|
|
#undef __class__
|
|
|
|
#define __class__ "etktest"
|
|
|
|
|
2015-03-20 23:18:16 +01:00
|
|
|
#ifdef ETK_BUILD_MINIZIP
|
|
|
|
|
2014-11-25 21:32:51 +01:00
|
|
|
TEST(TestEtkArchive, CreationWrong) {
|
|
|
|
etk::Archive* tmpArchive = etk::Archive::load("nonExistantFile.zip");
|
|
|
|
EXPECT_NE(tmpArchive, nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
TEST(TestEtkArchive, Display) {
|
|
|
|
etk::Archive* tmpArchive = etk::Archive::load("nonExistantFile.zip");
|
|
|
|
ASSERT_NEQ(tmpArchive, nullptr);
|
|
|
|
tmpArchive->display();
|
|
|
|
}
|
2015-03-20 23:18:16 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#endif
|