|
Blender V4.3
|
#include "testing/testing.h"#include "IMB_imbuf.hh"#include "BLI_fileops.h"#include "BLI_path_utils.hh"#include "BLI_string.h"#include "BLI_string_utils.hh"Go to the source code of this file.
Macros | |
| #define | DO_PERF_TESTS 0 |
Functions | |
Local Utilities | |
| static void | str_replace_char_with_relative_exception (char *str, char src, char dst) |
| static char * | str_replace_char_strdup (const char *str, char src, char dst) |
Tests for: #BLI_path_cmp_normalized | |
| |
| TEST (path_utils, CompareNormalized) | |
Tests for: #BLI_path_is_unc | |
| TEST (path_utils, IsUnc) | |
Tests for: #BLI_path_is_win32_drive | |
| TEST (path_utils, IsWin32Drive) | |
Tests for: #BLI_path_is_win32_drive_only | |
| TEST (path_utils, IsWin32DriveOnly) | |
Tests for: #BLI_path_is_win32_drive_with_slash | |
| TEST (path_utils, IsWin32DriveWithSlash) | |
Tests for: #BLI_path_frame | |
| TEST (path_utils, Frame) | |
Tests for: #BLI_path_split_dir_file | |
| TEST (path_utils, SplitDirfile) | |
Tests for: #BLI_path_extension | |
| TEST (path_utils, Extension) | |
Tests for: #BLI_path_is_rel | |
| TEST (path_utils, PathIsRel) | |
Tests for: #BLI_path_is_abs_from_cwd | |
| TEST (path_utils, PathIsAbsFromCwd) | |
Tests for: #BLI_path_contains | |
| TEST (path_utils, Contains) | |
Tests for: #BLI_path_has_hidden_component | |
| TEST (path_utils, HasHiddenComponents) | |
Tests for: #BLI_path_normalize | |
| #define | NORMALIZE(input, output_expect) |
| TEST (path_utils, Normalize_Nop) | |
| TEST (path_utils, Normalize_NopRelative) | |
| TEST (path_utils, Normalize_Dot) | |
| TEST (path_utils, Normalize_ComplexAbsolute) | |
| TEST (path_utils, Normalize_ComplexRelative) | |
| TEST (path_utils, Normalize_DoubleSlash) | |
| TEST (path_utils, Normalize_Parent) | |
| TEST (path_utils, Normalize_UnbalancedAbsolute) | |
| TEST (path_utils, Normalize_UnbalancedRelative) | |
| TEST (path_utils, Normalize_UnbalancedRelativeTrailing) | |
Tests for: #BLI_path_parent_dir | |
| #define | PARENT_DIR(input, output_expect) |
| TEST (path_utils, ParentDir_Simple) | |
| TEST (path_utils, ParentDir_NOP) | |
| TEST (path_utils, ParentDir_TrailingPeriod) | |
| TEST (path_utils, ParentDir_Complex) | |
Tests for: #BLI_path_name_at_index | |
| #define | AT_INDEX(str_input, index_input, str_expect) |
| #define | TEST_STR "./a/./b/./c/." |
| #define | TEST_STR ".//a//.//b//.//c//.//" |
| TEST (path_utils, NameAtIndex_Single) | |
| TEST (path_utils, NameAtIndex_SingleNeg) | |
| TEST (path_utils, NameAtIndex_Double) | |
| TEST (path_utils, NameAtIndex_DoublNeg) | |
| TEST (path_utils, NameAtIndex_Misc) | |
| TEST (path_utils, NameAtIndex_MiscNeg) | |
| TEST (path_utils, NameAtIndex_SingleDot) | |
| TEST (path_utils, NameAtIndex_SingleDotNeg) | |
| TEST (path_utils, NameAtIndex_SingleDotDoubleSlash) | |
| TEST (path_utils, NameAtIndex_SingleDotDoubleSlashNeg) | |
| TEST (path_utils, NameAtIndex_SingleDotSeries) | |
| TEST (path_utils, NameAtIndex_SingleDotSeriesNeg) | |
| TEST (path_utils, NameAtIndex_MiscComplex) | |
| TEST (path_utils, NameAtIndex_MiscComplexNeg) | |
| TEST (path_utils, NameAtIndex_NoneComplex) | |
| TEST (path_utils, NameAtIndex_NoneComplexNeg) | |
Tests for: #BLI_path_join | |
| #define | JOIN_FORWARD_SLASH(str_expect, out_size, ...) |
| #define | JOIN_BACK_SLASH(str_expect, out_size, ...) |
| #define | JOIN JOIN_FORWARD_SLASH |
| TEST (path_utils, JoinNop) | |
| TEST (path_utils, JoinSingle) | |
| TEST (path_utils, JoinTriple) | |
| TEST (path_utils, JoinTruncateShort) | |
| TEST (path_utils, JoinTruncateLong) | |
| TEST (path_utils, JoinComplex) | |
| TEST (path_utils, JoinRelativePrefix) | |
Tests for: #BLI_path_append | |
| #define | APPEND(str_expect, size, path, filename) |
| TEST (path_utils, AppendFile) | |
| TEST (path_utils, AppendFile_Truncate) | |
Tests for: #BLI_path_frame_strip | |
| #define | PATH_FRAME_STRIP(input_path, expect_path, expect_ext) |
| TEST (path_utils, FrameStrip) | |
Tests for: #BLI_path_extension_check | |
| #define | PATH_EXTENSION_CHECK(input_path, input_ext, expect_ext) |
| TEST (path_utils, ExtensionCheck) | |
Tests for: #BLI_path_extension_replace | |
| #define | PATH_EXTENSION_REPLACE_WITH_MAXLEN(input_path, input_ext, expect_result, expect_path, maxlen) |
| #define | PATH_EXTENSION_REPLACE(input_path, input_ext, expect_result, expect_path) PATH_EXTENSION_REPLACE_WITH_MAXLEN(input_path, input_ext, expect_result, expect_path, FILE_MAX) |
| TEST (path_utils, ExtensionReplace) | |
| TEST (path_utils, ExtensionReplace_Overflow) | |
Tests for: #BLI_path_extension_ensure | |
| #define | PATH_EXTENSION_ENSURE_WITH_MAXLEN(input_path, input_ext, expect_result, expect_path, maxlen) |
| #define | PATH_EXTENSION_ENSURE(input_path, input_ext, expect_result, expect_path) PATH_EXTENSION_ENSURE_WITH_MAXLEN(input_path, input_ext, expect_result, expect_path, FILE_MAX) |
| TEST (path_utils, ExtensionEnsure) | |
| TEST (path_utils, ExtensionEnsure_Overflow) | |
Tests for: #BLI_path_frame_check_chars | |
| #define | PATH_FRAME_CHECK_CHARS(input_path, expect_hasChars) |
| TEST (path_utils, FrameCheckChars) | |
Tests for: #BLI_path_frame_range | |
| #define | PATH_FRAME_RANGE(input_path, sta, end, digits, expect_outpath) |
| TEST (path_utils, FrameRange) | |
Tests for: #BLI_path_frame_get | |
| #define | PATH_FRAME_GET(input_path, expect_frame, expect_numdigits, expect_pathisvalid) |
| TEST (path_utils, FrameGet) | |
Tests for: #BLI_path_sequence_decode | |
| #define | PATH_SEQ_DECODE(path_literal, expect_result, expect_head, expect_tail, expect_numdigits) |
| TEST (path_utils, SequenceDecode) | |
Tests for: #BLI_path_suffix | |
| #define | PATH_SUFFIX(path_literal, path_literal_max, sep, suffix, expect_result, expect_path) |
| TEST (path_utils, Suffix) | |
Tests for: #BLI_path_slash_find | |
| #define | PATH_SLASH_FIND(path, expect_index) |
| TEST (path_util, SlashFind) | |
Tests for: #BLI_path_slash_rfind | |
| #define | PATH_SLASH_RFIND(path, expect_index) |
| TEST (path_util, SlashRFind) | |
Tests for: #BLI_path_slash_ensure | |
| #define | PATH_SLASH_ENSURE(input, size, output_expect, length_expect) |
| TEST (path_util, SlashEnsure) | |
Tests for: #BLI_path_slash_rstrip | |
| #define | PATH_SLASH_RSTRIP(input, expected) |
| TEST (path_util, SlashRStrip) | |
Tests for: #BLI_path_slash_skip | |
| #define | PATH_SLASH_SKIP(input, expected) |
| TEST (path_util, SlashSkip) | |
Tests for: #BLI_path_slash_native | |
| #define | PATH_SLASH_NATIVE(input, expected) |
| TEST (path_util, SlashNative) | |
Tests for: #BLI_path_rel | |
| #define | PATH_REL(abs_path, ref_path, rel_path_expect) |
| #define | ABS_PREFIX "" |
| TEST (path_utils, RelPath_Simple) | |
| TEST (path_utils, RelPath_SimpleSubdir) | |
| TEST (path_utils, RelPath_BufferOverflowRoot) | |
| TEST (path_utils, RelPath_BufferOverflowSubdir) | |
| #define ABS_PREFIX "" |
| #define APPEND | ( | str_expect, | |
| size, | |||
| path, | |||
| filename ) |
Definition at line 693 of file BLI_path_utils_test.cc.
| #define AT_INDEX | ( | str_input, | |
| index_input, | |||
| str_expect ) |
Definition at line 252 of file BLI_path_utils_test.cc.
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().
| #define DO_PERF_TESTS 0 |
Definition at line 14 of file BLI_path_utils_test.cc.
| #define JOIN JOIN_FORWARD_SLASH |
| #define JOIN_BACK_SLASH | ( | str_expect, | |
| out_size, | |||
| ... ) |
Definition at line 562 of file BLI_path_utils_test.cc.
| #define JOIN_FORWARD_SLASH | ( | str_expect, | |
| out_size, | |||
| ... ) |
Definition at line 547 of file BLI_path_utils_test.cc.
| #define NORMALIZE | ( | input, | |
| output_expect ) |
Definition at line 50 of file BLI_path_utils_test.cc.
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().
| #define PARENT_DIR | ( | input, | |
| output_expect ) |
Definition at line 192 of file BLI_path_utils_test.cc.
| #define PATH_EXTENSION_CHECK | ( | input_path, | |
| input_ext, | |||
| expect_ext ) |
| #define PATH_EXTENSION_ENSURE | ( | input_path, | |
| input_ext, | |||
| expect_result, | |||
| expect_path ) PATH_EXTENSION_ENSURE_WITH_MAXLEN(input_path, input_ext, expect_result, expect_path, FILE_MAX) |
Definition at line 1075 of file BLI_path_utils_test.cc.
Referenced by TEST().
| #define PATH_EXTENSION_ENSURE_WITH_MAXLEN | ( | input_path, | |
| input_ext, | |||
| expect_result, | |||
| expect_path, | |||
| maxlen ) |
Definition at line 1058 of file BLI_path_utils_test.cc.
Referenced by TEST().
| #define PATH_EXTENSION_REPLACE | ( | input_path, | |
| input_ext, | |||
| expect_result, | |||
| expect_path ) PATH_EXTENSION_REPLACE_WITH_MAXLEN(input_path, input_ext, expect_result, expect_path, FILE_MAX) |
Definition at line 1004 of file BLI_path_utils_test.cc.
Referenced by TEST().
| #define PATH_EXTENSION_REPLACE_WITH_MAXLEN | ( | input_path, | |
| input_ext, | |||
| expect_result, | |||
| expect_path, | |||
| maxlen ) |
Definition at line 987 of file BLI_path_utils_test.cc.
Referenced by TEST().
| #define PATH_FRAME_CHECK_CHARS | ( | input_path, | |
| expect_hasChars ) |
Definition at line 1123 of file BLI_path_utils_test.cc.
Referenced by TEST().
| #define PATH_FRAME_GET | ( | input_path, | |
| expect_frame, | |||
| expect_numdigits, | |||
| expect_pathisvalid ) |
Definition at line 1197 of file BLI_path_utils_test.cc.
Referenced by TEST().
| #define PATH_FRAME_RANGE | ( | input_path, | |
| sta, | |||
| end, | |||
| digits, | |||
| expect_outpath ) |
Definition at line 1160 of file BLI_path_utils_test.cc.
Referenced by TEST().
| #define PATH_FRAME_STRIP | ( | input_path, | |
| expect_path, | |||
| expect_ext ) |
Definition at line 885 of file BLI_path_utils_test.cc.
Referenced by TEST().
| #define PATH_REL | ( | abs_path, | |
| ref_path, | |||
| rel_path_expect ) |
Definition at line 1550 of file BLI_path_utils_test.cc.
| #define PATH_SEQ_DECODE | ( | path_literal, | |
| expect_result, | |||
| expect_head, | |||
| expect_tail, | |||
| expect_numdigits ) |
Definition at line 1231 of file BLI_path_utils_test.cc.
Referenced by TEST().
| #define PATH_SLASH_ENSURE | ( | input, | |
| size, | |||
| output_expect, | |||
| length_expect ) |
Definition at line 1374 of file BLI_path_utils_test.cc.
Referenced by TEST().
| #define PATH_SLASH_FIND | ( | path, | |
| expect_index ) |
Definition at line 1310 of file BLI_path_utils_test.cc.
Referenced by TEST().
| #define PATH_SLASH_NATIVE | ( | input, | |
| expected ) |
Definition at line 1483 of file BLI_path_utils_test.cc.
Referenced by TEST().
| #define PATH_SLASH_RFIND | ( | path, | |
| expect_index ) |
Definition at line 1341 of file BLI_path_utils_test.cc.
Referenced by TEST().
| #define PATH_SLASH_RSTRIP | ( | input, | |
| expected ) |
Definition at line 1412 of file BLI_path_utils_test.cc.
Referenced by TEST().
| #define PATH_SLASH_SKIP | ( | input, | |
| expected ) |
Definition at line 1448 of file BLI_path_utils_test.cc.
Referenced by TEST().
| #define PATH_SUFFIX | ( | path_literal, | |
| path_literal_max, | |||
| sep, | |||
| suffix, | |||
| expect_result, | |||
| expect_path ) |
Definition at line 1268 of file BLI_path_utils_test.cc.
Referenced by TEST().
Definition at line 349 of file BLI_path_utils_test.cc.
|
static |
Definition at line 34 of file BLI_path_utils_test.cc.
References BLI_string_replace_char(), and str.
|
static |
Definition at line 20 of file BLI_path_utils_test.cc.
References BLI_string_replace_char(), and str.
| TEST | ( | path_util | , |
| SlashEnsure | ) |
Definition at line 1389 of file BLI_path_utils_test.cc.
References FILE_MAX, and PATH_SLASH_ENSURE.
| TEST | ( | path_util | , |
| SlashFind | ) |
Definition at line 1317 of file BLI_path_utils_test.cc.
References BLI_path_slash_find(), EXPECT_EQ(), and PATH_SLASH_FIND.
| TEST | ( | path_util | , |
| SlashNative | ) |
Definition at line 1491 of file BLI_path_utils_test.cc.
References PATH_SLASH_NATIVE.
| TEST | ( | path_util | , |
| SlashRFind | ) |
Definition at line 1348 of file BLI_path_utils_test.cc.
References BLI_path_slash_rfind(), EXPECT_EQ(), and PATH_SLASH_RFIND.
| TEST | ( | path_util | , |
| SlashRStrip | ) |
Definition at line 1426 of file BLI_path_utils_test.cc.
References PATH_SLASH_RSTRIP.
| TEST | ( | path_util | , |
| SlashSkip | ) |
Definition at line 1462 of file BLI_path_utils_test.cc.
References PATH_SLASH_SKIP.
| TEST | ( | path_utils | , |
| AppendFile | ) |
Definition at line 711 of file BLI_path_utils_test.cc.
References APPEND.
| TEST | ( | path_utils | , |
| AppendFile_Truncate | ) |
Definition at line 717 of file BLI_path_utils_test.cc.
References APPEND.
| TEST | ( | path_utils | , |
| CompareNormalized | ) |
Definition at line 174 of file BLI_path_utils_test.cc.
References BLI_path_cmp_normalized(), and EXPECT_EQ().
| TEST | ( | path_utils | , |
| Contains | ) |
Definition at line 1683 of file BLI_path_utils_test.cc.
References BLI_path_contains().
| TEST | ( | path_utils | , |
| Extension | ) |
Definition at line 913 of file BLI_path_utils_test.cc.
References BLI_path_extension(), and EXPECT_EQ().
| TEST | ( | path_utils | , |
| ExtensionCheck | ) |
Definition at line 956 of file BLI_path_utils_test.cc.
References PATH_EXTENSION_CHECK.
| TEST | ( | path_utils | , |
| ExtensionEnsure | ) |
Definition at line 1078 of file BLI_path_utils_test.cc.
References PATH_EXTENSION_ENSURE.
| TEST | ( | path_utils | , |
| ExtensionEnsure_Overflow | ) |
Definition at line 1104 of file BLI_path_utils_test.cc.
References PATH_EXTENSION_ENSURE_WITH_MAXLEN.
| TEST | ( | path_utils | , |
| ExtensionReplace | ) |
Definition at line 1007 of file BLI_path_utils_test.cc.
References PATH_EXTENSION_REPLACE.
| TEST | ( | path_utils | , |
| ExtensionReplace_Overflow | ) |
Definition at line 1036 of file BLI_path_utils_test.cc.
References PATH_EXTENSION_REPLACE_WITH_MAXLEN.
| TEST | ( | path_utils | , |
| Frame | ) |
Definition at line 733 of file BLI_path_utils_test.cc.
References BLI_path_frame(), BLI_str_endswith(), FILE_MAX, and ret.
| TEST | ( | path_utils | , |
| FrameCheckChars | ) |
Definition at line 1135 of file BLI_path_utils_test.cc.
References PATH_FRAME_CHECK_CHARS.
| TEST | ( | path_utils | , |
| FrameGet | ) |
Definition at line 1214 of file BLI_path_utils_test.cc.
References PATH_FRAME_GET.
| TEST | ( | path_utils | , |
| FrameRange | ) |
Definition at line 1176 of file BLI_path_utils_test.cc.
References PATH_FRAME_RANGE.
| TEST | ( | path_utils | , |
| FrameStrip | ) |
Definition at line 896 of file BLI_path_utils_test.cc.
References PATH_FRAME_STRIP.
| TEST | ( | path_utils | , |
| HasHiddenComponents | ) |
Definition at line 1719 of file BLI_path_utils_test.cc.
References BLI_path_has_hidden_component().
| TEST | ( | path_utils | , |
| IsUnc | ) |
Definition at line 451 of file BLI_path_utils_test.cc.
References BLI_path_is_unc().
| TEST | ( | path_utils | , |
| IsWin32Drive | ) |
Definition at line 471 of file BLI_path_utils_test.cc.
References BLI_path_is_win32_drive().
| TEST | ( | path_utils | , |
| IsWin32DriveOnly | ) |
Definition at line 496 of file BLI_path_utils_test.cc.
References BLI_path_is_win32_drive_only().
| TEST | ( | path_utils | , |
| IsWin32DriveWithSlash | ) |
Definition at line 522 of file BLI_path_utils_test.cc.
References BLI_path_is_win32_drive_with_slash().
| TEST | ( | path_utils | , |
| JoinComplex | ) |
Definition at line 668 of file BLI_path_utils_test.cc.
References JOIN.
| TEST | ( | path_utils | , |
| JoinNop | ) |
Definition at line 593 of file BLI_path_utils_test.cc.
References JOIN.
| TEST | ( | path_utils | , |
| JoinRelativePrefix | ) |
Definition at line 675 of file BLI_path_utils_test.cc.
References JOIN.
| TEST | ( | path_utils | , |
| JoinSingle | ) |
Definition at line 604 of file BLI_path_utils_test.cc.
References JOIN.
| TEST | ( | path_utils | , |
| JoinTriple | ) |
Definition at line 616 of file BLI_path_utils_test.cc.
References JOIN.
| TEST | ( | path_utils | , |
| JoinTruncateLong | ) |
Definition at line 648 of file BLI_path_utils_test.cc.
References JOIN.
| TEST | ( | path_utils | , |
| JoinTruncateShort | ) |
Definition at line 631 of file BLI_path_utils_test.cc.
References JOIN.
| TEST | ( | path_utils | , |
| NameAtIndex_Double | ) |
Definition at line 301 of file BLI_path_utils_test.cc.
References AT_INDEX.
| TEST | ( | path_utils | , |
| NameAtIndex_DoublNeg | ) |
Definition at line 315 of file BLI_path_utils_test.cc.
References AT_INDEX.
| TEST | ( | path_utils | , |
| NameAtIndex_Misc | ) |
Definition at line 329 of file BLI_path_utils_test.cc.
References AT_INDEX.
| TEST | ( | path_utils | , |
| NameAtIndex_MiscComplex | ) |
Definition at line 407 of file BLI_path_utils_test.cc.
References AT_INDEX.
| TEST | ( | path_utils | , |
| NameAtIndex_MiscComplexNeg | ) |
Definition at line 417 of file BLI_path_utils_test.cc.
References AT_INDEX.
| TEST | ( | path_utils | , |
| NameAtIndex_MiscNeg | ) |
Definition at line 339 of file BLI_path_utils_test.cc.
References AT_INDEX.
| TEST | ( | path_utils | , |
| NameAtIndex_NoneComplex | ) |
Definition at line 427 of file BLI_path_utils_test.cc.
References AT_INDEX.
| TEST | ( | path_utils | , |
| NameAtIndex_NoneComplexNeg | ) |
Definition at line 435 of file BLI_path_utils_test.cc.
References AT_INDEX.
| TEST | ( | path_utils | , |
| NameAtIndex_Single | ) |
Definition at line 274 of file BLI_path_utils_test.cc.
References AT_INDEX.
| TEST | ( | path_utils | , |
| NameAtIndex_SingleDot | ) |
Definition at line 351 of file BLI_path_utils_test.cc.
| TEST | ( | path_utils | , |
| NameAtIndex_SingleDotDoubleSlash | ) |
Definition at line 373 of file BLI_path_utils_test.cc.
| TEST | ( | path_utils | , |
| NameAtIndex_SingleDotDoubleSlashNeg | ) |
Definition at line 382 of file BLI_path_utils_test.cc.
| TEST | ( | path_utils | , |
| NameAtIndex_SingleDotNeg | ) |
Definition at line 360 of file BLI_path_utils_test.cc.
| TEST | ( | path_utils | , |
| NameAtIndex_SingleDotSeries | ) |
Definition at line 393 of file BLI_path_utils_test.cc.
References AT_INDEX.
| TEST | ( | path_utils | , |
| NameAtIndex_SingleDotSeriesNeg | ) |
Definition at line 400 of file BLI_path_utils_test.cc.
References AT_INDEX.
| TEST | ( | path_utils | , |
| NameAtIndex_SingleNeg | ) |
Definition at line 287 of file BLI_path_utils_test.cc.
References AT_INDEX.
| TEST | ( | path_utils | , |
| Normalize_ComplexAbsolute | ) |
Definition at line 93 of file BLI_path_utils_test.cc.
References NORMALIZE.
| TEST | ( | path_utils | , |
| Normalize_ComplexRelative | ) |
Definition at line 98 of file BLI_path_utils_test.cc.
References NORMALIZE.
| TEST | ( | path_utils | , |
| Normalize_Dot | ) |
Definition at line 85 of file BLI_path_utils_test.cc.
References NORMALIZE.
| TEST | ( | path_utils | , |
| Normalize_DoubleSlash | ) |
Definition at line 104 of file BLI_path_utils_test.cc.
References NORMALIZE.
| TEST | ( | path_utils | , |
| Normalize_Nop | ) |
Definition at line 66 of file BLI_path_utils_test.cc.
References NORMALIZE.
| TEST | ( | path_utils | , |
| Normalize_NopRelative | ) |
Definition at line 75 of file BLI_path_utils_test.cc.
References NORMALIZE.
| TEST | ( | path_utils | , |
| Normalize_Parent | ) |
Definition at line 112 of file BLI_path_utils_test.cc.
References NORMALIZE.
| TEST | ( | path_utils | , |
| Normalize_UnbalancedAbsolute | ) |
Definition at line 118 of file BLI_path_utils_test.cc.
References NORMALIZE.
| TEST | ( | path_utils | , |
| Normalize_UnbalancedRelative | ) |
Definition at line 132 of file BLI_path_utils_test.cc.
References NORMALIZE.
| TEST | ( | path_utils | , |
| Normalize_UnbalancedRelativeTrailing | ) |
Definition at line 149 of file BLI_path_utils_test.cc.
References NORMALIZE.
| TEST | ( | path_utils | , |
| ParentDir_Complex | ) |
Definition at line 236 of file BLI_path_utils_test.cc.
References PARENT_DIR.
| TEST | ( | path_utils | , |
| ParentDir_NOP | ) |
Definition at line 213 of file BLI_path_utils_test.cc.
References PARENT_DIR.
| TEST | ( | path_utils | , |
| ParentDir_Simple | ) |
Definition at line 206 of file BLI_path_utils_test.cc.
References PARENT_DIR.
| TEST | ( | path_utils | , |
| ParentDir_TrailingPeriod | ) |
Definition at line 223 of file BLI_path_utils_test.cc.
References PARENT_DIR.
| TEST | ( | path_utils | , |
| PathIsAbsFromCwd | ) |
Definition at line 1648 of file BLI_path_utils_test.cc.
References BLI_path_is_abs_from_cwd().
| TEST | ( | path_utils | , |
| PathIsRel | ) |
Definition at line 1626 of file BLI_path_utils_test.cc.
References BLI_path_is_rel().
| TEST | ( | path_utils | , |
| RelPath_BufferOverflowRoot | ) |
Definition at line 1584 of file BLI_path_utils_test.cc.
References ABS_PREFIX, FILE_MAX, PATH_REL, and STRNCPY_RLEN.
| TEST | ( | path_utils | , |
| RelPath_BufferOverflowSubdir | ) |
Definition at line 1600 of file BLI_path_utils_test.cc.
References ABS_PREFIX, FILE_MAX, int, PATH_REL, and STRNCPY_RLEN.
| TEST | ( | path_utils | , |
| RelPath_Simple | ) |
Definition at line 1574 of file BLI_path_utils_test.cc.
References ABS_PREFIX, and PATH_REL.
| TEST | ( | path_utils | , |
| RelPath_SimpleSubdir | ) |
Definition at line 1579 of file BLI_path_utils_test.cc.
References ABS_PREFIX, and PATH_REL.
| TEST | ( | path_utils | , |
| SequenceDecode | ) |
Definition at line 1246 of file BLI_path_utils_test.cc.
References PATH_SEQ_DECODE.
| TEST | ( | path_utils | , |
| SplitDirfile | ) |
Definition at line 824 of file BLI_path_utils_test.cc.
References BLI_path_split_dir_file(), and FILE_MAX.
| TEST | ( | path_utils | , |
| Suffix | ) |
Definition at line 1277 of file BLI_path_utils_test.cc.
References FILE_MAX, and PATH_SUFFIX.