30 lines
602 B
C++
30 lines
602 B
C++
/**
|
|
* @author Edouard DUPIN
|
|
*
|
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
|
*
|
|
* @license MPL v2.0 (see license file)
|
|
*/
|
|
|
|
#include <etest/etest.hpp>
|
|
#define NAME "Archive"
|
|
#include <etk/archive/Archive.hpp>
|
|
#include <test-debug/debug.hpp>
|
|
|
|
#ifdef ETK_BUILD_MINIZIP
|
|
|
|
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();
|
|
}
|
|
*/
|
|
|
|
#endif
|