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:
12
material_3_demo/macos/RunnerTests/RunnerTests.swift
Normal file
12
material_3_demo/macos/RunnerTests/RunnerTests.swift
Normal 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.
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user