From 6c7e5dba1d933de7e26821539c77bc7deda024b4 Mon Sep 17 00:00:00 2001 From: Dominik Roszkowski Date: Wed, 29 Jan 2025 13:29:01 +0100 Subject: [PATCH] Remove XCTest --- example/macos/RunnerTests/RunnerTests.swift | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/example/macos/RunnerTests/RunnerTests.swift b/example/macos/RunnerTests/RunnerTests.swift index baafa8be..c2087f21 100644 --- a/example/macos/RunnerTests/RunnerTests.swift +++ b/example/macos/RunnerTests/RunnerTests.swift @@ -2,7 +2,6 @@ import Cocoa import FlutterMacOS import XCTest - @testable import file_picker // This demonstrates a simple unit test of the Swift portion of this plugin's implementation. @@ -10,19 +9,4 @@ import XCTest // See https://developer.apple.com/documentation/xctest for more information about using XCTest. class RunnerTests: XCTestCase { - - func testGetPlatformVersion() { - let plugin = FilePickerPlugin() - - let call = FlutterMethodCall(methodName: "getPlatformVersion", arguments: []) - - let resultExpectation = expectation(description: "result block must be called.") - plugin.handle(call) { result in - XCTAssertEqual(result as! String, - "macOS " + ProcessInfo.processInfo.operatingSystemVersionString) - resultExpectation.fulfill() - } - waitForExpectations(timeout: 1) - } - }