Lines Matching full:pending
192 EXPECT_EQ(assocMaps.pending.size(), 0); in TEST_F()
219 // Nothing pending in TEST_F()
220 EXPECT_EQ(assocMaps.pending.size(), 0); in TEST_F()
250 // Nothing pending in TEST_F()
251 EXPECT_EQ(assocMaps.pending.size(), 0); in TEST_F()
296 // Nothing pending in TEST_F()
297 EXPECT_EQ(assocMaps.pending.size(), 0); in TEST_F()
333 EXPECT_EQ(assocMaps.pending.size(), 0); in TEST_F()
336 // Add 2 pending associations
347 EXPECT_EQ(assocMaps.pending.size(), 1); in TEST_F()
355 EXPECT_EQ(assocMaps.pending.size(), 2); in TEST_F()
358 // Test adding a new endpoint to a pending association
366 EXPECT_EQ(assocMaps.pending.size(), 1); in TEST_F()
371 // Same pending path, so still just 1 entry in TEST_F()
372 EXPECT_EQ(assocMaps.pending.size(), 1); in TEST_F()
374 auto assoc = assocMaps.pending.find(defaultSourcePath); in TEST_F()
375 EXPECT_NE(assoc, assocMaps.pending.end()); in TEST_F()
381 // Test adding a new owner to a pending association
389 EXPECT_EQ(assocMaps.pending.size(), 1); in TEST_F()
394 EXPECT_EQ(assocMaps.pending.size(), 1); in TEST_F()
396 auto assoc = assocMaps.pending.find(defaultSourcePath); in TEST_F()
397 EXPECT_NE(assoc, assocMaps.pending.end()); in TEST_F()
403 // Add a pending association inside associationChanged
419 // 1 pending association in TEST_F()
420 EXPECT_EQ(assocMaps.pending.size(), 1); in TEST_F()
423 // Test removing pending associations
434 EXPECT_EQ(assocMaps.pending.size(), 1); in TEST_F()
438 // Still 1 pending entry, but down to 1 endpoint in TEST_F()
439 EXPECT_EQ(assocMaps.pending.size(), 1); in TEST_F()
441 auto assoc = assocMaps.pending.find(defaultSourcePath); in TEST_F()
442 EXPECT_NE(assoc, assocMaps.pending.end()); in TEST_F()
446 // Now nothing pending in TEST_F()
448 EXPECT_EQ(assocMaps.pending.size(), 0); in TEST_F()
451 // Test moving a pending association to a real one
461 EXPECT_EQ(assocMaps.pending.size(), 1); in TEST_F()
463 // Move the pending association to a real association in TEST_F()
467 EXPECT_TRUE(assocMaps.pending.empty()); in TEST_F()
471 // This shouldn't do anything, since /new/path isn't pending in TEST_F()
474 EXPECT_TRUE(assocMaps.pending.empty()); in TEST_F()
532 EXPECT_TRUE(assocMaps.pending.empty()); in TEST_F()
545 // Check it's now pending in TEST_F()
546 EXPECT_EQ(assocMaps.pending.size(), 1); in TEST_F()
547 EXPECT_EQ(assocMaps.pending.begin()->first, defaultEndpoint); in TEST_F()