Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Instance Methods | List of all members
ConnectionCollectionTest Class Reference
Inheritance diagram for ConnectionCollectionTest:

Instance Methods

(void) - testSimple [implementation]
 

Detailed Description

Definition at line 10 of file connection_collection_test.mm.

Method Documentation

◆ testSimple

- (void) testSimple
implementation

Definition at line 1 of file connection_collection_test.mm.

15 {
16 auto connections = std::make_unique<flutter::ConnectionCollection>();
17 flutter::ConnectionCollection::Connection connection = connections->AquireConnection("foo");
18 XCTAssertTrue(connections->CleanupConnection(connection) == "foo");
19 XCTAssertTrue(connections->CleanupConnection(connection).empty());
20}

The documentation for this class was generated from the following file: