diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-16 07:19:31 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-16 07:30:22 +0300 |
commit | 8cfdad99a0edbc70beb266518458199b757497b5 (patch) | |
tree | a0da9dfb71d7a234c0ae16e99e5ea325807697c2 /source/blender/blenkernel | |
parent | 24ada9c96027971e50e9d103c746d674024b6892 (diff) |
Cleanup: incorrect comments, use C comments
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/bpath_test.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/bpath_test.cc b/source/blender/blenkernel/intern/bpath_test.cc index ec1737276e1..a614f9b3954 100644 --- a/source/blender/blenkernel/intern/bpath_test.cc +++ b/source/blender/blenkernel/intern/bpath_test.cc @@ -77,7 +77,7 @@ class BPathTest : public testing::Test { TEST_F(BPathTest, rebase_on_relative) { - // Test on relative paths, should be modified. + /* Test on relative paths, should be modified. */ Text *text = reinterpret_cast<Text *>(bmain->texts.first); text->filepath = BLI_strdup(TEXT_PATH_RELATIVE); @@ -92,7 +92,7 @@ TEST_F(BPathTest, rebase_on_relative) TEST_F(BPathTest, rebase_on_absolute) { - // Test on absolute paths, should not be modified. + /* Test on absolute paths, should not be modified. */ Text *text = reinterpret_cast<Text *>(bmain->texts.first); text->filepath = BLI_strdup(TEXT_PATH_ABSOLUTE); @@ -115,9 +115,9 @@ TEST_F(BPathTest, convert_to_relative) BKE_bpath_relative_convert(bmain, BASE_DIR, nullptr); - // Already relative path should not be modified. + /* Already relative path should not be modified. */ EXPECT_STREQ(text->filepath, TEXT_PATH_RELATIVE); - // Absolute path should be modified. + /* Absolute path should be modified. */ EXPECT_STREQ(movie_clip->filepath, MOVIECLIP_PATH_ABSOLUTE_MADE_RELATIVE); } @@ -131,9 +131,9 @@ TEST_F(BPathTest, convert_to_absolute) BKE_bpath_absolute_convert(bmain, BASE_DIR, nullptr); - // Relative path should be modified. + /* Relative path should be modified. */ EXPECT_STREQ(text->filepath, TEXT_PATH_RELATIVE_MADE_ABSOLUTE); - // Already absolute path should not be modified. + /* Already absolute path should not be modified. */ EXPECT_STREQ(movie_clip->filepath, MOVIECLIP_PATH_ABSOLUTE); } |