Skip to content

Commit 8b7b939

Browse files
Change name of the external interface library.
1 parent 12f7a83 commit 8b7b939

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/test_sot_loader_basic.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ class MockSotLoaderBasicTest : public ::testing::Test {
3535
EXPECT_EQ(parseOptions(argc, argv), -1);
3636

3737
// Test input file
38-
char argv3[60] = "--input-file=libimpl_test_sot_external_interface.so";
38+
char argv3[60] = "--input-file=libimpl_test_library.so";
3939
argv[1] = argv3;
4040
EXPECT_EQ(parseOptions(argc, argv), 0);
4141

4242
// Check that the file is what we specified
43-
std::string finalname("libimpl_test_sot_external_interface.so");
43+
std::string finalname("libimpl_test_library.so");
4444
EXPECT_TRUE(finalname == dynamicLibraryName_);
4545
}
4646

@@ -72,14 +72,14 @@ class MockSotLoaderBasicTest : public ::testing::Test {
7272

7373
char argv1[30] = "mocktest";
7474
argv[0] = argv1;
75-
char argv2[60] = "--input-file=libimpl_test_sot_external_interface.so";
75+
char argv2[60] = "--input-file=libimpl_test_library.so";
7676
argv[1] = argv2;
7777
parseOptions(argc, argv);
7878

79-
std::string finalname("libimpl_test_sot_external_interface.so");
79+
std::string finalname("libimpl_test_library.so");
8080
EXPECT_TRUE(finalname == dynamicLibraryName_);
8181

82-
// Performs initializatio of libimpl_test_sot_external_interface.so
82+
// Performs initializatio of libimpl_test_library.so
8383
loadController();
8484
EXPECT_TRUE(sotRobotControllerLibrary_ != 0);
8585
EXPECT_TRUE(sotController_ != nullptr);
@@ -106,14 +106,14 @@ class MockSotLoaderBasicTest : public ::testing::Test {
106106

107107
char argv1[30] = "mocktest";
108108
argv[0] = argv1;
109-
char argv2[60] = "--input-file=libimpl_test_sot_external_interface.so";
109+
char argv2[60] = "--input-file=libimpl_test_library.so";
110110
argv[1] = argv2;
111111
parseOptions(argc, argv);
112112

113-
std::string finalname("libimpl_test_sot_external_interface.so");
113+
std::string finalname("libimpl_test_library.so");
114114
EXPECT_TRUE(finalname == dynamicLibraryName_);
115115

116-
// Performs initializatio of libimpl_test_sot_external_interface.so
116+
// Performs initializatio of libimpl_test_library.so
117117
loadController();
118118
// Remove
119119
CleanUp();

0 commit comments

Comments
 (0)