Blender  V2.93
Functions
util_path_test.cpp File Reference
#include "testing/testing.h"
#include "util/util_path.h"

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN TEST (util_path_filename, simple_unix)
 
 TEST (util_path_filename, root_unix)
 
 TEST (util_path_filename, last_slash_unix)
 
 TEST (util_path_filename, alternate_slash_unix)
 
 TEST (util_path_filename, file_only)
 
 TEST (util_path_filename, empty)
 
 TEST (util_path_dirname, simple_unix)
 
 TEST (util_path_dirname, root_unix)
 
 TEST (util_path_dirname, last_slash_unix)
 
 TEST (util_path_dirname, alternate_slash_unix)
 
 TEST (util_path_dirname, file_only)
 
 TEST (util_path_dirname, empty)
 
 TEST (util_path_join, empty_both)
 
 TEST (util_path_join, empty_directory)
 
 TEST (util_path_join, empty_filename)
 
 TEST (util_path_join, simple_unix)
 
 TEST (util_path_join, directory_slash_unix)
 
 TEST (util_path_join, filename_slash_unix)
 
 TEST (util_path_join, both_slash_unix)
 
 TEST (util_path_join, directory_alternate_slash_unix)
 
 TEST (util_path_join, filename_alternate_slash_unix)
 
 TEST (util_path_join, both_alternate_slash_unix)
 
 TEST (util_path_join, empty_dir_filename_slash_unix)
 
 TEST (util_path_join, empty_dir_filename_alternate_slash_unix)
 
 TEST (util_path_join, empty_filename_dir_slash_unix)
 
 TEST (util_path_join, empty_filename_dir_alternate_slash_unix)
 
 TEST (util_path_escape, no_escape_chars)
 
 TEST (util_path_escape, simple)
 
 TEST (util_path_escape, simple_end)
 
 TEST (util_path_escape, multiple)
 
 TEST (util_path_escape, simple_multiple_end)
 
 TEST (util_path_is_relative, filename)
 
 TEST (util_path_is_relative, absolute_unix)
 
 TEST (util_path_is_relative, relative_dir_unix)
 
 TEST (util_path_is_relative, absolute_windir_on_unix)
 
 TEST (util_path_is_relative, relative_windir_on_unix)
 

Function Documentation

◆ TEST() [1/36]

TEST ( util_path_dirname  ,
alternate_slash_unix   
)

Definition at line 110 of file util_path_test.cpp.

References EXPECT_EQ(), path_dirname(), and str.

◆ TEST() [2/36]

TEST ( util_path_dirname  ,
empty   
)

Definition at line 123 of file util_path_test.cpp.

References EXPECT_EQ(), path_dirname(), and str.

◆ TEST() [3/36]

TEST ( util_path_dirname  ,
file_only   
)

Definition at line 117 of file util_path_test.cpp.

References EXPECT_EQ(), path_dirname(), and str.

◆ TEST() [4/36]

TEST ( util_path_dirname  ,
last_slash_unix   
)

Definition at line 104 of file util_path_test.cpp.

References EXPECT_EQ(), path_dirname(), and str.

◆ TEST() [5/36]

TEST ( util_path_dirname  ,
root_unix   
)

Definition at line 98 of file util_path_test.cpp.

References EXPECT_EQ(), path_dirname(), and str.

◆ TEST() [6/36]

TEST ( util_path_dirname  ,
simple_unix   
)

Definition at line 92 of file util_path_test.cpp.

References EXPECT_EQ(), path_dirname(), and str.

◆ TEST() [7/36]

TEST ( util_path_escape  ,
multiple   
)

Definition at line 329 of file util_path_test.cpp.

References EXPECT_EQ(), path_escape(), and str.

◆ TEST() [8/36]

TEST ( util_path_escape  ,
no_escape_chars   
)

Definition at line 311 of file util_path_test.cpp.

References EXPECT_EQ(), path_escape(), and str.

◆ TEST() [9/36]

TEST ( util_path_escape  ,
simple   
)

Definition at line 317 of file util_path_test.cpp.

References EXPECT_EQ(), path_escape(), and str.

◆ TEST() [10/36]

TEST ( util_path_escape  ,
simple_end   
)

Definition at line 323 of file util_path_test.cpp.

References EXPECT_EQ(), path_escape(), and str.

◆ TEST() [11/36]

TEST ( util_path_escape  ,
simple_multiple_end   
)

Definition at line 335 of file util_path_test.cpp.

References EXPECT_EQ(), path_escape(), and str.

◆ TEST() [12/36]

TEST ( util_path_filename  ,
alternate_slash_unix   
)

Definition at line 44 of file util_path_test.cpp.

References EXPECT_EQ(), path_filename(), and str.

◆ TEST() [13/36]

TEST ( util_path_filename  ,
empty   
)

