Fix tests for Jenkins that always build for iOS
Some checks reported warnings
gitea-openium/resgen.swift/pipeline/head This commit is unstable
Some checks reported warnings
gitea-openium/resgen.swift/pipeline/head This commit is unstable
This commit is contained in:
@ -5,6 +5,8 @@
|
||||
// Created by Loris Perret on 06/12/2023.
|
||||
//
|
||||
|
||||
#if os(macOS)
|
||||
|
||||
import Foundation
|
||||
import XCTest
|
||||
|
||||
@ -135,3 +137,5 @@ final class AnalyticsDefinitionTests: XCTestCase {
|
||||
XCTAssertEqual(propertyEvent.adaptForXCTest(), expectEvent.adaptForXCTest())
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -5,6 +5,8 @@
|
||||
// Created by Thibaut Schmitt on 06/09/2022.
|
||||
//
|
||||
|
||||
#if os(macOS)
|
||||
|
||||
import Foundation
|
||||
import XCTest
|
||||
import ToolCore
|
||||
@ -58,7 +60,7 @@ final class AnalyticsGeneratorTests: XCTestCase {
|
||||
extensionName: "GenAnalytics")
|
||||
// Expect Analytics
|
||||
let expect = """
|
||||
// Generated by ResgenSwift.Analytics 1.2
|
||||
// Generated by ResgenSwift.Analytics \(ResgenSwiftVersion)
|
||||
|
||||
import FirebaseAnalytics
|
||||
|
||||
@ -229,7 +231,7 @@ final class AnalyticsGeneratorTests: XCTestCase {
|
||||
extensionName: "GenAnalytics")
|
||||
// Expect Analytics
|
||||
let expect = """
|
||||
// Generated by ResgenSwift.Analytics 1.2
|
||||
// Generated by ResgenSwift.Analytics \(ResgenSwiftVersion)
|
||||
|
||||
import MatomoTracker
|
||||
|
||||
@ -422,7 +424,7 @@ final class AnalyticsGeneratorTests: XCTestCase {
|
||||
extensionName: "GenAnalytics")
|
||||
// Expect Analytics
|
||||
let expect = """
|
||||
// Generated by ResgenSwift.Analytics 1.2
|
||||
// Generated by ResgenSwift.Analytics \(ResgenSwiftVersion)
|
||||
|
||||
import MatomoTracker
|
||||
import FirebaseAnalytics
|
||||
@ -633,3 +635,5 @@ final class AnalyticsGeneratorTests: XCTestCase {
|
||||
XCTAssertEqual(extensionContent.adaptForXCTest(), expect.adaptForXCTest())
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -5,6 +5,8 @@
|
||||
// Created by Loris Perret on 06/12/2023.
|
||||
//
|
||||
|
||||
#if os(macOS)
|
||||
|
||||
import Foundation
|
||||
import XCTest
|
||||
|
||||
@ -70,3 +72,5 @@ final class AnalyticsSectionTests: XCTestCase {
|
||||
XCTAssertFalse(match3)
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user