karazeh
A cross-platform software updating library.
create.test.cpp File Reference
#include "catch.hpp"
#include "karazeh/karazeh.hpp"
#include "karazeh/config.hpp"
#include "karazeh/operations/create.hpp"
#include "karazeh/hashers/md5_hasher.hpp"
#include "karazeh/release_manifest.hpp"
#include "test_utils.hpp"
#include <boost/filesystem.hpp>
#include "fakeit.hpp"
+ Include dependency graph for create.test.cpp:

Macros

#define STUB_HEX_DIGEST   ConstOverloadedMethod(hasherSpy, hex_digest, hasher::digest_rc(const path_t&))
 
#define STUB_IS_READABLE   ConstOverloadedMethod(spy, is_readable, bool(path_t const&))
 
#define STUB_IS_WRITABLE   ConstOverloadedMethod(spy, is_writable, bool(path_t const&))
 
#define STUB_MAKE_EXECUTABLE   ConstOverloadedMethod(spy, make_executable, bool(path_t const&))
 
#define STUB_MOVE   ConstOverloadedMethod(spy, move, bool(path_t const&, path_t const&))
 
#define STUB_REMOVE_DIRECTORY   ConstOverloadedMethod(spy, remove_directory, bool(path_t const&))
 
#define STUB_REMOVE_FILE   ConstOverloadedMethod(spy, remove_file, bool(path_t const&))
 

Functions

 TEST_CASE ("create_operation")
 

Macro Definition Documentation

#define STUB_HEX_DIGEST   ConstOverloadedMethod(hasherSpy, hex_digest, hasher::digest_rc(const path_t&))

Referenced by TEST_CASE().

#define STUB_IS_READABLE   ConstOverloadedMethod(spy, is_readable, bool(path_t const&))

Referenced by TEST_CASE().

#define STUB_IS_WRITABLE   ConstOverloadedMethod(spy, is_writable, bool(path_t const&))

Referenced by TEST_CASE().

#define STUB_MAKE_EXECUTABLE   ConstOverloadedMethod(spy, make_executable, bool(path_t const&))

Referenced by TEST_CASE().

#define STUB_MOVE   ConstOverloadedMethod(spy, move, bool(path_t const&, path_t const&))

Referenced by TEST_CASE().

#define STUB_REMOVE_DIRECTORY   ConstOverloadedMethod(spy, remove_directory, bool(path_t const&))

Referenced by TEST_CASE().

#define STUB_REMOVE_FILE   ConstOverloadedMethod(spy, remove_file, bool(path_t const&))

Referenced by TEST_CASE().

Function Documentation