Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2017-03-24 09:48:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-03-24 09:48:22 +0300
commitbc0b5d611c8bac1923f06dbcf9945e97c223b7c2 (patch)
tree01ddbd219ed24d689118b7301653034d0972ee76 /tests/gtests
parent50f9fc7a53b53a53b9fc90bcb20396426631d20f (diff)
Cleanup: minor edits to path test
No need for redundant ID's and correct arg order
Diffstat (limited to 'tests/gtests')
-rw-r--r--tests/gtests/blenlib/BLI_path_util_test.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/gtests/blenlib/BLI_path_util_test.cc b/tests/gtests/blenlib/BLI_path_util_test.cc
index 4c45bfd6758..ef469da50b2 100644
--- a/tests/gtests/blenlib/BLI_path_util_test.cc
+++ b/tests/gtests/blenlib/BLI_path_util_test.cc
@@ -58,7 +58,7 @@ char *zLhm65070058860608_br_find_exe(const char *default_exe)
/* BLI_cleanup_path */
#ifndef _WIN32
-TEST(path_util, PathUtilClean)
+TEST(path_util, Clean)
{
/* "/./" -> "/" */
{
@@ -128,7 +128,7 @@ TEST(path_util, PathUtilClean)
EXPECT_EQ(ret, true); \
EXPECT_EQ(strlen(expect), len_output); \
path[index_output + len_output] = '\0'; \
- EXPECT_STREQ(expect, &path[index_output]); \
+ EXPECT_STREQ(&path[index_output], expect); \
} \
}((void)0)
@@ -345,7 +345,7 @@ TEST(path_util, JoinComplex)
#undef JOIN
/* BLI_path_frame */
-TEST(path_util, PathUtilFrame)
+TEST(path_util, Frame)
{
bool ret;
@@ -408,7 +408,7 @@ TEST(path_util, PathUtilFrame)
}
/* BLI_split_dirfile */
-TEST(path_util, PathUtilSplitDirfile)
+TEST(path_util, SplitDirfile)
{
{
const char *path = "";