From 81d434726c0b07ca9578b59054db335d0be1d756 Mon Sep 17 00:00:00 2001 From: AlexandruAntonescuKeysight Date: Mon, 27 May 2024 19:42:33 +0300 Subject: [PATCH] fixes trace path in feeder tests --- tests/feeder/tests.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/feeder/tests.cpp b/tests/feeder/tests.cpp index fd0b702b..d5604c59 100644 --- a/tests/feeder/tests.cpp +++ b/tests/feeder/tests.cpp @@ -20,7 +20,7 @@ class ETFeederTest : public ::testing::Test { }; TEST_F(ETFeederTest, ConstructorNodeIDTest) { - SetUp("test/data/chakra.0.et"); + SetUp("tests/data/chakra.0.et"); std::shared_ptr node = trace->getNextIssuableNode(); uint64_t firstNodeID = node->id(); ASSERT_EQ(firstNodeID, 216); @@ -31,7 +31,7 @@ TEST_F(ETFeederTest, ConstructorNodeIDTest) { } TEST_F(ETFeederTest, ConstructorNodeValuesTest) { - SetUp("test/data/chakra.0.et"); + SetUp("tests/data/chakra.0.et"); std::shared_ptr node = trace->getNextIssuableNode(); ChakraProtoMsg::NodeType firstNodeType = node->type(); ASSERT_EQ(firstNodeType, ChakraProtoMsg::COMP_NODE); @@ -51,7 +51,7 @@ TEST_F(ETFeederTest, ConstructorNodeValuesTest) { } TEST_F(ETFeederTest, ConstructorETFeederTest) { - SetUp("test/data/chakra.0.et"); + SetUp("tests/data/chakra.0.et"); std::shared_ptr node = trace->getNextIssuableNode(); std::vector> children = node->getChildren(); ASSERT_EQ(children[0]->id(), 217); @@ -60,7 +60,7 @@ TEST_F(ETFeederTest, ConstructorETFeederTest) { } TEST_F(ETFeederTest, RemoveTest) { - SetUp("test/data/chakra.0.et"); + SetUp("tests/data/chakra.0.et"); std::shared_ptr node = trace->lookupNode(216); ASSERT_EQ(node->id(), 216); trace->removeNode(216); @@ -87,7 +87,7 @@ TEST_F(ETFeederTest, RemoveAndGetNextTest) { } TEST_F(ETFeederTest, FreeChildrenTest) { - SetUp("test/data/chakra.0.et"); + SetUp("tests/data/chakra.0.et"); std::shared_ptr node = trace->lookupNode(216); ASSERT_EQ(node->id(), 216); trace->freeChildrenNodes(216); @@ -107,7 +107,7 @@ TEST_F(ETFeederTest, HasNodesToIssueTest) { } TEST_F(ETFeederTest, PushBackIssuableNodeTest) { - SetUp("test/data/chakra.0.et"); + SetUp("tests/data/chakra.0.et"); std::shared_ptr node; trace->pushBackIssuableNode(217); node = trace->getNextIssuableNode(); @@ -117,7 +117,7 @@ TEST_F(ETFeederTest, PushBackIssuableNodeTest) { } TEST_F(ETFeederTest, AddNodeTest) { - SetUp("test/data/chakra.0.et"); + SetUp("tests/data/chakra.0.et"); std::shared_ptr node; node = trace->lookupNode(216); trace->removeNode(216); @@ -128,7 +128,7 @@ TEST_F(ETFeederTest, AddNodeTest) { } TEST_F(ETFeederTest, NodeGetChildrenTest) { - SetUp("test/data/chakra.0.et"); + SetUp("tests/data/chakra.0.et"); std::shared_ptr node; node = trace->lookupNode(216); std::vector> children = node->getChildren();