Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import XCTest
@testable import Aztec
// This test exercises sources from the Aztec target, but also uses internal APIs from HTMLParser.
//
// The HTMLParser target exists only when building for Swift package manager.
// Otherwise, such as when building via CocoaPods, its sources are part of Aztec.
#if SWIFT_PACKAGE
@testable import HTMLParser
#endif
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import XCTest
@testable import Aztec
// See comment in BoldElementToAttributeConverterTests.swift to understand the conditional import below.
#if SWIFT_PACKAGE
@testable import HTMLParser
#endif
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import XCTest
@testable import Aztec
// See comment in BoldElementToAttributeConverterTests.swift to understand the conditional import below.
#if SWIFT_PACKAGE
@testable import HTMLParser
#endif
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import XCTest
@testable import Aztec
// See comment in BoldElementToAttributeConverterTests.swift to understand the conditional import below.
#if SWIFT_PACKAGE
@testable import HTMLParser
#endif
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import XCTest
@testable import Aztec
// See comment in BoldElementToAttributeConverterTests.swift to understand the conditional import below.
#if SWIFT_PACKAGE
@testable import HTMLParser
#endif
Expand Down
1 change: 1 addition & 0 deletions Tests/AztecTests/Importer/InAttributeConverterTests.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import XCTest
import libxml2
// See comment in BoldElementToAttributeConverterTests.swift to understand the conditional import below.
#if SWIFT_PACKAGE
@testable import HTMLParser
#else
Expand Down
1 change: 1 addition & 0 deletions Tests/AztecTests/Importer/InNodeConverterTests.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import XCTest
import libxml2
// See comment in BoldElementToAttributeConverterTests.swift to understand the conditional import below.
#if SWIFT_PACKAGE
@testable import HTMLParser
#else
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import XCTest
@testable import Aztec
// See comment in BoldElementToAttributeConverterTests.swift to understand the conditional import below.
#if SWIFT_PACKAGE
@testable import HTMLParser
#endif
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import XCTest
// See comment in BoldElementToAttributeConverterTests.swift to understand the conditional import below.
#if SWIFT_PACKAGE
@testable import HTMLParser
#else
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import XCTest
// See comment in BoldElementToAttributeConverterTests.swift to understand the conditional import below.
#if SWIFT_PACKAGE
@testable import HTMLParser
#else
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import XCTest
// See comment in BoldElementToAttributeConverterTests.swift to understand the conditional import below.
#if SWIFT_PACKAGE
@testable import HTMLParser
#else
Expand Down
1 change: 1 addition & 0 deletions Tests/HTMLParserTests/HTML/Nodes/ElementNodeTests.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import XCTest
// See comment in BoldElementToAttributeConverterTests.swift to understand the conditional import below.
#if SWIFT_PACKAGE
@testable import HTMLParser
#else
Expand Down
1 change: 1 addition & 0 deletions Tests/HTMLParserTests/HTML/Nodes/TextNodeTests.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import XCTest
// See comment in BoldElementToAttributeConverterTests.swift to understand the conditional import below.
#if SWIFT_PACKAGE
@testable import HTMLParser
#else
Expand Down