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

Instance Methods

(void) - testSimple [implementation]
 

Detailed Description

Definition at line 12 of file availability_version_check_test.mm.

Method Documentation

◆ testSimple

- (void) testSimple
implementation

Definition at line 1 of file availability_version_check_test.mm.

17 {
18 auto maybe_product_version = flutter::ProductVersionFromSystemVersionPList();
19 XCTAssertTrue(maybe_product_version.has_value());
20 if (maybe_product_version.has_value()) {
21 auto product_version = maybe_product_version.value();
22 XCTAssertTrue(product_version > std::make_tuple(0, 0, 0));
23 }
24}
std::optional< ProductVersion > ProductVersionFromSystemVersionPList()

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