Skip to content

Commit

Permalink
[CI] copy_test remove ros deps
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthou committed Dec 3, 2023
1 parent 3517a24 commit fe3d775
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/tests/CI/copy_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "ontologenius/core/ontoGraphs/Ontology.h"
#include "ontologenius/utils/Commands.h"

#include <chrono>
#include <ros/package.h>

#include <gtest/gtest.h>

Expand All @@ -12,7 +12,7 @@ TEST(cpy_tests, reset)
ontologenius::Ontology onto1;
onto1.setDisplay(false);

std::string path_base = ros::package::getPath("ontologenius");
std::string path_base = ontologenius::findPackageRos1("ontologenius");
std::string path = path_base + "/files/attribute.owl";
onto1.readFromFile(path);
path = path_base + "/files/positionProperty.owl";
Expand Down Expand Up @@ -47,10 +47,6 @@ TEST(cpy_tests, reset)

int main(int argc, char** argv)
{
ros::init(argc, argv, "ontologenius_cpy");

testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();

return 0;
}

0 comments on commit fe3d775

Please sign in to comment.