
Adds a macOS implementation of the platform_channel example, demonstrating method channels and event channels with a battery power plugin. Adds platform_channel_sample_test_macos macOS host test to verify the sample works. Issue: https://github.com/flutter/flutter/issues/79204
17 lines
455 B
Swift
17 lines
455 B
Swift
// Copyright 2014 The Flutter Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
import FlutterMacOS
|
|
import Cocoa
|
|
import XCTest
|
|
|
|
class RunnerTests: XCTestCase {
|
|
|
|
func testExample() {
|
|
// If you add code to the Runner application, consider adding tests here.
|
|
// See https://developer.apple.com/documentation/xctest for more information about using XCTest.
|
|
}
|
|
|
|
}
|