Lolly 1.4.28
|
#include "a_lolly_test.hpp"
#include "file.hpp"
#include "sys_utils.hpp"
#include "tbox/tbox.h"
#include <cstring>
Go to the source code of this file.
Functions | |
url | get_lolly_tmp () |
void | remove_if_exist (const url &u1) |
TEST_MEMORY_LEAK_INIT | TEST_CASE ("is_directory/is_regular") |
TEST_CASE ("is_newer") | |
TEST_CASE ("is_of_type") | |
TEST_CASE ("file_size") | |
TEST_CASE ("last_modified") | |
TEST_CASE ("mkdir/rmdir") | |
TEST_CASE ("chdir") | |
TEST_CASE ("remove") | |
TEST_CASE ("move") | |
TEST_CASE ("copy") | |
TEST_MEMORY_LEAK_ALL | TEST_CASE ("url_temp") |
TEST_MEMORY_LEAK_RESET | TEST_CASE ("read_directory") |
TEST_CASE ("subdirectories") | |
TEST_CASE ("load_string from empty file") | |
TEST_CASE ("load_string from newly created file") | |
TEST_CASE ("load_string from 3 local files and check exception") | |
TEST_CASE ("load_string from url with :") | |
TEST_CASE ("save to empty file") | |
TEST_CASE ("save to empty file with unicode filename") | |
TEST_CASE ("create and save to file") | |
TEST_CASE ("save to exist file") | |
TEST_CASE ("append to empty file") | |
TEST_CASE ("append file not empty") | |
Variables | |
url | unix_root = url_system ("/") |
url | xmake_lua = url_pwd () * "xmake.lua" |
url get_lolly_tmp | ( | ) |
Definition at line 17 of file file_test.cpp.
Definition at line 28 of file file_test.cpp.
TEST_MEMORY_LEAK_INIT TEST_CASE | ( | "is_directory/is_regular" | ) |
Definition at line 45 of file file_test.cpp.
TEST_CASE | ( | "is_newer" | ) |
Definition at line 63 of file file_test.cpp.
TEST_CASE | ( | "is_of_type" | ) |
Definition at line 75 of file file_test.cpp.
TEST_CASE | ( | "file_size" | ) |
TEST_CASE | ( | "last_modified" | ) |
Definition at line 90 of file file_test.cpp.
TEST_CASE | ( | "mkdir/rmdir" | ) |
Definition at line 95 of file file_test.cpp.
TEST_CASE | ( | "chdir" | ) |
Definition at line 104 of file file_test.cpp.
TEST_CASE | ( | "remove" | ) |
Definition at line 166 of file file_test.cpp.
TEST_CASE | ( | "move" | ) |
Definition at line 195 of file file_test.cpp.
TEST_CASE | ( | "copy" | ) |
Definition at line 207 of file file_test.cpp.
TEST_MEMORY_LEAK_ALL TEST_CASE | ( | "url_temp" | ) |
Definition at line 223 of file file_test.cpp.
TEST_MEMORY_LEAK_RESET TEST_CASE | ( | "read_directory" | ) |
Definition at line 235 of file file_test.cpp.
TEST_CASE | ( | "subdirectories" | ) |
Definition at line 244 of file file_test.cpp.
Definition at line 251 of file file_test.cpp.
Definition at line 260 of file file_test.cpp.
Definition at line 290 of file file_test.cpp.
Definition at line 307 of file file_test.cpp.
Definition at line 333 of file file_test.cpp.
Definition at line 344 of file file_test.cpp.
Definition at line 355 of file file_test.cpp.
Definition at line 366 of file file_test.cpp.
Definition at line 383 of file file_test.cpp.
Definition at line 410 of file file_test.cpp.
url unix_root = url_system ("/") |
Definition at line 13 of file file_test.cpp.
Definition at line 14 of file file_test.cpp.