1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 14:58:34 +00:00

[Material3] Add RunnerTests target for macOS (#1670)

In https://github.com/flutter/samples/pull/1615 updates were applied to
the Material 3 demo that included the updated macOS Podfile from the
macOS app template. However, the app template itself had recently been
updated to refer to a new target (RunnerTests) in the default Xcode
project template that allows for authoring tests of the bits of the
Flutter application implemented in Swift. This adds the missing
RunnerTests bits to the Xcode project file by copying those over from
the app template.
This commit is contained in:
Chris Bracken
2023-02-23 20:04:31 -08:00
committed by GitHub
parent 139c9efce9
commit d53a8ee93f
5 changed files with 250 additions and 18 deletions

View File

@@ -0,0 +1,12 @@
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.
}
}