Skip to content

Commit fd07ecd

Browse files
committed
Fix some tests on running on Windows
1 parent 0a4ce4c commit fd07ecd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

test/src/graph/nodes/CompactByFieldPointsNodeTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ TEST_F(CompactByFieldPointsNodeTest, valid_argument_node_is_not_nullptr)
6868
TEST_F(CompactByFieldPointsNodeTest, invalid_pipeline_when_no_input_node)
6969
{
7070
ASSERT_RGL_SUCCESS(rgl_node_points_compact_by_field(&compactByFieldPointsNode, IS_HIT_I32));
71-
EXPECT_RGL_INVALID_PIPELINE(rgl_graph_run(compactByFieldPointsNode), "looked for IPointsNode");
71+
EXPECT_RGL_INVALID_PIPELINE(rgl_graph_run(compactByFieldPointsNode), "looked for", "IPointsNode");
7272
}
7373

7474
TEST_F(CompactByFieldPointsNodeTest, invalid_pipeline_when_incorrect_input_node)
@@ -80,7 +80,7 @@ TEST_F(CompactByFieldPointsNodeTest, invalid_pipeline_when_incorrect_input_node)
8080

8181
ASSERT_RGL_SUCCESS(rgl_node_points_compact_by_field(&compactByFieldPointsNode, IS_HIT_I32));
8282
ASSERT_RGL_SUCCESS(rgl_graph_node_add_child(useRaysNode, compactByFieldPointsNode));
83-
EXPECT_RGL_INVALID_PIPELINE(rgl_graph_run(compactByFieldPointsNode), "looked for IPointsNode");
83+
EXPECT_RGL_INVALID_PIPELINE(rgl_graph_run(compactByFieldPointsNode), "looked for", "IPointsNode");
8484
}
8585

8686
TEST_P(CompactByFieldPointsNodeTest, points_all_non_hit)

test/src/graph/nodes/RaytraceNodeTest.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ TEST_F(RaytraceNodeTest, config_velocity_invalid_node_object)
5858
const rgl_vec3f linearVelocity = {1.0f, 2.0f, 3.0f};
5959
const rgl_vec3f angularVelocity = {4.0f, 5.0f, 6.0f};
6060
EXPECT_RGL_INVALID_OBJECT(rgl_node_raytrace_configure_velocity((rgl_node_t) 0x1234, &linearVelocity, &angularVelocity),
61-
"Object does not exist: Node 0x1234");
61+
"Object does not exist: ", "Node 0x1234");
6262
}
6363

6464
TEST_F(RaytraceNodeTest, config_velocity_valid_arguments)
@@ -78,7 +78,7 @@ TEST_F(RaytraceNodeTest, config_distortion_invalid_argument_node)
7878
TEST_F(RaytraceNodeTest, config_distortion_invalid_node_object)
7979
{
8080
EXPECT_RGL_INVALID_OBJECT(rgl_node_raytrace_configure_distortion((rgl_node_t) 0x1234, false),
81-
"Object does not exist: Node 0x1234");
81+
"Object does not exist: ", "Node 0x1234");
8282
}
8383

8484
TEST_F(RaytraceNodeTest, config_distortion_valid_arguments)
@@ -96,7 +96,7 @@ TEST_F(RaytraceNodeTest, config_non_hit_distance_invalid_argument_node)
9696
TEST_F(RaytraceNodeTest, config_non_hit_distance_invalid_node_object)
9797
{
9898
EXPECT_RGL_INVALID_OBJECT(rgl_node_raytrace_configure_non_hits((rgl_node_t) 0x1234, 0.0f, 0.0f),
99-
"Object does not exist: Node 0x1234");
99+
"Object does not exist: ", "Node 0x1234");
100100
}
101101

102102
TEST_F(RaytraceNodeTest, config_non_hit_distance_valid_arguments)

0 commit comments

Comments
 (0)