ifw-core  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
testFile.cpp File Reference
#include <iostream>
#include "gtest/gtest.h"
#include "ctd/string/string.hpp"
#include "ctd/system/system.hpp"
#include "ctd/file/file.hpp"
#include "testFileData.cpp"

Functions

 TEST (RootVarTypeNbToString, Normal)
 Unit test of ctd::file::File. More...
 
 TEST (RootVarTypeStringToNb, Normal)
 
 TEST (ResDirNbToString, Normal)
 
 TEST (ResDirStringToNb, Normal)
 
 TEST (ResolvePath, Normal)
 
 TEST (CreateIfwFilename, Normal)
 
 TEST (CheckAddExtension, Normal)
 
 TEST (RemoveFile, Normal)
 
 TEST (FindFile, Normal)
 
 TEST (FindFile, MultiplePaths)
 
 TEST (LoadFile, Normal)
 
 TEST (SaveFile, Normal)
 
 TEST (FindFile, Failure)
 
 TEST (LoadFile, Failure)
 
 TEST (SaveFile, Failure)
 
int main (int argc, char **argv)
 

Function Documentation

int main ( int  argc,
char **  argv 
)
TEST ( RootVarTypeNbToString  ,
Normal   
)

Unit test of ctd::file::File.

TEST ( RootVarTypeStringToNb  ,
Normal   
)
TEST ( ResDirNbToString  ,
Normal   
)
TEST ( ResDirStringToNb  ,
Normal   
)
TEST ( ResolvePath  ,
Normal   
)
TEST ( CreateIfwFilename  ,
Normal   
)
TEST ( CheckAddExtension  ,
Normal   
)
TEST ( RemoveFile  ,
Normal   
)
TEST ( FindFile  ,
Normal   
)
TEST ( FindFile  ,
MultiplePaths   
)
TEST ( LoadFile  ,
Normal   
)
TEST ( SaveFile  ,
Normal   
)
TEST ( FindFile  ,
Failure   
)
TEST ( LoadFile  ,
Failure   
)
TEST ( SaveFile  ,
Failure   
)