@@ -83,7 +83,7 @@ TEST(TaskTest, SlowTask_WithInt32Vector_ThrowsOnTimeout) {
8383 {
8484 std::vector<int32_t > in (20 , 1 );
8585 ppc::test::FakeSlowTask<std::vector<int32_t >, int32_t > test_task (in);
86- test_task.ExpectIncompleteLifecycle (); // Task may not complete due to timeout
86+ test_task.ExpectIncompleteLifecycle (); // Task may not complete due to timeout
8787 ASSERT_EQ (test_task.Validation (), true );
8888 test_task.PreProcessing ();
8989 test_task.Run ();
@@ -95,7 +95,7 @@ TEST(TaskTest, TestTask_WithEmptyInput_ValidationFails) {
9595 {
9696 std::vector<int32_t > in;
9797 ppc::test::TestTask<std::vector<int32_t >, int32_t > test_task (in);
98- test_task.ExpectIncompleteLifecycle (); // Task fails validation so won't complete
98+ test_task.ExpectIncompleteLifecycle (); // Task fails validation so won't complete
9999 ASSERT_EQ (test_task.Validation (), false );
100100 }
101101}
@@ -124,7 +124,7 @@ TEST(TaskTest, TestTask_WithWrongExecutionOrder_ThrowsRuntimeError) {
124124 {
125125 std::vector<float > in (20 , 1 );
126126 ppc::test::TestTask<std::vector<float >, float > test_task (in);
127- test_task.ExpectIncompleteLifecycle (); // Task has wrong execution order
127+ test_task.ExpectIncompleteLifecycle (); // Task has wrong execution order
128128 ASSERT_EQ (test_task.Validation (), true );
129129 test_task.PreProcessing ();
130130 EXPECT_THROW (test_task.PostProcessing (), std::runtime_error);
@@ -135,7 +135,7 @@ TEST(TaskTest, TestTask_WithPrematurePostProcessingNoSteps_ThrowsRuntimeError) {
135135 {
136136 std::vector<float > in (20 , 1 );
137137 ppc::test::TestTask<std::vector<float >, float > test_task (in);
138- test_task.ExpectIncompleteLifecycle (); // Task throws exception so won't complete
138+ test_task.ExpectIncompleteLifecycle (); // Task throws exception so won't complete
139139 EXPECT_THROW (test_task.PostProcessing (), std::runtime_error);
140140 }
141141}
@@ -144,7 +144,7 @@ TEST(TaskTest, TestTask_WithPrematurePostProcessingAfterPreProcessing_ThrowsRunt
144144 {
145145 std::vector<float > in (20 , 1 );
146146 ppc::test::TestTask<std::vector<float >, float > test_task (in);
147- test_task.ExpectIncompleteLifecycle (); // Task throws exceptions so won't complete
147+ test_task.ExpectIncompleteLifecycle (); // Task throws exceptions so won't complete
148148 EXPECT_THROW (test_task.PreProcessing (), std::runtime_error);
149149 EXPECT_THROW (test_task.PostProcessing (), std::runtime_error);
150150 }
@@ -228,7 +228,7 @@ TEST(TaskTest, TaskDestructor_WithIncompleteStage_SetsDestructorFailureFlag) {
228228 bool RunImpl () override { return true ; }
229229 bool PostProcessingImpl () override { return true ; }
230230 } task (in);
231- task.ExpectIncompleteLifecycle (); // Mark this task as expected to be incomplete
231+ task.ExpectIncompleteLifecycle (); // Mark this task as expected to be incomplete
232232 task.Validation ();
233233 }
234234 // No need to check global flag - task handles its own validation
@@ -244,7 +244,7 @@ TEST(TaskTest, TaskDestructor_WithEmptyTask_SetsDestructorFailureFlag) {
244244 bool RunImpl () override { return true ; }
245245 bool PostProcessingImpl () override { return true ; }
246246 } task (in);
247- task.ExpectIncompleteLifecycle (); // Mark this task as expected to be incomplete
247+ task.ExpectIncompleteLifecycle (); // Mark this task as expected to be incomplete
248248 }
249249 // No need to check global flag - task handles its own validation
250250}
@@ -264,7 +264,7 @@ TEST(TaskTest, InternalTimeTest_WithTimeoutExceeded_ThrowsRuntimeError) {
264264 {
265265 std::vector<int32_t > in (20 , 1 );
266266 SlowTask task (in);
267- task.ExpectIncompleteLifecycle (); // Task throws timeout exception
267+ task.ExpectIncompleteLifecycle (); // Task throws timeout exception
268268 task.GetStateOfTesting () = StateOfTesting::kFunc ;
269269 task.Validation ();
270270 EXPECT_NO_THROW (task.PreProcessing ());
@@ -285,7 +285,7 @@ class DummyTask : public Task<int, int> {
285285TEST (TaskTest, Validation_WhenCalledTwice_ThrowsRuntimeError) {
286286 {
287287 auto task = std::make_shared<DummyTask>();
288- task->ExpectIncompleteLifecycle (); // Task throws exception so won't complete
288+ task->ExpectIncompleteLifecycle (); // Task throws exception so won't complete
289289 task->Validation ();
290290 EXPECT_THROW (task->Validation (), std::runtime_error);
291291 }
@@ -294,23 +294,23 @@ TEST(TaskTest, Validation_WhenCalledTwice_ThrowsRuntimeError) {
294294TEST (TaskTest, PreProcessing_WhenCalledBeforeValidation_ThrowsRuntimeError) {
295295 {
296296 auto task = std::make_shared<DummyTask>();
297- task->ExpectIncompleteLifecycle (); // Task throws exception so won't complete
297+ task->ExpectIncompleteLifecycle (); // Task throws exception so won't complete
298298 EXPECT_THROW (task->PreProcessing (), std::runtime_error);
299299 }
300300}
301301
302302TEST (TaskTest, Run_WhenCalledBeforePreProcessing_ThrowsRuntimeError) {
303303 {
304304 auto task = std::make_shared<DummyTask>();
305- task->ExpectIncompleteLifecycle (); // Task throws exception so won't complete
305+ task->ExpectIncompleteLifecycle (); // Task throws exception so won't complete
306306 EXPECT_THROW (task->Run (), std::runtime_error);
307307 }
308308}
309309
310310TEST (TaskTest, PostProcessing_WhenCalledBeforeRun_ThrowsRuntimeError) {
311311 {
312312 auto task = std::make_shared<DummyTask>();
313- task->ExpectIncompleteLifecycle (); // Task throws exception so won't complete
313+ task->ExpectIncompleteLifecycle (); // Task throws exception so won't complete
314314 task->Validation ();
315315 task->PreProcessing ();
316316 EXPECT_THROW (task->PostProcessing (), std::runtime_error);
0 commit comments