11
11
import XCTest
12
12
@testable import SwiftDocCUtilities
13
13
14
- #if !os(Linux) && !os(Android) && !os(Windows)
14
+ #if !os(Linux) && !os(Android) && !os(Windows) && !os(FreeBSD)
15
15
fileprivate extension NSNotification . Name {
16
16
static let testNodeUpdated = NSNotification . Name ( rawValue: " testNodeUpdated " )
17
17
static let testDirectoryReloaded = NSNotification . Name ( rawValue: " testDirectoryReloaded " )
@@ -24,7 +24,7 @@ func fileURLsAreEqual(_ url1: URL, _ url2: URL) -> Bool {
24
24
#endif
25
25
26
26
class DirectoryMonitorTests : XCTestCase {
27
- #if !os(Linux) && !os(Android) && !os(Windows)
27
+ #if !os(Linux) && !os(Android) && !os(Windows) && !os(FreeBSD)
28
28
// - MARK: Directory watching test infra
29
29
30
30
/// Method that automates setting up a directory monitor, setting up the relevant expectations for a test,
@@ -118,7 +118,7 @@ class DirectoryMonitorTests: XCTestCase {
118
118
/// Tests a succession of file system changes and verifies that they produce
119
119
/// the expected monitor events.
120
120
func testMonitorUpdates( ) throws {
121
- #if !os(Linux) && !os(Android) && !os(Windows)
121
+ #if !os(Linux) && !os(Android) && !os(Windows) && !os(FreeBSD)
122
122
123
123
// Create temp folder & sub-folder.
124
124
let tempSubfolderURL = try createTemporaryDirectory ( named: " subfolder " )
@@ -167,7 +167,7 @@ class DirectoryMonitorTests: XCTestCase {
167
167
}
168
168
169
169
func testMonitorDoesNotTriggerUpdates( ) throws {
170
- #if !os(Linux) && !os(Android) && !os(Windows)
170
+ #if !os(Linux) && !os(Android) && !os(Windows) && !os(FreeBSD)
171
171
172
172
// Create temp folder & sub-folder.
173
173
let tempSubfolderURL = try createTemporaryDirectory ( named: " subfolder " )
@@ -200,7 +200,7 @@ class DirectoryMonitorTests: XCTestCase {
200
200
201
201
/// Tests a zero sum change aggregation triggers an event.
202
202
func testMonitorZeroSumSizeChangesUpdates( ) throws {
203
- #if !os(Linux) && !os(Android) && !os(Windows)
203
+ #if !os(Linux) && !os(Android) && !os(Windows) && !os(FreeBSD)
204
204
205
205
// Create temp folder & sub-folder.
206
206
let tempSubfolderURL = try createTemporaryDirectory ( named: " subfolder " )
0 commit comments