OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "cc/surfaces/surface_factory.h" | 5 #include "cc/surfaces/surface_factory.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <utility> | 10 #include <utility> |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
68 | 68 |
69 class SurfaceFactoryTest : public testing::Test, public SurfaceObserver { | 69 class SurfaceFactoryTest : public testing::Test, public SurfaceObserver { |
70 public: | 70 public: |
71 SurfaceFactoryTest() | 71 SurfaceFactoryTest() |
72 : factory_( | 72 : factory_( |
73 new SurfaceFactory(kArbitraryFrameSinkId, &manager_, &client_)), | 73 new SurfaceFactory(kArbitraryFrameSinkId, &manager_, &client_)), |
74 local_frame_id_(3, kArbitraryToken), | 74 local_frame_id_(3, kArbitraryToken), |
75 frame_sync_token_(GenTestSyncToken(4)), | 75 frame_sync_token_(GenTestSyncToken(4)), |
76 consumer_sync_token_(GenTestSyncToken(5)) { | 76 consumer_sync_token_(GenTestSyncToken(5)) { |
77 manager_.AddObserver(this); | 77 manager_.AddObserver(this); |
78 factory_->Create(local_frame_id_); | |
79 } | 78 } |
80 | 79 |
81 const SurfaceId& last_created_surface_id() const { | 80 const SurfaceId& last_created_surface_id() const { |
82 return last_created_surface_id_; | 81 return last_created_surface_id_; |
83 } | 82 } |
84 | 83 |
85 // SurfaceObserver implementation. | 84 // SurfaceObserver implementation. |
86 void OnSurfaceCreated(const SurfaceId& surface_id, | 85 void OnSurfaceCreated(const SurfaceId& surface_id, |
87 const gfx::Size& frame, | 86 const gfx::Size& frame, |
88 float device_scale_factor) override { | 87 float device_scale_factor) override { |
89 EXPECT_EQ(kArbitraryFrameSinkId, surface_id.frame_sink_id()); | 88 EXPECT_EQ(kArbitraryFrameSinkId, surface_id.frame_sink_id()); |
90 last_created_surface_id_ = surface_id; | 89 last_created_surface_id_ = surface_id; |
91 } | 90 } |
92 | 91 |
93 void OnSurfaceDamaged(const SurfaceId& id, bool* changed) override { | 92 void OnSurfaceDamaged(const SurfaceId& id, bool* changed) override { |
94 *changed = true; | 93 *changed = true; |
95 } | 94 } |
96 | 95 |
97 ~SurfaceFactoryTest() override { | 96 ~SurfaceFactoryTest() override { |
98 if (local_frame_id_.is_valid()) | |
99 factory_->Destroy(local_frame_id_); | |
100 manager_.RemoveObserver(this); | 97 manager_.RemoveObserver(this); |
101 } | 98 } |
102 | 99 |
103 void SubmitCompositorFrameWithResources(ResourceId* resource_ids, | 100 void SubmitCompositorFrameWithResources(ResourceId* resource_ids, |
104 size_t num_resource_ids) { | 101 size_t num_resource_ids) { |
105 CompositorFrame frame; | 102 CompositorFrame frame; |
106 for (size_t i = 0u; i < num_resource_ids; ++i) { | 103 for (size_t i = 0u; i < num_resource_ids; ++i) { |
107 TransferableResource resource; | 104 TransferableResource resource; |
108 resource.id = resource_ids[i]; | 105 resource.id = resource_ids[i]; |
109 resource.mailbox_holder.texture_target = GL_TEXTURE_2D; | 106 resource.mailbox_holder.texture_target = GL_TEXTURE_2D; |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
430 int expected_returned_counts[] = {2, 2}; | 427 int expected_returned_counts[] = {2, 2}; |
431 CheckReturnedResourcesMatchExpected( | 428 CheckReturnedResourcesMatchExpected( |
432 expected_returned_ids, expected_returned_counts, | 429 expected_returned_ids, expected_returned_counts, |
433 arraysize(expected_returned_counts), consumer_sync_token_); | 430 arraysize(expected_returned_counts), consumer_sync_token_); |
434 } | 431 } |
435 } | 432 } |
436 | 433 |
437 TEST_F(SurfaceFactoryTest, BlankNoIndexIncrement) { | 434 TEST_F(SurfaceFactoryTest, BlankNoIndexIncrement) { |
438 LocalFrameId local_frame_id(6, kArbitraryToken); | 435 LocalFrameId local_frame_id(6, kArbitraryToken); |
439 SurfaceId surface_id(kArbitraryFrameSinkId, local_frame_id); | 436 SurfaceId surface_id(kArbitraryFrameSinkId, local_frame_id); |
440 factory_->Create(local_frame_id); | 437 factory_->SubmitCompositorFrame(local_frame_id, CompositorFrame(), |
438 SurfaceFactory::DrawCallback()); | |
441 Surface* surface = manager_.GetSurfaceForId(surface_id); | 439 Surface* surface = manager_.GetSurfaceForId(surface_id); |
442 ASSERT_NE(nullptr, surface); | 440 ASSERT_NE(nullptr, surface); |
443 EXPECT_EQ(2, surface->frame_index()); | 441 EXPECT_EQ(2, surface->frame_index()); |
444 | |
445 factory_->SubmitCompositorFrame(local_frame_id, CompositorFrame(), | |
446 SurfaceFactory::DrawCallback()); | |
447 EXPECT_EQ(2, surface->frame_index()); | |
448 EXPECT_EQ(last_created_surface_id().local_frame_id(), local_frame_id); | 442 EXPECT_EQ(last_created_surface_id().local_frame_id(), local_frame_id); |
449 factory_->Destroy(local_frame_id); | |
450 } | 443 } |
451 | 444 |
452 void CreateSurfaceDrawCallback(SurfaceFactory* factory, | 445 // Tests that SurfaceFactory doesn't return resources after Reset(). |
453 uint32_t* execute_count) { | 446 TEST_F(SurfaceFactoryTest, Reset) { |
454 LocalFrameId new_id(7, base::UnguessableToken::Create()); | |
455 factory->Create(new_id); | |
456 factory->Destroy(new_id); | |
457 *execute_count += 1; | |
458 } | |
459 | |
460 TEST_F(SurfaceFactoryTest, AddDuringDestroy) { | |
461 LocalFrameId local_frame_id(6, kArbitraryToken); | |
462 factory_->Create(local_frame_id); | |
463 | |
464 uint32_t execute_count = 0; | |
465 factory_->SubmitCompositorFrame( | |
466 local_frame_id, CompositorFrame(), | |
467 base::Bind(&CreateSurfaceDrawCallback, base::Unretained(factory_.get()), | |
468 &execute_count)); | |
469 EXPECT_EQ(0u, execute_count); | |
470 factory_->Destroy(local_frame_id); | |
471 EXPECT_EQ(1u, execute_count); | |
472 } | |
473 | |
474 void DrawCallback(uint32_t* execute_count) { | |
475 *execute_count += 1; | |
476 } | |
477 | |
478 // Tests doing a DestroyAll before shutting down the factory; | |
479 TEST_F(SurfaceFactoryTest, DestroyAll) { | |
480 LocalFrameId id(7, kArbitraryToken); | 447 LocalFrameId id(7, kArbitraryToken); |
481 factory_->Create(id); | |
482 | 448 |
483 TransferableResource resource; | 449 TransferableResource resource; |
484 resource.id = 1; | 450 resource.id = 1; |
485 resource.mailbox_holder.texture_target = GL_TEXTURE_2D; | 451 resource.mailbox_holder.texture_target = GL_TEXTURE_2D; |
486 CompositorFrame frame; | 452 CompositorFrame frame; |
487 frame.resource_list.push_back(resource); | 453 frame.resource_list.push_back(resource); |
488 uint32_t execute_count = 0; | |
489 factory_->SubmitCompositorFrame(id, std::move(frame), | 454 factory_->SubmitCompositorFrame(id, std::move(frame), |
490 base::Bind(&DrawCallback, &execute_count)); | 455 SurfaceFactory::DrawCallback()); |
491 EXPECT_EQ(last_created_surface_id().local_frame_id(), id); | |
492 local_frame_id_ = LocalFrameId(); | |
493 factory_->DestroyAll(); | |
494 EXPECT_EQ(1u, execute_count); | |
495 } | |
496 | |
497 // Tests that SurfaceFactory doesn't return resources after Reset(). | |
498 TEST_F(SurfaceFactoryTest, Reset) { | |
499 LocalFrameId id(7, kArbitraryToken); | |
500 factory_->Create(id); | |
501 | |
502 TransferableResource resource; | |
503 resource.id = 1; | |
504 resource.mailbox_holder.texture_target = GL_TEXTURE_2D; | |
505 CompositorFrame frame; | |
506 frame.resource_list.push_back(resource); | |
507 uint32_t execute_count = 0; | |
508 factory_->SubmitCompositorFrame(id, std::move(frame), | |
509 base::Bind(&DrawCallback, &execute_count)); | |
510 EXPECT_EQ(last_created_surface_id().local_frame_id(), id); | 456 EXPECT_EQ(last_created_surface_id().local_frame_id(), id); |
511 | 457 |
512 SurfaceId surface_id(kArbitraryFrameSinkId, id); | 458 SurfaceId surface_id(kArbitraryFrameSinkId, id); |
513 manager_.AddSurfaceReference(manager_.GetRootSurfaceId(), surface_id); | 459 manager_.AddSurfaceReference(manager_.GetRootSurfaceId(), surface_id); |
514 factory_->Reset(); | 460 factory_->Reset(); |
515 EXPECT_TRUE(client_.returned_resources().empty()); | 461 EXPECT_TRUE(client_.returned_resources().empty()); |
516 manager_.RemoveSurfaceReference(manager_.GetRootSurfaceId(), surface_id); | 462 manager_.RemoveSurfaceReference(manager_.GetRootSurfaceId(), surface_id); |
517 EXPECT_TRUE(client_.returned_resources().empty()); | 463 EXPECT_TRUE(client_.returned_resources().empty()); |
518 local_frame_id_ = LocalFrameId(); | 464 local_frame_id_ = LocalFrameId(); |
519 } | 465 } |
520 | 466 |
521 TEST_F(SurfaceFactoryTest, DestroySequence) { | 467 TEST_F(SurfaceFactoryTest, DestroySequence) { |
522 LocalFrameId local_frame_id2(5, kArbitraryToken); | 468 LocalFrameId local_frame_id2(5, kArbitraryToken); |
469 std::unique_ptr<SurfaceFactory> factory2( | |
470 new SurfaceFactory(kArbitraryFrameSinkId, &manager_, &client_)); | |
523 SurfaceId id2(kArbitraryFrameSinkId, local_frame_id2); | 471 SurfaceId id2(kArbitraryFrameSinkId, local_frame_id2); |
524 factory_->Create(local_frame_id2); | 472 factory2->SubmitCompositorFrame(local_frame_id2, CompositorFrame(), |
473 SurfaceFactory::DrawCallback()); | |
525 | 474 |
526 manager_.RegisterFrameSinkId(kArbitraryFrameSinkId); | 475 manager_.RegisterFrameSinkId(kArbitraryFrameSinkId); |
527 | 476 |
528 // Check that waiting before the sequence is satisfied works. | 477 // Check that waiting before the sequence is satisfied works. |
529 manager_.GetSurfaceForId(id2)->AddDestructionDependency( | 478 manager_.GetSurfaceForId(id2)->AddDestructionDependency( |
530 SurfaceSequence(kArbitraryFrameSinkId, 4)); | 479 SurfaceSequence(kArbitraryFrameSinkId, 4)); |
531 factory_->Destroy(local_frame_id2); | 480 factory2->EvictFrame(); |
532 | 481 |
533 CompositorFrame frame; | 482 CompositorFrame frame; |
534 frame.metadata.satisfies_sequences.push_back(6); | 483 frame.metadata.satisfies_sequences.push_back(6); |
535 frame.metadata.satisfies_sequences.push_back(4); | 484 frame.metadata.satisfies_sequences.push_back(4); |
536 DCHECK(manager_.GetSurfaceForId(id2)); | 485 DCHECK(manager_.GetSurfaceForId(id2)); |
537 factory_->SubmitCompositorFrame(local_frame_id_, std::move(frame), | 486 factory_->SubmitCompositorFrame(local_frame_id_, std::move(frame), |
538 SurfaceFactory::DrawCallback()); | 487 SurfaceFactory::DrawCallback()); |
539 EXPECT_EQ(last_created_surface_id().local_frame_id(), local_frame_id_); | |
540 DCHECK(!manager_.GetSurfaceForId(id2)); | 488 DCHECK(!manager_.GetSurfaceForId(id2)); |
541 | 489 |
542 // Check that waiting after the sequence is satisfied works. | 490 // Check that waiting after the sequence is satisfied works. |
543 factory_->Create(local_frame_id2); | 491 factory2->SubmitCompositorFrame(local_frame_id2, CompositorFrame(), |
492 SurfaceFactory::DrawCallback()); | |
544 DCHECK(manager_.GetSurfaceForId(id2)); | 493 DCHECK(manager_.GetSurfaceForId(id2)); |
545 manager_.GetSurfaceForId(id2)->AddDestructionDependency( | 494 manager_.GetSurfaceForId(id2)->AddDestructionDependency( |
546 SurfaceSequence(kAnotherArbitraryFrameSinkId, 6)); | 495 SurfaceSequence(kAnotherArbitraryFrameSinkId, 6)); |
547 factory_->Destroy(local_frame_id2); | 496 factory2->EvictFrame(); |
548 DCHECK(!manager_.GetSurfaceForId(id2)); | 497 DCHECK(!manager_.GetSurfaceForId(id2)); |
549 } | 498 } |
550 | 499 |
551 // Tests that Surface ID namespace invalidation correctly allows | 500 // Tests that Surface ID namespace invalidation correctly allows |
552 // Sequences to be ignored. | 501 // Sequences to be ignored. |
553 TEST_F(SurfaceFactoryTest, InvalidFrameSinkId) { | 502 TEST_F(SurfaceFactoryTest, InvalidFrameSinkId) { |
554 FrameSinkId frame_sink_id(1234, 5678); | 503 FrameSinkId frame_sink_id(1234, 5678); |
555 | 504 |
556 LocalFrameId local_frame_id(5, kArbitraryToken); | 505 LocalFrameId local_frame_id(5, kArbitraryToken); |
557 SurfaceId id(factory_->frame_sink_id(), local_frame_id); | 506 SurfaceId id(factory_->frame_sink_id(), local_frame_id); |
558 factory_->Create(local_frame_id); | 507 factory_->SubmitCompositorFrame(local_frame_id, CompositorFrame(), |
508 SurfaceFactory::DrawCallback()); | |
559 | 509 |
560 manager_.RegisterFrameSinkId(frame_sink_id); | 510 manager_.RegisterFrameSinkId(frame_sink_id); |
561 manager_.GetSurfaceForId(id)->AddDestructionDependency( | 511 manager_.GetSurfaceForId(id)->AddDestructionDependency( |
562 SurfaceSequence(frame_sink_id, 4)); | 512 SurfaceSequence(frame_sink_id, 4)); |
563 factory_->Destroy(local_frame_id); | 513 |
514 factory_->EvictFrame(); | |
564 | 515 |
565 // Verify the dependency has prevented the surface from getting destroyed. | 516 // Verify the dependency has prevented the surface from getting destroyed. |
566 EXPECT_TRUE(manager_.GetSurfaceForId(id)); | 517 EXPECT_TRUE(manager_.GetSurfaceForId(id)); |
567 | 518 |
568 manager_.InvalidateFrameSinkId(frame_sink_id); | 519 manager_.InvalidateFrameSinkId(frame_sink_id); |
569 | 520 |
570 // Verify that the invalidated namespace caused the unsatisfied sequence | 521 // Verify that the invalidated namespace caused the unsatisfied sequence |
571 // to be ignored. | 522 // to be ignored. |
572 EXPECT_FALSE(manager_.GetSurfaceForId(id)); | 523 EXPECT_FALSE(manager_.GetSurfaceForId(id)); |
573 } | 524 } |
574 | 525 |
575 TEST_F(SurfaceFactoryTest, DestroyCycle) { | 526 TEST_F(SurfaceFactoryTest, DestroyCycle) { |
576 LocalFrameId local_frame_id2(5, kArbitraryToken); | 527 LocalFrameId local_frame_id2(5, kArbitraryToken); |
577 SurfaceId id2(kArbitraryFrameSinkId, local_frame_id2); | 528 SurfaceId id2(kArbitraryFrameSinkId, local_frame_id2); |
578 factory_->Create(local_frame_id2); | 529 std::unique_ptr<SurfaceFactory> factory2( |
579 | 530 new SurfaceFactory(kArbitraryFrameSinkId, &manager_, &client_)); |
580 manager_.RegisterFrameSinkId(kAnotherArbitraryFrameSinkId); | 531 manager_.RegisterFrameSinkId(kAnotherArbitraryFrameSinkId); |
581 | |
582 manager_.GetSurfaceForId(id2)->AddDestructionDependency( | |
583 SurfaceSequence(kAnotherArbitraryFrameSinkId, 4)); | |
584 | |
585 // Give id2 a frame that references local_frame_id_. | 532 // Give id2 a frame that references local_frame_id_. |
586 { | 533 { |
587 std::unique_ptr<RenderPass> render_pass(RenderPass::Create()); | 534 std::unique_ptr<RenderPass> render_pass(RenderPass::Create()); |
588 CompositorFrame frame; | 535 CompositorFrame frame; |
589 frame.render_pass_list.push_back(std::move(render_pass)); | 536 frame.render_pass_list.push_back(std::move(render_pass)); |
590 frame.metadata.referenced_surfaces.push_back( | 537 frame.metadata.referenced_surfaces.push_back( |
591 SurfaceId(factory_->frame_sink_id(), local_frame_id_)); | 538 SurfaceId(factory_->frame_sink_id(), local_frame_id_)); |
592 factory_->SubmitCompositorFrame(local_frame_id2, std::move(frame), | 539 factory2->SubmitCompositorFrame(local_frame_id2, std::move(frame), |
593 SurfaceFactory::DrawCallback()); | 540 SurfaceFactory::DrawCallback()); |
594 EXPECT_EQ(last_created_surface_id().local_frame_id(), local_frame_id2); | 541 EXPECT_EQ(last_created_surface_id().local_frame_id(), local_frame_id2); |
595 } | 542 } |
596 factory_->Destroy(local_frame_id2); | 543 manager_.GetSurfaceForId(id2)->AddDestructionDependency( |
597 | 544 SurfaceSequence(kAnotherArbitraryFrameSinkId, 4)); |
545 factory2->EvictFrame(); | |
598 // Give local_frame_id_ a frame that references id2. | 546 // Give local_frame_id_ a frame that references id2. |
599 { | 547 { |
600 std::unique_ptr<RenderPass> render_pass(RenderPass::Create()); | 548 std::unique_ptr<RenderPass> render_pass(RenderPass::Create()); |
601 CompositorFrame frame; | 549 CompositorFrame frame; |
602 frame.render_pass_list.push_back(std::move(render_pass)); | 550 frame.render_pass_list.push_back(std::move(render_pass)); |
603 frame.metadata.referenced_surfaces.push_back(id2); | 551 frame.metadata.referenced_surfaces.push_back(id2); |
604 factory_->SubmitCompositorFrame(local_frame_id_, std::move(frame), | 552 factory_->SubmitCompositorFrame(local_frame_id_, std::move(frame), |
605 SurfaceFactory::DrawCallback()); | 553 SurfaceFactory::DrawCallback()); |
606 EXPECT_EQ(last_created_surface_id().local_frame_id(), local_frame_id_); | |
607 } | 554 } |
608 factory_->Destroy(local_frame_id_); | 555 factory_->EvictFrame(); |
609 EXPECT_TRUE(manager_.GetSurfaceForId(id2)); | 556 EXPECT_TRUE(manager_.GetSurfaceForId(id2)); |
610 // local_frame_id_ should be retained by reference from id2. | 557 // local_frame_id_ should be retained by reference from id2. |
611 EXPECT_TRUE(manager_.GetSurfaceForId( | 558 EXPECT_TRUE(manager_.GetSurfaceForId( |
612 SurfaceId(factory_->frame_sink_id(), local_frame_id_))); | 559 SurfaceId(factory_->frame_sink_id(), local_frame_id_))); |
613 | 560 |
614 // Satisfy last destruction dependency for id2. | 561 // Satisfy last destruction dependency for id2. |
615 std::vector<uint32_t> to_satisfy; | 562 std::vector<uint32_t> to_satisfy; |
616 to_satisfy.push_back(4); | 563 to_satisfy.push_back(4); |
617 manager_.DidSatisfySequences(kAnotherArbitraryFrameSinkId, &to_satisfy); | 564 manager_.DidSatisfySequences(kAnotherArbitraryFrameSinkId, &to_satisfy); |
618 | 565 |
(...skipping 24 matching lines...) Expand all Loading... | |
643 } | 590 } |
644 void* source1 = &source1; | 591 void* source1 = &source1; |
645 void* source2 = &source2; | 592 void* source2 = &source2; |
646 | 593 |
647 bool called1 = false; | 594 bool called1 = false; |
648 std::unique_ptr<CopyOutputRequest> request; | 595 std::unique_ptr<CopyOutputRequest> request; |
649 request = CopyOutputRequest::CreateRequest( | 596 request = CopyOutputRequest::CreateRequest( |
650 base::Bind(&CopyRequestTestCallback, &called1)); | 597 base::Bind(&CopyRequestTestCallback, &called1)); |
651 request->set_source(source1); | 598 request->set_source(source1); |
652 | 599 |
653 factory_->RequestCopyOfSurface(local_frame_id_, std::move(request)); | 600 factory_->RequestCopyOfSurface(std::move(request)); |
654 EXPECT_FALSE(called1); | 601 EXPECT_FALSE(called1); |
655 | 602 |
656 bool called2 = false; | 603 bool called2 = false; |
657 request = CopyOutputRequest::CreateRequest( | 604 request = CopyOutputRequest::CreateRequest( |
658 base::Bind(&CopyRequestTestCallback, &called2)); | 605 base::Bind(&CopyRequestTestCallback, &called2)); |
659 request->set_source(source2); | 606 request->set_source(source2); |
660 | 607 |
661 factory_->RequestCopyOfSurface(local_frame_id_, std::move(request)); | 608 factory_->RequestCopyOfSurface(std::move(request)); |
662 // Callbacks have different sources so neither should be called. | 609 // Callbacks have different sources so neither should be called. |
663 EXPECT_FALSE(called1); | 610 EXPECT_FALSE(called1); |
664 EXPECT_FALSE(called2); | 611 EXPECT_FALSE(called2); |
665 | 612 |
666 bool called3 = false; | 613 bool called3 = false; |
667 request = CopyOutputRequest::CreateRequest( | 614 request = CopyOutputRequest::CreateRequest( |
668 base::Bind(&CopyRequestTestCallback, &called3)); | 615 base::Bind(&CopyRequestTestCallback, &called3)); |
669 request->set_source(source1); | 616 request->set_source(source1); |
670 | 617 |
671 factory_->RequestCopyOfSurface(local_frame_id_, std::move(request)); | 618 factory_->RequestCopyOfSurface(std::move(request)); |
672 // Two callbacks are from source1, so the first should be called. | 619 // Two callbacks are from source1, so the first should be called. |
673 EXPECT_TRUE(called1); | 620 EXPECT_TRUE(called1); |
674 EXPECT_FALSE(called2); | 621 EXPECT_FALSE(called2); |
675 EXPECT_FALSE(called3); | 622 EXPECT_FALSE(called3); |
676 | 623 |
677 factory_->Destroy(local_frame_id_); | 624 factory_->EvictFrame(); |
678 local_frame_id_ = LocalFrameId(); | 625 local_frame_id_ = LocalFrameId(); |
626 | |
danakj
2016/11/12 00:27:21
nit: random whitespace?
Saman Sami
2016/11/14 23:39:01
Done.
| |
679 EXPECT_TRUE(called1); | 627 EXPECT_TRUE(called1); |
680 EXPECT_TRUE(called2); | 628 EXPECT_TRUE(called2); |
681 EXPECT_TRUE(called3); | 629 EXPECT_TRUE(called3); |
682 } | 630 } |
683 | 631 |
684 } // namespace | 632 } // namespace |
685 } // namespace cc | 633 } // namespace cc |
OLD | NEW |