No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
4d29687
... +0 ...
a5288dd
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
31 | 31 | ||
32 | 32 | import Foundation |
|
33 | 33 | ||
34 | + | #if os(Linux) |
|
35 | + | import FoundationXML |
|
36 | + | #endif |
|
37 | + | ||
34 | 38 | extension XML { |
|
35 | 39 | ||
36 | 40 | final class SAXParser: NSObject, XMLParserDelegate { |
|
37 | - | ||
41 | + | ||
42 | + | #if os(Linux) |
|
43 | + | typealias XMLParser = FoundationXML.XMLParser |
|
44 | + | #else |
|
38 | 45 | typealias XMLParser = Foundation.XMLParser |
|
39 | - | ||
46 | + | #endif |
|
47 | + | ||
40 | 48 | private let parser: XMLParser |
|
41 | 49 | private let namespaceURI = "http://www.w3.org/2000/svg" |
|
42 | 50 |
Files | Coverage |
---|---|
SwiftDraw | 82.02% |
Project Totals (53 files) | 82.02% |
a5288dd
4d29687