@@ -208,7 +208,7 @@ TEST_F(TimestampPacketTests, givenTagNodeWhatAskingForGpuAddressesThenReturnCorr
208208 EXPECT_EQ (expectedCounterAddress, TimestampPacketHelper::getGpuDependenciesCountGpuAddress (mockNode));
209209}
210210
211- TEST_F (TimestampPacketSimpleTests, whenContextEndTagIsNotOneThenMarkAsCompleted ) {
211+ TEST_F (TimestampPacketSimpleTests, whenEndTagIsNotOneThenMarkAsCompleted ) {
212212 TimestampPacketStorage timestampPacketStorage;
213213 auto &packet = timestampPacketStorage.packets [0 ];
214214 timestampPacketStorage.initialize ();
@@ -223,10 +223,10 @@ TEST_F(TimestampPacketSimpleTests, whenContextEndTagIsNotOneThenMarkAsCompleted)
223223
224224 packet.contextEnd = 0 ;
225225 packet.globalEnd = 1 ;
226- EXPECT_TRUE (timestampPacketStorage.isCompleted ());
226+ EXPECT_FALSE (timestampPacketStorage.isCompleted ());
227227
228- packet.contextEnd = 100 ;
229- packet.globalEnd = 100 ;
228+ packet.contextEnd = 0 ;
229+ packet.globalEnd = 0 ;
230230 EXPECT_TRUE (timestampPacketStorage.isCompleted ());
231231}
232232
@@ -272,13 +272,9 @@ TEST_F(TimestampPacketSimpleTests, whenIsCompletedIsCalledThenItReturnsProperTim
272272
273273 EXPECT_FALSE (timestampPacketStorage.isCompleted ());
274274 packet.contextEnd = 0 ;
275- EXPECT_TRUE (timestampPacketStorage.isCompleted ());
276- packet.contextEnd = 100 ;
277- EXPECT_TRUE (timestampPacketStorage.isCompleted ());
275+ EXPECT_FALSE (timestampPacketStorage.isCompleted ());
278276 packet.globalEnd = 0 ;
279277 EXPECT_TRUE (timestampPacketStorage.isCompleted ());
280- packet.globalEnd = 100 ;
281- EXPECT_TRUE (timestampPacketStorage.isCompleted ());
282278}
283279
284280TEST_F (TimestampPacketSimpleTests, givenMultiplePacketsInUseWhenCompletionIsCheckedTheVerifyAllUsedNodes) {
@@ -295,16 +291,10 @@ TEST_F(TimestampPacketSimpleTests, givenMultiplePacketsInUseWhenCompletionIsChec
295291 }
296292
297293 packets[timestampPacketStorage.packetsUsed - 1 ].contextEnd = 0 ;
298- EXPECT_TRUE (timestampPacketStorage.isCompleted ());
299-
300- packets[timestampPacketStorage.packetsUsed - 1 ].contextEnd = 100 ;
301- EXPECT_TRUE (timestampPacketStorage.isCompleted ());
294+ EXPECT_FALSE (timestampPacketStorage.isCompleted ());
302295
303296 packets[timestampPacketStorage.packetsUsed - 1 ].globalEnd = 0 ;
304297 EXPECT_TRUE (timestampPacketStorage.isCompleted ());
305-
306- packets[timestampPacketStorage.packetsUsed - 1 ].globalEnd = 100 ;
307- EXPECT_TRUE (timestampPacketStorage.isCompleted ());
308298}
309299
310300TEST_F (TimestampPacketSimpleTests, whenNewTagIsTakenThenReinitialize) {
0 commit comments