Definition at line 57 of file util_path_test.cpp.

References EXPECT_EQ(), path_filename(), and str.

◆ TEST() [14/36]

TEST ( util_path_filename  ,
file_only   
)

Definition at line 51 of file util_path_test.cpp.

References EXPECT_EQ(), path_filename(), and str.

◆ TEST() [15/36]

TEST ( util_path_filename  ,
last_slash_unix   
)

Definition at line 38 of file util_path_test.cpp.

References EXPECT_EQ(), path_filename(), and str.

◆ TEST() [16/36]

TEST ( util_path_filename  ,
root_unix   
)

Definition at line 32 of file util_path_test.cpp.

References EXPECT_EQ(), path_filename(), and str.

◆ TEST() [17/36]

CCL_NAMESPACE_BEGIN TEST ( util_path_filename  ,
simple_unix   
)

Definition at line 26 of file util_path_test.cpp.

References EXPECT_EQ(), path_filename(), and str.

◆ TEST() [18/36]

TEST ( util_path_is_relative  ,
absolute_unix   
)

Definition at line 350 of file util_path_test.cpp.

References path_is_relative().

◆ TEST() [19/36]

TEST ( util_path_is_relative  ,
absolute_windir_on_unix   
)

Definition at line 362 of file util_path_test.cpp.

References path_is_relative().

◆ TEST() [20/36]

TEST ( util_path_is_relative  ,
filename   
)

Definition at line 343 of file util_path_test.cpp.

References path_is_relative().

◆ TEST() [21/36]

TEST ( util_path_is_relative  ,
relative_dir_unix   
)

Definition at line 356 of file util_path_test.cpp.

References path_is_relative().

◆ TEST() [22/36]

TEST ( util_path_is_relative  ,
relative_windir_on_unix   
)

Definition at line 368 of file util_path_test.cpp.

References path_is_relative().

◆ TEST() [23/36]

TEST ( util_path_join  ,
both_alternate_slash_unix   
)

Definition at line 212 of file util_path_test.cpp.

References EXPECT_EQ(), path_join(), and str.

◆ TEST() [24/36]

TEST ( util_path_join  ,
both_slash_unix   
)

Definition at line 194 of file util_path_test.cpp.

References EXPECT_EQ(), path_join(), and str.

◆ TEST() [25/36]

TEST ( util_path_join  ,
directory_alternate_slash_unix   
)

Definition at line 200 of file util_path_test.cpp.

References EXPECT_EQ(), path_join(), and str.

◆ TEST() [26/36]

TEST ( util_path_join  ,
directory_slash_unix   
)

Definition at line 182 of file util_path_test.cpp.

References EXPECT_EQ(), path_join(), and str.

◆ TEST() [27/36]

TEST ( util_path_join  ,
empty_both   
)

Definition at line 157 of file util_path_test.cpp.

References EXPECT_EQ(), path_join(), and str.

◆ TEST() [28/36]

TEST ( util_path_join  ,
empty_dir_filename_alternate_slash_unix   
)

Definition at line 224 of file util_path_test.cpp.

References EXPECT_EQ(), path_join(), and str.

◆ TEST() [29/36]

TEST ( util_path_join  ,
empty_dir_filename_slash_unix   
)

Definition at line 218 of file util_path_test.cpp.

References EXPECT_EQ(), path_join(), and str.

◆ TEST() [30/36]

TEST ( util_path_join  ,
empty_directory   
)

Definition at line 163 of file util_path_test.cpp.

References EXPECT_EQ(), path_join(), and str.

◆ TEST() [31/36]

TEST ( util_path_join  ,
empty_filename   
)

Definition at line 169 of file util_path_test.cpp.

References EXPECT_EQ(), path_join(), and str.

◆ TEST() [32/36]

TEST ( util_path_join  ,
empty_filename_dir_alternate_slash_unix   
)

Definition at line 236 of file util_path_test.cpp.

References EXPECT_EQ(), path_join(), and str.

◆ TEST() [33/36]

TEST ( util_path_join  ,
empty_filename_dir_slash_unix   
)

Definition at line 230 of file util_path_test.cpp.

References EXPECT_EQ(), path_join(), and str.

◆ TEST() [34/36]

TEST ( util_path_join  ,
filename_alternate_slash_unix   
)

Definition at line 206 of file util_path_test.cpp.

References EXPECT_EQ(), path_join(), and str.

◆ TEST() [35/36]

TEST ( util_path_join  ,
filename_slash_unix   
)

Definition at line 188 of file util_path_test.cpp.

References EXPECT_EQ(), path_join(), and str.

◆ TEST() [36/36]

TEST ( util_path_join  ,
simple_unix   
)

Definition at line 176 of file util_path_test.cpp.

References EXPECT_EQ(), path_join(), and str.