diff --git a/.swiftformat b/.swiftformat index 544a7c0..a5c82c0 100644 --- a/.swiftformat +++ b/.swiftformat @@ -18,6 +18,8 @@ --wrapparameters before-first --wrapcollections before-first --self remove +# Adopted from canonical rules-swift: @testable imports group at the bottom. +--importgrouping testable-bottom --exclude .build,DerivedData # PureXML uses OpenAPIKit-style `test_...` method names with Swift Testing. diff --git a/Tests/AdversarialCriticTests.swift b/Tests/AdversarialCriticTests.swift index e8177a5..daad21f 100644 --- a/Tests/AdversarialCriticTests.swift +++ b/Tests/AdversarialCriticTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Adversarial Critic Tests") struct AdversarialCriticTests { diff --git a/Tests/C14NSpecExampleTests.swift b/Tests/C14NSpecExampleTests.swift index ff49a99..605d8a9 100644 --- a/Tests/C14NSpecExampleTests.swift +++ b/Tests/C14NSpecExampleTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// The worked examples of Canonical XML 1.0 section 3 (W3C Recommendation, /// https://www.w3.org/TR/xml-c14n, W3C Software and Document License), run as diff --git a/Tests/CanonicalC14N11Tests.swift b/Tests/CanonicalC14N11Tests.swift index cc828a0..8601cc0 100644 --- a/Tests/CanonicalC14N11Tests.swift +++ b/Tests/CanonicalC14N11Tests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Canonical XML 1.1: xml:base merging and xml:id") struct CanonicalC14N11Tests { diff --git a/Tests/CanonicalPrefixRewriteTests.swift b/Tests/CanonicalPrefixRewriteTests.swift index 5e45c88..00e5393 100644 --- a/Tests/CanonicalPrefixRewriteTests.swift +++ b/Tests/CanonicalPrefixRewriteTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Canonical XML 2.0: sequential prefix rewrite and QName-aware values") struct CanonicalPrefixRewriteTests { diff --git a/Tests/CanonicalSelectionTests.swift b/Tests/CanonicalSelectionTests.swift index 13fac7e..89b04a3 100644 --- a/Tests/CanonicalSelectionTests.swift +++ b/Tests/CanonicalSelectionTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Canonical XML: node-set (position-based) selection") struct CanonicalSelectionTests { diff --git a/Tests/CanonicalSubsetTests.swift b/Tests/CanonicalSubsetTests.swift index 8f4234b..aefdd75 100644 --- a/Tests/CanonicalSubsetTests.swift +++ b/Tests/CanonicalSubsetTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Canonical XML: node-subset canonicalization and xml:* inheritance") struct CanonicalSubsetTests { diff --git a/Tests/CanonicalTests.swift b/Tests/CanonicalTests.swift index 38a59d0..90a3569 100644 --- a/Tests/CanonicalTests.swift +++ b/Tests/CanonicalTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Canonical XML") struct CanonicalTests { diff --git a/Tests/CatalogBaseURITests.swift b/Tests/CatalogBaseURITests.swift index 8405712..1c6f9bb 100644 --- a/Tests/CatalogBaseURITests.swift +++ b/Tests/CatalogBaseURITests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Catalog xml:base and RFC 3986 URI resolution") struct CatalogBaseURITests { diff --git a/Tests/CatalogGroupPreferTests.swift b/Tests/CatalogGroupPreferTests.swift index 4e6f76b..c5ab60f 100644 --- a/Tests/CatalogGroupPreferTests.swift +++ b/Tests/CatalogGroupPreferTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XML catalog group-level prefer override") struct CatalogGroupPreferTests { diff --git a/Tests/CatalogSGMLTests.swift b/Tests/CatalogSGMLTests.swift index 42fac65..7b9c19a 100644 --- a/Tests/CatalogSGMLTests.swift +++ b/Tests/CatalogSGMLTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("SGML catalog format") struct CatalogSGMLTests { diff --git a/Tests/CatalogSuffixPreferTests.swift b/Tests/CatalogSuffixPreferTests.swift index 80701ae..49299dc 100644 --- a/Tests/CatalogSuffixPreferTests.swift +++ b/Tests/CatalogSuffixPreferTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Catalog suffix entries and prefer attribute") struct CatalogSuffixPreferTests { diff --git a/Tests/CatalogTests.swift b/Tests/CatalogTests.swift index f213dd9..4357bf2 100644 --- a/Tests/CatalogTests.swift +++ b/Tests/CatalogTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XML Catalog") struct CatalogTests { diff --git a/Tests/ConformanceCanonicalModesTests.swift b/Tests/ConformanceCanonicalModesTests.swift index 1273c69..312cf1c 100644 --- a/Tests/ConformanceCanonicalModesTests.swift +++ b/Tests/ConformanceCanonicalModesTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Canonical XML exclusive and 2.0 mode conformance, driven through the /// validation framework (its own suite to keep the main corpus under the cap). diff --git a/Tests/ConformanceCatalogTests.swift b/Tests/ConformanceCatalogTests.swift index 2bb5a19..75203bc 100644 --- a/Tests/ConformanceCatalogTests.swift +++ b/Tests/ConformanceCatalogTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// OASIS XML Catalog conformance, driven through the validation framework /// (Tier 2): entry kinds and the precedence the spec prescribes. diff --git a/Tests/ConformanceCorpusTests.swift b/Tests/ConformanceCorpusTests.swift index 2f4d937..89648cd 100644 --- a/Tests/ConformanceCorpusTests.swift +++ b/Tests/ConformanceCorpusTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// A first Tier-2 conformance corpus, driven through the validation framework: /// each case runs a PureXML subsystem and the `Conformance` validation rule diff --git a/Tests/ConformanceDTDTests.swift b/Tests/ConformanceDTDTests.swift index 07f5b47..fa32b51 100644 --- a/Tests/ConformanceDTDTests.swift +++ b/Tests/ConformanceDTDTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// DTD content-model conformance, driven through the validation framework (its /// own suite to keep the main corpus under the cap). diff --git a/Tests/ConformanceEmittingTests.swift b/Tests/ConformanceEmittingTests.swift index a3f0a2f..c7f7fc0 100644 --- a/Tests/ConformanceEmittingTests.swift +++ b/Tests/ConformanceEmittingTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Serializer options-matrix conformance, driven through the validation /// framework: each case pins the exact output of one option against the diff --git a/Tests/ConformanceHTMLDepthTests.swift b/Tests/ConformanceHTMLDepthTests.swift index b1616cb..b93e72d 100644 --- a/Tests/ConformanceHTMLDepthTests.swift +++ b/Tests/ConformanceHTMLDepthTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// HTML5 depth conformance, driven through the validation framework (#119, the /// zone that produced #109): the spec-fidelity cases go through the document diff --git a/Tests/ConformanceRegexTests.swift b/Tests/ConformanceRegexTests.swift index 2235a1b..4db426b 100644 --- a/Tests/ConformanceRegexTests.swift +++ b/Tests/ConformanceRegexTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// XSD regex (`xs:pattern`) conformance, driven through the validation /// framework (Tier 2): the XML Schema regex flavor against its spec semantics, diff --git a/Tests/ConformanceSchematronTests.swift b/Tests/ConformanceSchematronTests.swift index 3e4fcd0..c669828 100644 --- a/Tests/ConformanceSchematronTests.swift +++ b/Tests/ConformanceSchematronTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Schematron conformance, driven through the validation framework (kept in its /// own suite so the main corpus stays under the type-body cap). diff --git a/Tests/ConformanceXIncludeTests.swift b/Tests/ConformanceXIncludeTests.swift index e2ea670..7dda7f6 100644 --- a/Tests/ConformanceXIncludeTests.swift +++ b/Tests/ConformanceXIncludeTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// XInclude and XPointer conformance, driven through the validation framework /// (Tier 2): inclusion semantics, fallback, fragment selection, and the diff --git a/Tests/ConformanceXPathAxisTests.swift b/Tests/ConformanceXPathAxisTests.swift index ec27595..c91f94d 100644 --- a/Tests/ConformanceXPathAxisTests.swift +++ b/Tests/ConformanceXPathAxisTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// XPath 1.0 axis and predicate conformance, driven through the validation /// framework (its own suite to keep the main corpus under the cap). diff --git a/Tests/ContentMatcherDifferentialTests.swift b/Tests/ContentMatcherDifferentialTests.swift index c07edd5..507fa59 100644 --- a/Tests/ContentMatcherDifferentialTests.swift +++ b/Tests/ContentMatcherDifferentialTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Locks the two content-model matchers together (#115): the DTD matcher /// (positional set closure) and the XSD matcher (Thompson NFA) solve the same diff --git a/Tests/ContentModelDeterminismTests.swift b/Tests/ContentModelDeterminismTests.swift index 6c61607..f7c2aa3 100644 --- a/Tests/ContentModelDeterminismTests.swift +++ b/Tests/ContentModelDeterminismTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Unique Particle Attribution (cos-nonambig, XSD 1.0 3.8.6): a content model /// must be deterministic, so each element in an instance is attributable to a diff --git a/Tests/ContentNFAStateBudgetTests.swift b/Tests/ContentNFAStateBudgetTests.swift index 3cf57ec..051c9aa 100644 --- a/Tests/ContentNFAStateBudgetTests.swift +++ b/Tests/ContentNFAStateBudgetTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Guards the content-model NFA builder against occurrence-explosion (#129). /// The per-particle unroll cap bounds one repetition, but nested high-`maxOccurs` diff --git a/Tests/DTDAttributeTests.swift b/Tests/DTDAttributeTests.swift index d1055a4..d37c160 100644 --- a/Tests/DTDAttributeTests.swift +++ b/Tests/DTDAttributeTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("DTD attribute validation") struct DTDAttributeTests { diff --git a/Tests/DTDConditionalNotationTests.swift b/Tests/DTDConditionalNotationTests.swift index afbcd00..0e99758 100644 --- a/Tests/DTDConditionalNotationTests.swift +++ b/Tests/DTDConditionalNotationTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("DTD conditional sections, notations, NDATA") struct DTDConditionalNotationTests { diff --git a/Tests/DTDDefaultingTests.swift b/Tests/DTDDefaultingTests.swift index 85a3bb6..4aee7cc 100644 --- a/Tests/DTDDefaultingTests.swift +++ b/Tests/DTDDefaultingTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("DTD attribute defaulting and tokenized types") struct DTDDefaultingTests { diff --git a/Tests/DTDEntityDeclaredTests.swift b/Tests/DTDEntityDeclaredTests.swift index 64d8daf..39f9f5f 100644 --- a/Tests/DTDEntityDeclaredTests.swift +++ b/Tests/DTDEntityDeclaredTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// The IBM-section burn-down behaviors: a document needs a root element /// (production 1), entity references in literals must be lexical Names (P66), diff --git a/Tests/DTDIdentifierTests.swift b/Tests/DTDIdentifierTests.swift index 13cb9c8..87ea5be 100644 --- a/Tests/DTDIdentifierTests.swift +++ b/Tests/DTDIdentifierTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("DTD ID and IDREF validation") struct DTDIdentifierTests { diff --git a/Tests/DTDLocatedContentTests.swift b/Tests/DTDLocatedContentTests.swift index 74ec92c..90f8968 100644 --- a/Tests/DTDLocatedContentTests.swift +++ b/Tests/DTDLocatedContentTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("DTD located content-model errors") struct DTDLocatedContentTests { diff --git a/Tests/DTDParameterEntityDepthTests.swift b/Tests/DTDParameterEntityDepthTests.swift index 0c92067..09ec3d3 100644 --- a/Tests/DTDParameterEntityDepthTests.swift +++ b/Tests/DTDParameterEntityDepthTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("DTD parameter-entity and external-subset depth") struct DTDParameterEntityDepthTests { diff --git a/Tests/DTDStandaloneTests.swift b/Tests/DTDStandaloneTests.swift index 8469ea6..81666f6 100644 --- a/Tests/DTDStandaloneTests.swift +++ b/Tests/DTDStandaloneTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// The standalone validity constraints (2.9) and the standalone entity WFC: /// a document declaring standalone='yes' must not depend on declarations in diff --git a/Tests/DTDSubsetStrictnessTests.swift b/Tests/DTDSubsetStrictnessTests.swift index 6af4b68..0dd7fd4 100644 --- a/Tests/DTDSubsetStrictnessTests.swift +++ b/Tests/DTDSubsetStrictnessTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// The DTD-subset strictness landed with the OASIS/NIST conformance pass: /// unknown or malformed markup declarations, the exact `%name;` parameter- diff --git a/Tests/DTDTests.swift b/Tests/DTDTests.swift index 77e935a..362e4d1 100644 --- a/Tests/DTDTests.swift +++ b/Tests/DTDTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("DTD and entities") struct DTDTests { diff --git a/Tests/DTDValidationTests.swift b/Tests/DTDValidationTests.swift index 8e2a042..e16cfa5 100644 --- a/Tests/DTDValidationTests.swift +++ b/Tests/DTDValidationTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("DTD validation") struct DTDValidationTests { diff --git a/Tests/DTDValidityConstraintTests.swift b/Tests/DTDValidityConstraintTests.swift index 8b836b8..cd15a95 100644 --- a/Tests/DTDValidityConstraintTests.swift +++ b/Tests/DTDValidityConstraintTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// The validity constraints added with the Sun-section burn-down: declaration- /// level checks (reported at the document root), the root/DOCTYPE name match, diff --git a/Tests/EXSLTTests.swift b/Tests/EXSLTTests.swift index 813b9dd..a166103 100644 --- a/Tests/EXSLTTests.swift +++ b/Tests/EXSLTTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("EXSLT functions: common, math, sets") struct EXSLTTests { diff --git a/Tests/EncodingMismatchTests.swift b/Tests/EncodingMismatchTests.swift index 7514037..9531c9f 100644 --- a/Tests/EncodingMismatchTests.swift +++ b/Tests/EncodingMismatchTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Encoding-declaration contradictions are fatal (#137, 4.3.3): a declared /// 16/32-bit encoding over 8-bit bytes, a declaration outside the BOM's diff --git a/Tests/EncodingTests.swift b/Tests/EncodingTests.swift index beacaf6..abb6a53 100644 --- a/Tests/EncodingTests.swift +++ b/Tests/EncodingTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Encoding") struct EncodingTests { diff --git a/Tests/EntityBaseURITests.swift b/Tests/EntityBaseURITests.swift index cf90659..169b555 100644 --- a/Tests/EntityBaseURITests.swift +++ b/Tests/EntityBaseURITests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Per-entity base-URI tracking (#138): a relative system identifier inside /// an external entity resolves against that entity's own URI, not the diff --git a/Tests/EntityResolverTests.swift b/Tests/EntityResolverTests.swift index 51cb8b4..27918d5 100644 --- a/Tests/EntityResolverTests.swift +++ b/Tests/EntityResolverTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("External and parameter entities") struct EntityResolverTests { diff --git a/Tests/EntitySplicingTests.swift b/Tests/EntitySplicingTests.swift index 164febc..26521e4 100644 --- a/Tests/EntitySplicingTests.swift +++ b/Tests/EntitySplicingTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Content splicing (4.4.2 Included, #133): a general entity whose replacement /// text contains markup is reparsed as content, so elements inside an entity diff --git a/Tests/ErrataValidityTests.swift b/Tests/ErrataValidityTests.swift index fddaad8..2371487 100644 --- a/Tests/ErrataValidityTests.swift +++ b/Tests/ErrataValidityTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// The XML 1.0 errata behaviors from the eduni burn-down: 3.3.3 attribute- /// value normalization, the lenient undeclared-entity path (production 68), diff --git a/Tests/HTMLAdoptionTests.swift b/Tests/HTMLAdoptionTests.swift index b127e10..4e7b17d 100644 --- a/Tests/HTMLAdoptionTests.swift +++ b/Tests/HTMLAdoptionTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("HTML5 adoption agency (misnested formatting elements)") struct HTMLAdoptionTests { diff --git a/Tests/HTMLDocumentTests.swift b/Tests/HTMLDocumentTests.swift index f317136..bc3c196 100644 --- a/Tests/HTMLDocumentTests.swift +++ b/Tests/HTMLDocumentTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("HTML5 document tree construction") struct HTMLDocumentTests { diff --git a/Tests/HTMLForeignContentTests.swift b/Tests/HTMLForeignContentTests.swift index d25847c..73e0e4d 100644 --- a/Tests/HTMLForeignContentTests.swift +++ b/Tests/HTMLForeignContentTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("HTML5 foreign content (SVG/MathML namespaces)") struct HTMLForeignContentTests { diff --git a/Tests/HTMLFramesetTests.swift b/Tests/HTMLFramesetTests.swift index 710adde..3b2fa8d 100644 --- a/Tests/HTMLFramesetTests.swift +++ b/Tests/HTMLFramesetTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("HTML5 frameset documents") struct HTMLFramesetTests { diff --git a/Tests/HTMLSelectTests.swift b/Tests/HTMLSelectTests.swift index 4586572..6d4bf2f 100644 --- a/Tests/HTMLSelectTests.swift +++ b/Tests/HTMLSelectTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("HTML5 select content model") struct HTMLSelectTests { diff --git a/Tests/HTMLTests.swift b/Tests/HTMLTests.swift index d9d0cb6..1d3b404 100644 --- a/Tests/HTMLTests.swift +++ b/Tests/HTMLTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("HTML") struct HTMLTests { diff --git a/Tests/HTMLTokenizerTests.swift b/Tests/HTMLTokenizerTests.swift index bcc5d59..ba6509c 100644 --- a/Tests/HTMLTokenizerTests.swift +++ b/Tests/HTMLTokenizerTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("HTML tokenizer: references, NUL, RCDATA") struct HTMLTokenizerTests { diff --git a/Tests/HTMLValidationTests.swift b/Tests/HTMLValidationTests.swift index 0471185..57aa40c 100644 --- a/Tests/HTMLValidationTests.swift +++ b/Tests/HTMLValidationTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("HTML conformance validator (composable Validation rules)") struct HTMLValidationTests { diff --git a/Tests/LineEndingTests.swift b/Tests/LineEndingTests.swift index b9097cc..1cd1503 100644 --- a/Tests/LineEndingTests.swift +++ b/Tests/LineEndingTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Line-ending normalization and XML 1.1") struct LineEndingTests { diff --git a/Tests/LintTests.swift b/Tests/LintTests.swift index f919136..dda68b5 100644 --- a/Tests/LintTests.swift +++ b/Tests/LintTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// The unified lint surface: one source-ranged, severity-tagged list merging /// parse recovery and schema validation, the way an editor consumes it. diff --git a/Tests/ModelTests.swift b/Tests/ModelTests.swift index 388cf43..0a69e83 100644 --- a/Tests/ModelTests.swift +++ b/Tests/ModelTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Model") struct ModelTests { diff --git a/Tests/NamespaceConstraintTests.swift b/Tests/NamespaceConstraintTests.swift index 37a0364..82258aa 100644 --- a/Tests/NamespaceConstraintTests.swift +++ b/Tests/NamespaceConstraintTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// The Namespaces 1.0 constraints (#136): reserved prefixes and namespace /// names, qualified-name shape, duplicate expanded-name attributes, NCName diff --git a/Tests/NamespaceTests.swift b/Tests/NamespaceTests.swift index 0916ba3..14a7cd4 100644 --- a/Tests/NamespaceTests.swift +++ b/Tests/NamespaceTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Namespaces") struct NamespaceTests { diff --git a/Tests/OutputEncodingTests.swift b/Tests/OutputEncodingTests.swift index eea7b16..d4de99d 100644 --- a/Tests/OutputEncodingTests.swift +++ b/Tests/OutputEncodingTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Output encoding") struct OutputEncodingTests { diff --git a/Tests/ParityEdgeTests.swift b/Tests/ParityEdgeTests.swift index 17555de..bcd3d28 100644 --- a/Tests/ParityEdgeTests.swift +++ b/Tests/ParityEdgeTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Parity edges: C14N 2.0, catalog delegation, XPath number formatting") struct ParityEdgeTests { diff --git a/Tests/ParsingTests.swift b/Tests/ParsingTests.swift index 7bc04eb..4475922 100644 --- a/Tests/ParsingTests.swift +++ b/Tests/ParsingTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Parsing") struct ParsingTests { diff --git a/Tests/PatternTests.swift b/Tests/PatternTests.swift index b80c79c..3e995d3 100644 --- a/Tests/PatternTests.swift +++ b/Tests/PatternTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Streaming patterns") struct PatternTests { diff --git a/Tests/PullPushDifferentialTests.swift b/Tests/PullPushDifferentialTests.swift index 4a0ca98..92977a7 100644 --- a/Tests/PullPushDifferentialTests.swift +++ b/Tests/PullPushDifferentialTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Locks the pull and push tokenizers together (#115): EventReader and the /// resumable PushScanner implement the XML token grammar twice, so the same diff --git a/Tests/PushParserTests.swift b/Tests/PushParserTests.swift index fdde41a..c311765 100644 --- a/Tests/PushParserTests.swift +++ b/Tests/PushParserTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Push parser") struct PushParserTests { diff --git a/Tests/QuickFixTests.swift b/Tests/QuickFixTests.swift index fb5cfb9..0eb010e 100644 --- a/Tests/QuickFixTests.swift +++ b/Tests/QuickFixTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Quick-fixes derived from the structured schema completions, with precise /// placement from content spans. The strongest check: applying a fix yields XML diff --git a/Tests/RecoveringReaderTests.swift b/Tests/RecoveringReaderTests.swift index 718ea07..71b96a6 100644 --- a/Tests/RecoveringReaderTests.swift +++ b/Tests/RecoveringReaderTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// The recovering reader (`PureXML.read`) never throws and never crashes: it /// returns the maximal best-effort tree plus one located diagnostic per problem. diff --git a/Tests/RegexCategoryTests.swift b/Tests/RegexCategoryTests.swift index a48711f..4b5fd0e 100644 --- a/Tests/RegexCategoryTests.swift +++ b/Tests/RegexCategoryTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Regex Unicode categories and class subtraction") struct RegexCategoryTests { diff --git a/Tests/RegexTests.swift b/Tests/RegexTests.swift index b5852dc..9c521ee 100644 --- a/Tests/RegexTests.swift +++ b/Tests/RegexTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Regex") struct RegexTests { diff --git a/Tests/RelaxNGCombineTests.swift b/Tests/RelaxNGCombineTests.swift index c36db2e..b51cd22 100644 --- a/Tests/RelaxNGCombineTests.swift +++ b/Tests/RelaxNGCombineTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("RELAX NG combine on define") struct RelaxNGCombineTests { diff --git a/Tests/RelaxNGCompactAnnotationTests.swift b/Tests/RelaxNGCompactAnnotationTests.swift index de63e89..2e779ee 100644 --- a/Tests/RelaxNGCompactAnnotationTests.swift +++ b/Tests/RelaxNGCompactAnnotationTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("RELAX NG compact annotations and div grouping") struct RelaxNGCompactAnnotationTests { diff --git a/Tests/RelaxNGCompactConcatTests.swift b/Tests/RelaxNGCompactConcatTests.swift index b2e78f6..41e3afc 100644 --- a/Tests/RelaxNGCompactConcatTests.swift +++ b/Tests/RelaxNGCompactConcatTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("RELAX NG compact string concatenation") struct RelaxNGCompactConcatTests { diff --git a/Tests/RelaxNGCompactFollowAnnotationTests.swift b/Tests/RelaxNGCompactFollowAnnotationTests.swift index 679e76c..2fc7eb0 100644 --- a/Tests/RelaxNGCompactFollowAnnotationTests.swift +++ b/Tests/RelaxNGCompactFollowAnnotationTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("RELAX NG compact >> follow-annotations") struct RelaxNGCompactFollowAnnotationTests { diff --git a/Tests/RelaxNGCompactParamTests.swift b/Tests/RelaxNGCompactParamTests.swift index 59eb45b..b302811 100644 --- a/Tests/RelaxNGCompactParamTests.swift +++ b/Tests/RelaxNGCompactParamTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("RELAX NG compact datatype parameter blocks") struct RelaxNGCompactParamTests { diff --git a/Tests/RelaxNGCompactTests.swift b/Tests/RelaxNGCompactTests.swift index bcfb0c7..2151044 100644 --- a/Tests/RelaxNGCompactTests.swift +++ b/Tests/RelaxNGCompactTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("RELAX NG compact syntax and references") struct RelaxNGCompactTests { diff --git a/Tests/RelaxNGDataParamTests.swift b/Tests/RelaxNGDataParamTests.swift index dc8f15d..286c150 100644 --- a/Tests/RelaxNGDataParamTests.swift +++ b/Tests/RelaxNGDataParamTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("RELAX NG data param facets") struct RelaxNGDataParamTests { diff --git a/Tests/RelaxNGDatatypeLibraryTests.swift b/Tests/RelaxNGDatatypeLibraryTests.swift index 01df902..3768d55 100644 --- a/Tests/RelaxNGDatatypeLibraryTests.swift +++ b/Tests/RelaxNGDatatypeLibraryTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("RELAX NG datatypeLibrary resolution and nsName subtraction") struct RelaxNGDatatypeLibraryTests { diff --git a/Tests/RelaxNGLocatedErrorTests.swift b/Tests/RelaxNGLocatedErrorTests.swift index a758b33..f70e33f 100644 --- a/Tests/RelaxNGLocatedErrorTests.swift +++ b/Tests/RelaxNGLocatedErrorTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("RELAX NG located, recovering validation errors") struct RelaxNGLocatedErrorTests { diff --git a/Tests/RelaxNGNameClassTests.swift b/Tests/RelaxNGNameClassTests.swift index 7ac91f4..096dc38 100644 --- a/Tests/RelaxNGNameClassTests.swift +++ b/Tests/RelaxNGNameClassTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("RELAX NG compact name-class subtraction") struct RelaxNGNameClassTests { diff --git a/Tests/RelaxNGQNameTests.swift b/Tests/RelaxNGQNameTests.swift index 118cb7c..d2d2201 100644 --- a/Tests/RelaxNGQNameTests.swift +++ b/Tests/RelaxNGQNameTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// The QName datatype's dual-context value space (#131): the schema side /// resolves the literal against the schema's xmlns/ns scope at compile, and diff --git a/Tests/RelaxNGSchemaCorrectnessTests.swift b/Tests/RelaxNGSchemaCorrectnessTests.swift index 61c71e5..6bc0aa4 100644 --- a/Tests/RelaxNGSchemaCorrectnessTests.swift +++ b/Tests/RelaxNGSchemaCorrectnessTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Schema-correctness validation (#131): a RELAX NG schema document must /// itself match the RELAX NG grammar (section 3) and the restrictions of diff --git a/Tests/RelaxNGSpecSuiteTests.swift b/Tests/RelaxNGSpecSuiteTests.swift index 895a8ff..4ec739b 100644 --- a/Tests/RelaxNGSpecSuiteTests.swift +++ b/Tests/RelaxNGSpecSuiteTests.swift @@ -1,6 +1,6 @@ import Foundation -@testable import PureXML import Testing +@testable import PureXML /// Opt-in runner for James Clark's RELAX NG spec test suite (`spectest.xml`, /// distributed with jing-trang under its BSD license). Point `RNG_TS_ROOT` at diff --git a/Tests/RelaxNGStreamingTests.swift b/Tests/RelaxNGStreamingTests.swift index 6f55998..6963023 100644 --- a/Tests/RelaxNGStreamingTests.swift +++ b/Tests/RelaxNGStreamingTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("RELAX NG streaming validation") struct RelaxNGStreamingTests { diff --git a/Tests/RelaxNGTests.swift b/Tests/RelaxNGTests.swift index d2a611d..dfd7d7d 100644 --- a/Tests/RelaxNGTests.swift +++ b/Tests/RelaxNGTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("RELAX NG") struct RelaxNGTests { diff --git a/Tests/RelaxNGValueSpaceTests.swift b/Tests/RelaxNGValueSpaceTests.swift index 35b38f1..08bf180 100644 --- a/Tests/RelaxNGValueSpaceTests.swift +++ b/Tests/RelaxNGValueSpaceTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("RELAX NG typed value-space comparison") struct RelaxNGValueSpaceTests { diff --git a/Tests/SAXTests.swift b/Tests/SAXTests.swift index 8321415..3a6ebc2 100644 --- a/Tests/SAXTests.swift +++ b/Tests/SAXTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("SAX") struct SAXTests { diff --git a/Tests/SaveOptionsTests.swift b/Tests/SaveOptionsTests.swift index 7f5261c..1c6e405 100644 --- a/Tests/SaveOptionsTests.swift +++ b/Tests/SaveOptionsTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Save options") struct SaveOptionsTests { diff --git a/Tests/ScalarLexingTests.swift b/Tests/ScalarLexingTests.swift index 1701c22..73a0289 100644 --- a/Tests/ScalarLexingTests.swift +++ b/Tests/ScalarLexingTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Scalar-level lexing (#135): a combining mark directly after an ASCII /// delimiter must not merge with it into one grapheme cluster, so Fifth diff --git a/Tests/SchemaAbstractXsiTypeTests.swift b/Tests/SchemaAbstractXsiTypeTests.swift index 3413f17..b5d20b9 100644 --- a/Tests/SchemaAbstractXsiTypeTests.swift +++ b/Tests/SchemaAbstractXsiTypeTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// An `xsi:type` may not name an abstract type: an abstract type cannot be the /// type of an instance element (cvc-elt.4.3.2), so it is invalid as a substitution diff --git a/Tests/SchemaAllGroupPlacementTests.swift b/Tests/SchemaAllGroupPlacementTests.swift index 0d041ef..b6c162e 100644 --- a/Tests/SchemaAllGroupPlacementTests.swift +++ b/Tests/SchemaAllGroupPlacementTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD all-group placement (cos-all-limited)") struct SchemaAllGroupPlacementTests { diff --git a/Tests/SchemaAnySimpleTypeFacetTests.swift b/Tests/SchemaAnySimpleTypeFacetTests.swift index cca59c5..c4566d5 100644 --- a/Tests/SchemaAnySimpleTypeFacetTests.swift +++ b/Tests/SchemaAnySimpleTypeFacetTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// A constraining facet may not be applied where a `simpleContent` restriction's base /// chain resolves to `xs:anySimpleType`, the ur simple type, which carries no diff --git a/Tests/SchemaAnyTypeLaxTests.swift b/Tests/SchemaAnyTypeLaxTests.swift index 10f614d..222eaf9 100644 --- a/Tests/SchemaAnyTypeLaxTests.swift +++ b/Tests/SchemaAnyTypeLaxTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// The ur-type `xsd:anyType` processes its element and attribute wildcards as /// `lax`, not `skip` (XSD 1.0 §3.4.7). A child or attribute of an untyped element diff --git a/Tests/SchemaAttributeDefaultUseTests.swift b/Tests/SchemaAttributeDefaultUseTests.swift index 4288b8a..a9de1a2 100644 --- a/Tests/SchemaAttributeDefaultUseTests.swift +++ b/Tests/SchemaAttributeDefaultUseTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD attribute default requires use=optional (src-attribute.2)") struct SchemaAttributeDefaultUseTests { diff --git a/Tests/SchemaAttributeRefTests.swift b/Tests/SchemaAttributeRefTests.swift index f06ab5f..7365cc1 100644 --- a/Tests/SchemaAttributeRefTests.swift +++ b/Tests/SchemaAttributeRefTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// An `` resolves to a global attribute declaration, /// taking its type from the global node and its use/default/fixed from the diff --git a/Tests/SchemaAttributeRestrictionTests.swift b/Tests/SchemaAttributeRestrictionTests.swift index 0c05818..15067dc 100644 --- a/Tests/SchemaAttributeRestrictionTests.swift +++ b/Tests/SchemaAttributeRestrictionTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD attribute-use restriction (cos-ct-derived-ok)") struct SchemaAttributeRestrictionTests { diff --git a/Tests/SchemaAttributeUniquenessTests.swift b/Tests/SchemaAttributeUniquenessTests.swift index 678fb24..f61b154 100644 --- a/Tests/SchemaAttributeUniquenessTests.swift +++ b/Tests/SchemaAttributeUniquenessTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD attribute-use uniqueness and single ID") struct SchemaAttributeUniquenessTests { diff --git a/Tests/SchemaAttributeWildcardIntersectionTests.swift b/Tests/SchemaAttributeWildcardIntersectionTests.swift index 34d6d35..95f545c 100644 --- a/Tests/SchemaAttributeWildcardIntersectionTests.swift +++ b/Tests/SchemaAttributeWildcardIntersectionTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// A complex type's effective `{attribute wildcard}` is the INTERSECTION of the /// wildcards it draws from its own `anyAttribute` and from each referenced diff --git a/Tests/SchemaBlockDefaultTests.swift b/Tests/SchemaBlockDefaultTests.swift index a7ae1fe..306fd72 100644 --- a/Tests/SchemaBlockDefaultTests.swift +++ b/Tests/SchemaBlockDefaultTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// A schema `blockDefault` supplies the `{disallowed substitutions}` of an element /// and the `{prohibited substitutions}` of a complex type that state no `block` of diff --git a/Tests/SchemaCircularDerivationTests.swift b/Tests/SchemaCircularDerivationTests.swift index d61694b..4ae6d00 100644 --- a/Tests/SchemaCircularDerivationTests.swift +++ b/Tests/SchemaCircularDerivationTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD circular type derivation") struct SchemaCircularDerivationTests { diff --git a/Tests/SchemaConformanceTests.swift b/Tests/SchemaConformanceTests.swift index 7aa299b..81f0efb 100644 --- a/Tests/SchemaConformanceTests.swift +++ b/Tests/SchemaConformanceTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Cross-cutting conformance fixtures for both schema languages: realistic /// schemas validated against valid and invalid instances. diff --git a/Tests/SchemaContentOrderTests.swift b/Tests/SchemaContentOrderTests.swift index c688466..1612505 100644 --- a/Tests/SchemaContentOrderTests.swift +++ b/Tests/SchemaContentOrderTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Content-model order and cardinality for the derivation contexts whose model /// the set-membership table cannot express: a `simpleContent` derivation (facets diff --git a/Tests/SchemaDerivationControlTests.swift b/Tests/SchemaDerivationControlTests.swift index bdec5ce..ad1d518 100644 --- a/Tests/SchemaDerivationControlTests.swift +++ b/Tests/SchemaDerivationControlTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Value-space validity of the `final`/`block` derivation-control attributes /// (XSD 1.0): `#all` or a whitespace list of method tokens, with the admitted diff --git a/Tests/SchemaDifferentialTests.swift b/Tests/SchemaDifferentialTests.swift index b7c06cd..f05d1d5 100644 --- a/Tests/SchemaDifferentialTests.swift +++ b/Tests/SchemaDifferentialTests.swift @@ -1,6 +1,6 @@ import Foundation -@testable import PureXML import Testing +@testable import PureXML private struct CuratedSchema { let label: String diff --git a/Tests/SchemaDurationFacetTests.swift b/Tests/SchemaDurationFacetTests.swift index aa3f2f9..5568e82 100644 --- a/Tests/SchemaDurationFacetTests.swift +++ b/Tests/SchemaDurationFacetTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Ordering facets on `xs:duration` (#147). Duration is a partial order (a month /// is 28 to 31 days), compared by adding to four reference dateTimes. The bounds diff --git a/Tests/SchemaElementBlockTests.swift b/Tests/SchemaElementBlockTests.swift index 72546ab..63f90b7 100644 --- a/Tests/SchemaElementBlockTests.swift +++ b/Tests/SchemaElementBlockTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// `block` on an element declaration forbids substituting a type derived from /// the declared type by a listed method via `xsi:type`, distinct from `block` diff --git a/Tests/SchemaElementRefApplicabilityTests.swift b/Tests/SchemaElementRefApplicabilityTests.swift index 286979a..76204e0 100644 --- a/Tests/SchemaElementRefApplicabilityTests.swift +++ b/Tests/SchemaElementRefApplicabilityTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD element-ref applicability (src-element.2.2)") struct SchemaElementRefApplicabilityTests { diff --git a/Tests/SchemaExtensionAllGroupTests.swift b/Tests/SchemaExtensionAllGroupTests.swift index 5b3a3b1..fb0c130 100644 --- a/Tests/SchemaExtensionAllGroupTests.swift +++ b/Tests/SchemaExtensionAllGroupTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD all-group in extension (cos-all-limited.1.2 via extension)") struct SchemaExtensionAllGroupTests { diff --git a/Tests/SchemaFacetApplicabilityTests.swift b/Tests/SchemaFacetApplicabilityTests.swift index e798dd9..756227f 100644 --- a/Tests/SchemaFacetApplicabilityTests.swift +++ b/Tests/SchemaFacetApplicabilityTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Facet applicability to a simple type's variety (XSD 1.0 Part 2, 4.3): a `list` /// admits only the length-family, `pattern`, `enumeration`, `whiteSpace`; a `union` diff --git a/Tests/SchemaFacetDefinitionTests.swift b/Tests/SchemaFacetDefinitionTests.swift index 8c873ca..4a832bd 100644 --- a/Tests/SchemaFacetDefinitionTests.swift +++ b/Tests/SchemaFacetDefinitionTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Schema-validity of constraining-facet definitions (XSD Part 2 Datatypes 4.3): /// a length-family facet value must be a valid `nonNegativeInteger` diff --git a/Tests/SchemaFixedElementChildrenTests.swift b/Tests/SchemaFixedElementChildrenTests.swift index 42fe558..d032b89 100644 --- a/Tests/SchemaFixedElementChildrenTests.swift +++ b/Tests/SchemaFixedElementChildrenTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// An element with a `fixed` value constraint must carry its fixed character value /// and no element children, even under a mixed content type (cvc-elt.5.2.2.2.1). diff --git a/Tests/SchemaFuzzTests.swift b/Tests/SchemaFuzzTests.swift index 8508bee..3f54474 100644 --- a/Tests/SchemaFuzzTests.swift +++ b/Tests/SchemaFuzzTests.swift @@ -1,6 +1,6 @@ import Foundation -@testable import PureXML import Testing +@testable import PureXML /// Reproducible xorshift64* generator: a seed that triggers a crash or hang /// reproduces the exact input, so a fuzz failure is debuggable rather than a diff --git a/Tests/SchemaGroupRedefineRestrictionTests.swift b/Tests/SchemaGroupRedefineRestrictionTests.swift index 143496a..65e97fa 100644 --- a/Tests/SchemaGroupRedefineRestrictionTests.swift +++ b/Tests/SchemaGroupRedefineRestrictionTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// A non-self-referencing model group redefined inside `xs:redefine` must be a valid /// restriction of the group it redefines (XSD 1.0 cos-group-restrict / src-redefine diff --git a/Tests/SchemaIDAttributeTests.swift b/Tests/SchemaIDAttributeTests.swift index c741a1c..02edd71 100644 --- a/Tests/SchemaIDAttributeTests.swift +++ b/Tests/SchemaIDAttributeTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// The `id` attribute on any XSD component is of type `xs:ID`: its value must be /// a valid NCName and unique within the schema document (XSD Structures). Such a diff --git a/Tests/SchemaIDIDREFTests.swift b/Tests/SchemaIDIDREFTests.swift index bcb93fe..0a4e601 100644 --- a/Tests/SchemaIDIDREFTests.swift +++ b/Tests/SchemaIDIDREFTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Document-scoped xs:ID/xs:IDREF validation (#147, XSTS idConstrDefs set): /// every xs:ID value is unique across the document, and every xs:IDREF/xs:IDREFS diff --git a/Tests/SchemaIDValueConstraintTests.swift b/Tests/SchemaIDValueConstraintTests.swift index 9e166ee..00527aa 100644 --- a/Tests/SchemaIDValueConstraintTests.swift +++ b/Tests/SchemaIDValueConstraintTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD ID-typed declarations have no value constraint") struct SchemaIDValueConstraintTests { diff --git a/Tests/SchemaIdentityDefaultValueTests.swift b/Tests/SchemaIdentityDefaultValueTests.swift index a7134de..8708b11 100644 --- a/Tests/SchemaIdentityDefaultValueTests.swift +++ b/Tests/SchemaIdentityDefaultValueTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// An identity-constraint field that selects an absent attribute or an empty /// element whose declaration carries a `default`/`fixed` takes that value as its diff --git a/Tests/SchemaIdentityValueEqualityTests.swift b/Tests/SchemaIdentityValueEqualityTests.swift index 4b7e286..6c88c79 100644 --- a/Tests/SchemaIdentityValueEqualityTests.swift +++ b/Tests/SchemaIdentityValueEqualityTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Identity-constraint field values are compared in their shared value space. Two /// fields typed by different members of the decimal-derived numeric family (e.g. diff --git a/Tests/SchemaIdentityXPathTests.swift b/Tests/SchemaIdentityXPathTests.swift index 9b5dbfa..5109faa 100644 --- a/Tests/SchemaIdentityXPathTests.swift +++ b/Tests/SchemaIdentityXPathTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// The XSD 1.0 restricted-XPath subset (Part 1, 3.11.6) for an identity /// constraint's `selector` and `field`. A `selector` is a path of abbreviated diff --git a/Tests/SchemaIncludeTests.swift b/Tests/SchemaIncludeTests.swift index 339aa26..546df05 100644 --- a/Tests/SchemaIncludeTests.swift +++ b/Tests/SchemaIncludeTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD include composition (#161)") struct SchemaIncludeTests { diff --git a/Tests/SchemaListFacetTests.swift b/Tests/SchemaListFacetTests.swift index c01ff42..1d7066a 100644 --- a/Tests/SchemaListFacetTests.swift +++ b/Tests/SchemaListFacetTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Length facets on the built-in list datatypes (`NMTOKENS`, `IDREFS`, /// `ENTITIES`) count list items, not characters (#146). A restriction of one of diff --git a/Tests/SchemaListUnionXsiTypeTests.swift b/Tests/SchemaListUnionXsiTypeTests.swift index 187da6d..28c99ef 100644 --- a/Tests/SchemaListUnionXsiTypeTests.swift +++ b/Tests/SchemaListUnionXsiTypeTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// cvc-elt.4.3.2.1 for a list or union `xsi:type`: a list or union simple type /// derives only from `anySimpleType`, so it can validly stand in only for an diff --git a/Tests/SchemaLocalElementBlockKeyTests.swift b/Tests/SchemaLocalElementBlockKeyTests.swift index 2532c04..b64c976 100644 --- a/Tests/SchemaLocalElementBlockKeyTests.swift +++ b/Tests/SchemaLocalElementBlockKeyTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// A `block` on a LOCAL element declaration applies to that element by its instance /// (qualified) name. When the schema is unqualified (no elementFormDefault), the diff --git a/Tests/SchemaLocatedDiagnosticsTests.swift b/Tests/SchemaLocatedDiagnosticsTests.swift index d0e9216..0bd4c44 100644 --- a/Tests/SchemaLocatedDiagnosticsTests.swift +++ b/Tests/SchemaLocatedDiagnosticsTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Schema compile findings carry validation coding paths that resolve to source /// spans on a ranged schema tree, the IDE underline flow for #169. diff --git a/Tests/SchemaMixedEmptyTests.swift b/Tests/SchemaMixedEmptyTests.swift index abbf3b0..aa7a8a7 100644 --- a/Tests/SchemaMixedEmptyTests.swift +++ b/Tests/SchemaMixedEmptyTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// A `mixed="true"` complex type with no content model (only attributes) still /// permits character data: it is mixed content over an empty particle, not the diff --git a/Tests/SchemaMultiDocumentTests.swift b/Tests/SchemaMultiDocumentTests.swift index 9b1e969..0e1a959 100644 --- a/Tests/SchemaMultiDocumentTests.swift +++ b/Tests/SchemaMultiDocumentTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// `validate(_:schemaLoader:)` honors an instance's `xsi:schemaLocation`, /// loading the referenced schema documents so a strict (or lax) wildcard can diff --git a/Tests/SchemaNameUniquenessTests.swift b/Tests/SchemaNameUniquenessTests.swift index 2a1e522..b65d292 100644 --- a/Tests/SchemaNameUniquenessTests.swift +++ b/Tests/SchemaNameUniquenessTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Component-name uniqueness (XSD 1.0 symbol-space constraints): within a schema, /// global type names (simpleType and complexType share one space), global element diff --git a/Tests/SchemaNamespacedDerivationTests.swift b/Tests/SchemaNamespacedDerivationTests.swift index 3e0b869..946ae30 100644 --- a/Tests/SchemaNamespacedDerivationTests.swift +++ b/Tests/SchemaNamespacedDerivationTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// The instance-validity derivation/substitution subsystem keys its `block`, /// abstract-type, and derivation-backbone tables by namespaced identity diff --git a/Tests/SchemaNestedDefinitionTests.swift b/Tests/SchemaNestedDefinitionTests.swift index f06c31c..0f27cc1 100644 --- a/Tests/SchemaNestedDefinitionTests.swift +++ b/Tests/SchemaNestedDefinitionTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD nested definitions may not be named (localSimpleType / attributeGroup ref)") struct SchemaNestedDefinitionTests { diff --git a/Tests/SchemaNotationValidityTests.swift b/Tests/SchemaNotationValidityTests.swift index f016e2c..dcf1b70 100644 --- a/Tests/SchemaNotationValidityTests.swift +++ b/Tests/SchemaNotationValidityTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Schema notation validity tests") struct SchemaNotationValidityTests { diff --git a/Tests/SchemaPatternFacetTests.swift b/Tests/SchemaPatternFacetTests.swift index 17fd209..49348b3 100644 --- a/Tests/SchemaPatternFacetTests.swift +++ b/Tests/SchemaPatternFacetTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// A `pattern` facet value must be a valid XSD regular expression. The pattern /// was only compiled lazily at instance time (`try?`), so an unparseable one was diff --git a/Tests/SchemaProhibitedAttributeTests.swift b/Tests/SchemaProhibitedAttributeTests.swift index 296d183..40891ff 100644 --- a/Tests/SchemaProhibitedAttributeTests.swift +++ b/Tests/SchemaProhibitedAttributeTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// `use="prohibited"` excludes an attribute from a complex type's effective /// {attribute uses} (XSD 1.0 §3.4.2): the attribute is then undeclared, so its diff --git a/Tests/SchemaQNameLengthTests.swift b/Tests/SchemaQNameLengthTests.swift index 7c6b111..7261018 100644 --- a/Tests/SchemaQNameLengthTests.swift +++ b/Tests/SchemaQNameLengthTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// `length`, `minLength`, and `maxLength` on `xs:QName` do not constrain the /// value: XSD 1.0 Datatypes 4.3.1 leaves the unit of length unspecified for diff --git a/Tests/SchemaRedefineAttributeGroupTests.swift b/Tests/SchemaRedefineAttributeGroupTests.swift index ea25237..8c8d1ff 100644 --- a/Tests/SchemaRedefineAttributeGroupTests.swift +++ b/Tests/SchemaRedefineAttributeGroupTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// A redefinition of an attribute group restricts the original (src-redefine), so /// it may neither eliminate a required attribute nor re-introduce a prohibited one diff --git a/Tests/SchemaReferenceTests.swift b/Tests/SchemaReferenceTests.swift index b9db564..9756e69 100644 --- a/Tests/SchemaReferenceTests.swift +++ b/Tests/SchemaReferenceTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Every QName a schema names (a `type`/`base`/`itemType`/`memberTypes` type, an /// element/attribute/group/attributeGroup `ref`, an element `substitutionGroup`) diff --git a/Tests/SchemaSimpleContentChainTests.swift b/Tests/SchemaSimpleContentChainTests.swift index 5b3a607..abf61d1 100644 --- a/Tests/SchemaSimpleContentChainTests.swift +++ b/Tests/SchemaSimpleContentChainTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// A `simpleContent` derivation whose base is another complex type with /// simpleContent resolves through the chain to the underlying simple type, so the diff --git a/Tests/SchemaSimpleContentListTests.swift b/Tests/SchemaSimpleContentListTests.swift index ad36bff..5540835 100644 --- a/Tests/SchemaSimpleContentListTests.swift +++ b/Tests/SchemaSimpleContentListTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// A complex type whose `simpleContent` derives from a list or union simple type /// keeps that variety, so its element content is validated as a list/union rather diff --git a/Tests/SchemaSimpleTypeFinalTests.swift b/Tests/SchemaSimpleTypeFinalTests.swift index bea460a..b25c8e5 100644 --- a/Tests/SchemaSimpleTypeFinalTests.swift +++ b/Tests/SchemaSimpleTypeFinalTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD simple-type final: list/union derivation (st-props-correct)") struct SchemaSimpleTypeFinalTests { diff --git a/Tests/SchemaSimpleTypeRestrictionTests.swift b/Tests/SchemaSimpleTypeRestrictionTests.swift index f86c73c..87fc82c 100644 --- a/Tests/SchemaSimpleTypeRestrictionTests.swift +++ b/Tests/SchemaSimpleTypeRestrictionTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("SimpleType restriction and top-level constraints") struct SchemaSimpleTypeRestrictionTests { diff --git a/Tests/SchemaSimpleTypeVarietyTests.swift b/Tests/SchemaSimpleTypeVarietyTests.swift index 5044026..c7be027 100644 --- a/Tests/SchemaSimpleTypeVarietyTests.swift +++ b/Tests/SchemaSimpleTypeVarietyTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("SimpleType variety constraints") struct SchemaSimpleTypeVarietyTests { diff --git a/Tests/SchemaStringWhitespaceTests.swift b/Tests/SchemaStringWhitespaceTests.swift index 709c344..adb194f 100644 --- a/Tests/SchemaStringWhitespaceTests.swift +++ b/Tests/SchemaStringWhitespaceTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// xs:string has whiteSpace="preserve", so a simple-content value keeps its /// leading/trailing and whitespace-only content; validation no longer trims it diff --git a/Tests/SchemaStructureDerivationTests.swift b/Tests/SchemaStructureDerivationTests.swift index 20ced2a..45330d6 100644 --- a/Tests/SchemaStructureDerivationTests.swift +++ b/Tests/SchemaStructureDerivationTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Schema structural derivation validity") struct SchemaStructureDerivationTests { diff --git a/Tests/SchemaStructureTests.swift b/Tests/SchemaStructureTests.swift index dc03c5b..128c726 100644 --- a/Tests/SchemaStructureTests.swift +++ b/Tests/SchemaStructureTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Structural validity of a schema document against the schema-for-schemas /// content model (XSD 1.0 Structures): each component's children must be diff --git a/Tests/SchemaSubstitutionBlockTests.swift b/Tests/SchemaSubstitutionBlockTests.swift index 2e8be63..28d079a 100644 --- a/Tests/SchemaSubstitutionBlockTests.swift +++ b/Tests/SchemaSubstitutionBlockTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// `block="substitution"` on a substitution-group head forbids any member from /// standing in for it, regardless of the member's type derivation (#147, XSTS diff --git a/Tests/SchemaSubstitutionListUnionTests.swift b/Tests/SchemaSubstitutionListUnionTests.swift index 0ad10cf..61e6661 100644 --- a/Tests/SchemaSubstitutionListUnionTests.swift +++ b/Tests/SchemaSubstitutionListUnionTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// A substitution-group member whose type is a list or union derives only from /// `anySimpleType`, so it may affiliate only to a head typed `anySimpleType` (or diff --git a/Tests/SchemaSubstitutionTypeBlockTests.swift b/Tests/SchemaSubstitutionTypeBlockTests.swift index 59f5d26..2ac7ebc 100644 --- a/Tests/SchemaSubstitutionTypeBlockTests.swift +++ b/Tests/SchemaSubstitutionTypeBlockTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// A `block` on a substitution-group head's TYPE (its `{prohibited substitutions}`), /// not only on the head element, bars a member whose type reaches the head's type diff --git a/Tests/SchemaSubstitutionTypeTests.swift b/Tests/SchemaSubstitutionTypeTests.swift index 492453f..ff59996 100644 --- a/Tests/SchemaSubstitutionTypeTests.swift +++ b/Tests/SchemaSubstitutionTypeTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD substitution-group member type derivation (e-props-correct.4)") struct SchemaSubstitutionTypeTests { diff --git a/Tests/SchemaTopLevelAttributeGroupTests.swift b/Tests/SchemaTopLevelAttributeGroupTests.swift index 911cc40..c369233 100644 --- a/Tests/SchemaTopLevelAttributeGroupTests.swift +++ b/Tests/SchemaTopLevelAttributeGroupTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD top-level attributeGroup applicability (topLevelAttributeGroup)") struct SchemaTopLevelAttributeGroupTests { diff --git a/Tests/SchemaTopLevelAttributeTests.swift b/Tests/SchemaTopLevelAttributeTests.swift index 15dadf3..b47ef3d 100644 --- a/Tests/SchemaTopLevelAttributeTests.swift +++ b/Tests/SchemaTopLevelAttributeTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD top-level attribute applicability (topLevelAttribute)") struct SchemaTopLevelAttributeTests { diff --git a/Tests/SchemaTopLevelElementTests.swift b/Tests/SchemaTopLevelElementTests.swift index 8d17d02..f56aa06 100644 --- a/Tests/SchemaTopLevelElementTests.swift +++ b/Tests/SchemaTopLevelElementTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD top-level element applicability (topLevelElement)") struct SchemaTopLevelElementTests { diff --git a/Tests/SchemaTopLevelGroupTests.swift b/Tests/SchemaTopLevelGroupTests.swift index 38b2cb4..9558a3f 100644 --- a/Tests/SchemaTopLevelGroupTests.swift +++ b/Tests/SchemaTopLevelGroupTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD top-level group applicability (topLevelGroup)") struct SchemaTopLevelGroupTests { diff --git a/Tests/SchemaTwoIDAttributesTests.swift b/Tests/SchemaTwoIDAttributesTests.swift index 8f29ad1..82f70e4 100644 --- a/Tests/SchemaTwoIDAttributesTests.swift +++ b/Tests/SchemaTwoIDAttributesTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// An element may carry at most one attribute whose type is `xs:ID` (XSD 1.0 /// §3.4.6, cvc-complex-type). Two ID-typed attributes on one element, whether diff --git a/Tests/SchemaTypeExclusivityTests.swift b/Tests/SchemaTypeExclusivityTests.swift index 3a5a4ca..399d6b9 100644 --- a/Tests/SchemaTypeExclusivityTests.swift +++ b/Tests/SchemaTypeExclusivityTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD type attribute excludes an inline type") struct SchemaTypeExclusivityTests { diff --git a/Tests/SchemaUnionFacetTests.swift b/Tests/SchemaUnionFacetTests.swift index 8e07115..6c96f3b 100644 --- a/Tests/SchemaUnionFacetTests.swift +++ b/Tests/SchemaUnionFacetTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// `pattern` and `enumeration` are the only constraining facets XSD allows on a /// union, and both must be enforced on top of member-type membership (#147). diff --git a/Tests/SchemaUserTypeValueConstraintTests.swift b/Tests/SchemaUserTypeValueConstraintTests.swift index b8b6fda..d042ebb 100644 --- a/Tests/SchemaUserTypeValueConstraintTests.swift +++ b/Tests/SchemaUserTypeValueConstraintTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD value constraint valid against a user type (e-props-correct.2 / a-props-correct.2)") struct SchemaUserTypeValueConstraintTests { diff --git a/Tests/SchemaValueConstraintExclusionTests.swift b/Tests/SchemaValueConstraintExclusionTests.swift index 71b13ab..3327053 100644 --- a/Tests/SchemaValueConstraintExclusionTests.swift +++ b/Tests/SchemaValueConstraintExclusionTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD default/fixed value-constraint mutual exclusion (src-element.1 / src-attribute.1)") struct SchemaValueConstraintExclusionTests { diff --git a/Tests/SchemaValueConstraintTests.swift b/Tests/SchemaValueConstraintTests.swift index 376d0f0..2639d06 100644 --- a/Tests/SchemaValueConstraintTests.swift +++ b/Tests/SchemaValueConstraintTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// An element with a `default` or `fixed` value takes that value when it appears /// empty, so the empty content is valid even when the type would reject an empty diff --git a/Tests/SchemaValueConstraintValidityTests.swift b/Tests/SchemaValueConstraintValidityTests.swift index fe2974b..d3d95a9 100644 --- a/Tests/SchemaValueConstraintValidityTests.swift +++ b/Tests/SchemaValueConstraintValidityTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// An element/attribute `default`/`fixed` value must be a valid value of its /// `type` (Attribute/Element Locally Valid, XSD 1.0), checked at compile time. diff --git a/Tests/SchemaWhiteSpaceRestrictionTests.swift b/Tests/SchemaWhiteSpaceRestrictionTests.swift index 23c4e75..c305083 100644 --- a/Tests/SchemaWhiteSpaceRestrictionTests.swift +++ b/Tests/SchemaWhiteSpaceRestrictionTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD whiteSpace facet valid restriction (Part 2 §4.3.6)") struct SchemaWhiteSpaceRestrictionTests { diff --git a/Tests/SchemaWildcardNamespaceTests.swift b/Tests/SchemaWildcardNamespaceTests.swift index af4091b..01bfc86 100644 --- a/Tests/SchemaWildcardNamespaceTests.swift +++ b/Tests/SchemaWildcardNamespaceTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// The `namespace` constraint of an `any`/`anyAttribute` wildcard (XSD 1.0 /// Structures): `('##any' | '##other')` standing alone, or a list of namespace diff --git a/Tests/SchemaXSTSDiagnosticTests.swift b/Tests/SchemaXSTSDiagnosticTests.swift index 5320f15..a474551 100644 --- a/Tests/SchemaXSTSDiagnosticTests.swift +++ b/Tests/SchemaXSTSDiagnosticTests.swift @@ -1,6 +1,6 @@ import Foundation -@testable import PureXML import Testing +@testable import PureXML /// Opt-in diagnostics for XSTS valid-instance rejections. Set `XSTS_ROOT` and /// `XSTS_DIAG=1` to print validation errors for every remaining #146 failure. diff --git a/Tests/SchemaXSTSRegressionTests.swift b/Tests/SchemaXSTSRegressionTests.swift index 62516e2..b322edc 100644 --- a/Tests/SchemaXSTSRegressionTests.swift +++ b/Tests/SchemaXSTSRegressionTests.swift @@ -1,6 +1,6 @@ import Foundation -@testable import PureXML import Testing +@testable import PureXML /// Opt-in regressions drawn from XSTS clusters fixed for #146. Requires /// `XSTS_ROOT` pointing at the 2006-11-06 suite (same as ``XSTSSuiteTests``). diff --git a/Tests/SchematronAbstractPatternTests.swift b/Tests/SchematronAbstractPatternTests.swift index beaf618..db776d0 100644 --- a/Tests/SchematronAbstractPatternTests.swift +++ b/Tests/SchematronAbstractPatternTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Schematron abstract patterns (is-a / param)") struct SchematronAbstractPatternTests { diff --git a/Tests/SchematronAbstractTests.swift b/Tests/SchematronAbstractTests.swift index 4bb57a9..c6dfcab 100644 --- a/Tests/SchematronAbstractTests.swift +++ b/Tests/SchematronAbstractTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Schematron abstract rules and extends") struct SchematronAbstractTests { diff --git a/Tests/SchematronDiagnosticTests.swift b/Tests/SchematronDiagnosticTests.swift index d04331b..8003e4d 100644 --- a/Tests/SchematronDiagnosticTests.swift +++ b/Tests/SchematronDiagnosticTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Schematron diagnostics") struct SchematronDiagnosticTests { diff --git a/Tests/SchematronDynamicTests.swift b/Tests/SchematronDynamicTests.swift index a6c5e42..14a1011 100644 --- a/Tests/SchematronDynamicTests.swift +++ b/Tests/SchematronDynamicTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Schematron dynamic messages and phases") struct SchematronDynamicTests { diff --git a/Tests/SchematronFunctionTests.swift b/Tests/SchematronFunctionTests.swift index 93c0f1d..4656b03 100644 --- a/Tests/SchematronFunctionTests.swift +++ b/Tests/SchematronFunctionTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Schematron key()/document()/current() in tests") struct SchematronFunctionTests { diff --git a/Tests/SchematronLetTests.swift b/Tests/SchematronLetTests.swift index 62cc811..dbeea80 100644 --- a/Tests/SchematronLetTests.swift +++ b/Tests/SchematronLetTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Schematron let variables") struct SchematronLetTests { diff --git a/Tests/SchematronScopedLetTests.swift b/Tests/SchematronScopedLetTests.swift index 940613f..0fe2b56 100644 --- a/Tests/SchematronScopedLetTests.swift +++ b/Tests/SchematronScopedLetTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Schematron schema- and pattern-level let") struct SchematronScopedLetTests { diff --git a/Tests/SchematronTests.swift b/Tests/SchematronTests.swift index a5090ab..7f04527 100644 --- a/Tests/SchematronTests.swift +++ b/Tests/SchematronTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Schematron") struct SchematronTests { diff --git a/Tests/SerializationEscapeTests.swift b/Tests/SerializationEscapeTests.swift index 9800af2..f1c1d05 100644 --- a/Tests/SerializationEscapeTests.swift +++ b/Tests/SerializationEscapeTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Serialization: CDATA-as-text and ASCII-only") struct SerializationEscapeTests { diff --git a/Tests/SerializationOptionsTests.swift b/Tests/SerializationOptionsTests.swift index fc12bba..ead8dde 100644 --- a/Tests/SerializationOptionsTests.swift +++ b/Tests/SerializationOptionsTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Serialization options: quotes, line endings, xml:space, writer NS") struct SerializationOptionsTests { diff --git a/Tests/SerializerTests.swift b/Tests/SerializerTests.swift index 6044717..0fca65c 100644 --- a/Tests/SerializerTests.swift +++ b/Tests/SerializerTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Serializer") struct SerializerTests { diff --git a/Tests/SourceSpanTests.swift b/Tests/SourceSpanTests.swift index 043aa2b..74f2470 100644 --- a/Tests/SourceSpanTests.swift +++ b/Tests/SourceSpanTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Source spans on the ranged tree, and the bridge that maps a validation /// finding's coding path to a source range: the keystone for editor use. diff --git a/Tests/StreamingDTDValidationTests.swift b/Tests/StreamingDTDValidationTests.swift index e6e6a89..19e63ba 100644 --- a/Tests/StreamingDTDValidationTests.swift +++ b/Tests/StreamingDTDValidationTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Streaming DTD validation") struct StreamingDTDValidationTests { diff --git a/Tests/StreamingXSDTests.swift b/Tests/StreamingXSDTests.swift index 70bec19..fe09c16 100644 --- a/Tests/StreamingXSDTests.swift +++ b/Tests/StreamingXSDTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Streaming XSD validation") struct StreamingXSDTests { diff --git a/Tests/StrictRecoveringDifferentialTests.swift b/Tests/StrictRecoveringDifferentialTests.swift index 453bc42..f4449d8 100644 --- a/Tests/StrictRecoveringDifferentialTests.swift +++ b/Tests/StrictRecoveringDifferentialTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Locks the strict and recovering parse paths together: the recovery code /// synthesizes events through machinery the strict path never exercises, so diff --git a/Tests/StrictSubsetProfileTests.swift b/Tests/StrictSubsetProfileTests.swift index 58d7f10..2e2c08a 100644 --- a/Tests/StrictSubsetProfileTests.swift +++ b/Tests/StrictSubsetProfileTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// The strict internal-subset profile (#128): under /// `Limits(strictInternalSubset: true)` the internal DTD subset is held to diff --git a/Tests/TextReaderBreadthTests.swift b/Tests/TextReaderBreadthTests.swift index 072cc6f..7015bc5 100644 --- a/Tests/TextReaderBreadthTests.swift +++ b/Tests/TextReaderBreadthTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("TextReader breadth: attributes, namespaces, lang, position") struct TextReaderBreadthTests { diff --git a/Tests/TextReaderTests.swift b/Tests/TextReaderTests.swift index 5c665f6..9841fd9 100644 --- a/Tests/TextReaderTests.swift +++ b/Tests/TextReaderTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Text reader") struct TextReaderTests { diff --git a/Tests/TreeNodeEditingTests.swift b/Tests/TreeNodeEditingTests.swift index 1579c09..1c5de09 100644 --- a/Tests/TreeNodeEditingTests.swift +++ b/Tests/TreeNodeEditingTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("TreeNode editing: attributes, copy, order, normalize") struct TreeNodeEditingTests { diff --git a/Tests/TreeNodeIdentityTests.swift b/Tests/TreeNodeIdentityTests.swift index ffd5c6c..73ab462 100644 --- a/Tests/TreeNodeIdentityTests.swift +++ b/Tests/TreeNodeIdentityTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("TreeNode DOM identity: structural kinds, ownerDocument, adoption") struct TreeNodeIdentityTests { diff --git a/Tests/TreeNodeTests.swift b/Tests/TreeNodeTests.swift index d1d36de..35734a6 100644 --- a/Tests/TreeNodeTests.swift +++ b/Tests/TreeNodeTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Mutable tree") struct TreeNodeTests { diff --git a/Tests/ValidationConfigurationTests.swift b/Tests/ValidationConfigurationTests.swift index 37a1ac3..87177b2 100644 --- a/Tests/ValidationConfigurationTests.swift +++ b/Tests/ValidationConfigurationTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Configuration-pin tests: every validator variant lists exactly its active rule /// descriptions, so adding or rewording a rule fails a test before it is accidental. diff --git a/Tests/ValidationFieldCoverageTests.swift b/Tests/ValidationFieldCoverageTests.swift index 8d61082..595e778 100644 --- a/Tests/ValidationFieldCoverageTests.swift +++ b/Tests/ValidationFieldCoverageTests.swift @@ -1,6 +1,6 @@ import Foundation -@testable import PureXML import Testing +@testable import PureXML /// Meta-tests for validation-rules.md full field coverage: every stored property /// (or ``Model/Node`` case) on validation document/subject types must map to a rule diff --git a/Tests/ValidationFrameworkTests.swift b/Tests/ValidationFrameworkTests.swift index e318ac8..50e8d0c 100644 --- a/Tests/ValidationFrameworkTests.swift +++ b/Tests/ValidationFrameworkTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Unit tests for the validation framework primitives: the `Validation` value, /// the erased wrapper's type guard, and the combinator algebra exercised as pure diff --git a/Tests/ValidationRuleDTDTests.swift b/Tests/ValidationRuleDTDTests.swift index 1d29207..dc6ad5d 100644 --- a/Tests/ValidationRuleDTDTests.swift +++ b/Tests/ValidationRuleDTDTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Per-rule isolation tests (Validation rules DTD). @Suite("Validation rules DTD") diff --git a/Tests/ValidationRuleMiscTests.swift b/Tests/ValidationRuleMiscTests.swift index 99ac4bf..358237c 100644 --- a/Tests/ValidationRuleMiscTests.swift +++ b/Tests/ValidationRuleMiscTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Per-rule isolation tests (Validation rules misc). @Suite("Validation rules misc") diff --git a/Tests/ValidationRuleRegistryTests.swift b/Tests/ValidationRuleRegistryTests.swift index 0369b7a..05acaa9 100644 --- a/Tests/ValidationRuleRegistryTests.swift +++ b/Tests/ValidationRuleRegistryTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Meta-tests for validation-rules.md exhaustive coverage: every shipped builtin /// rule must have a fail and a near-miss succeed isolation test in diff --git a/Tests/ValidationRuleStructuralTests.swift b/Tests/ValidationRuleStructuralTests.swift index dd58d66..56a711e 100644 --- a/Tests/ValidationRuleStructuralTests.swift +++ b/Tests/ValidationRuleStructuralTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Per-rule isolation tests (Validation rules structural). @Suite("Validation rules structural") diff --git a/Tests/ValidationRuleXSDTests.swift b/Tests/ValidationRuleXSDTests.swift index bb0812d..23a97bc 100644 --- a/Tests/ValidationRuleXSDTests.swift +++ b/Tests/ValidationRuleXSDTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Per-rule isolation tests (Validation rules XSD). @Suite("Validation rules XSD") diff --git a/Tests/ValidationTests.swift b/Tests/ValidationTests.swift index 498a1cb..601ab29 100644 --- a/Tests/ValidationTests.swift +++ b/Tests/ValidationTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Validation") struct ValidationTests { diff --git a/Tests/ValidationWarningsTests.swift b/Tests/ValidationWarningsTests.swift index 6836bcc..f819d85 100644 --- a/Tests/ValidationWarningsTests.swift +++ b/Tests/ValidationWarningsTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Tests for the validation-rules.md warnings channel: advisory findings are /// collected separately from errors and promoted only under `strict: true`. diff --git a/Tests/W3CEduniSuiteTests.swift b/Tests/W3CEduniSuiteTests.swift index 75fc853..b5c9d08 100644 --- a/Tests/W3CEduniSuiteTests.swift +++ b/Tests/W3CEduniSuiteTests.swift @@ -1,6 +1,6 @@ import Foundation -@testable import PureXML import Testing +@testable import PureXML /// Opt-in runner for the W3C XML Conformance Test Suite's eduni (Edinburgh) /// sections: the XML 1.0 errata suites (2e, 3e, and the 5th-edition 4e), the diff --git a/Tests/W3CIBMSuiteTests.swift b/Tests/W3CIBMSuiteTests.swift index 2954990..8ec7685 100644 --- a/Tests/W3CIBMSuiteTests.swift +++ b/Tests/W3CIBMSuiteTests.swift @@ -1,6 +1,6 @@ import Foundation -@testable import PureXML import Testing +@testable import PureXML /// Opt-in runner for the W3C XML Conformance Test Suite's IBM section, the /// deepest block: per-production directories covering valid, invalid, and diff --git a/Tests/W3CJapaneseSuiteTests.swift b/Tests/W3CJapaneseSuiteTests.swift index 23bce23..9a53f59 100644 --- a/Tests/W3CJapaneseSuiteTests.swift +++ b/Tests/W3CJapaneseSuiteTests.swift @@ -1,6 +1,6 @@ import Foundation -@testable import PureXML import Testing +@testable import PureXML /// Opt-in runner for the W3C XML Conformance Test Suite's japanese section: /// the same prose encoded as UTF-8, UTF-16 (both orders), Shift_JIS, EUC-JP, diff --git a/Tests/W3COasisSuiteTests.swift b/Tests/W3COasisSuiteTests.swift index cee6734..a348e86 100644 --- a/Tests/W3COasisSuiteTests.swift +++ b/Tests/W3COasisSuiteTests.swift @@ -1,6 +1,6 @@ import Foundation -@testable import PureXML import Testing +@testable import PureXML /// Opt-in runner for the W3C XML Conformance Test Suite's OASIS/NIST section. /// The suite's license permits redistribution only as the unmodified archive, diff --git a/Tests/W3CSunSuiteTests.swift b/Tests/W3CSunSuiteTests.swift index 0d04ddb..d1befe0 100644 --- a/Tests/W3CSunSuiteTests.swift +++ b/Tests/W3CSunSuiteTests.swift @@ -1,6 +1,6 @@ import Foundation -@testable import PureXML import Testing +@testable import PureXML /// Opt-in runner for the W3C XML Conformance Test Suite's Sun section, the /// first section to exercise the validity layer: `valid` documents must parse diff --git a/Tests/W3CXMLSuiteTests.swift b/Tests/W3CXMLSuiteTests.swift index ec58bc3..c5da700 100644 --- a/Tests/W3CXMLSuiteTests.swift +++ b/Tests/W3CXMLSuiteTests.swift @@ -1,6 +1,6 @@ import Foundation -@testable import PureXML import Testing +@testable import PureXML /// Opt-in runner for the W3C XML Conformance Test Suite's xmltest section /// (James Clark's cases). The suite's license permits redistribution only as diff --git a/Tests/WriterTests.swift b/Tests/WriterTests.swift index 28e402e..fef9e18 100644 --- a/Tests/WriterTests.swift +++ b/Tests/WriterTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("Writer") struct WriterTests { diff --git a/Tests/XIncludeNegotiationTests.swift b/Tests/XIncludeNegotiationTests.swift index d605e2d..ba9cd88 100644 --- a/Tests/XIncludeNegotiationTests.swift +++ b/Tests/XIncludeNegotiationTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XInclude content negotiation, cycle detection, text+fragment") struct XIncludeNegotiationTests { diff --git a/Tests/XIncludeTests.swift b/Tests/XIncludeTests.swift index 26e7b80..876c07b 100644 --- a/Tests/XIncludeTests.swift +++ b/Tests/XIncludeTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XInclude") struct XIncludeTests { diff --git a/Tests/XMLCharacterTests.swift b/Tests/XMLCharacterTests.swift index ca8b3a0..61aac06 100644 --- a/Tests/XMLCharacterTests.swift +++ b/Tests/XMLCharacterTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XML characters") struct XMLCharacterTests { diff --git a/Tests/XMLDeclarationTests.swift b/Tests/XMLDeclarationTests.swift index 0cfcd4d..4aaea4a 100644 --- a/Tests/XMLDeclarationTests.swift +++ b/Tests/XMLDeclarationTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XML declaration") struct XMLDeclarationTests { diff --git a/Tests/XPathAxisTests.swift b/Tests/XPathAxisTests.swift index 3bd991a..2ab0e00 100644 --- a/Tests/XPathAxisTests.swift +++ b/Tests/XPathAxisTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XPath axes") struct XPathAxisTests { diff --git a/Tests/XPathContextTests.swift b/Tests/XPathContextTests.swift index 0f7ebcd..5f04676 100644 --- a/Tests/XPathContextTests.swift +++ b/Tests/XPathContextTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XPath evaluation context") struct XPathContextTests { diff --git a/Tests/XPathExpressionTests.swift b/Tests/XPathExpressionTests.swift index fed79be..4d8487e 100644 --- a/Tests/XPathExpressionTests.swift +++ b/Tests/XPathExpressionTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XPath expressions") struct XPathExpressionTests { diff --git a/Tests/XPathFunctionTests.swift b/Tests/XPathFunctionTests.swift index 6a14e2c..41c827a 100644 --- a/Tests/XPathFunctionTests.swift +++ b/Tests/XPathFunctionTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XPath functions") struct XPathFunctionTests { diff --git a/Tests/XPathNamespaceTests.swift b/Tests/XPathNamespaceTests.swift index f218555..8ef64c6 100644 --- a/Tests/XPathNamespaceTests.swift +++ b/Tests/XPathNamespaceTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XPath eval-time namespaces and XPointer schemes") struct XPathNamespaceTests { diff --git a/Tests/XPathTests.swift b/Tests/XPathTests.swift index 98e54af..2c774e3 100644 --- a/Tests/XPathTests.swift +++ b/Tests/XPathTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XPath") struct XPathTests { diff --git a/Tests/XPointerRangeTests.swift b/Tests/XPointerRangeTests.swift index 2d9382e..c3ccea8 100644 --- a/Tests/XPointerRangeTests.swift +++ b/Tests/XPointerRangeTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XPointer range(), range-to(), string-range()") struct XPointerRangeTests { diff --git a/Tests/XPointerTests.swift b/Tests/XPointerTests.swift index 240b31c..5c817b8 100644 --- a/Tests/XPointerTests.swift +++ b/Tests/XPointerTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XPointer") struct XPointerTests { diff --git a/Tests/XSDCategoryTests.swift b/Tests/XSDCategoryTests.swift index 322e1e3..0387b12 100644 --- a/Tests/XSDCategoryTests.swift +++ b/Tests/XSDCategoryTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Each XSD constraint category exercised against `ComplexValidator` directly with /// crafted inputs, so it is verifiable on its own (the OpenAPIKit isolation recipe diff --git a/Tests/XSDCompletionTests2.swift b/Tests/XSDCompletionTests2.swift index 1cc39bd..7c56006 100644 --- a/Tests/XSDCompletionTests2.swift +++ b/Tests/XSDCompletionTests2.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Schema-driven completions: the exact follow-set of allowed next elements, /// whether content may end, and attribute required/present status. The basis for diff --git a/Tests/XSDComplexTypeTests.swift b/Tests/XSDComplexTypeTests.swift index dabfa5c..5de89f0 100644 --- a/Tests/XSDComplexTypeTests.swift +++ b/Tests/XSDComplexTypeTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD complex types") struct XSDComplexTypeTests { diff --git a/Tests/XSDCompositionTests.swift b/Tests/XSDCompositionTests.swift index f943634..ffc9d98 100644 --- a/Tests/XSDCompositionTests.swift +++ b/Tests/XSDCompositionTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD list, union, groups, and references") struct XSDCompositionTests { diff --git a/Tests/XSDDatatypeTests.swift b/Tests/XSDDatatypeTests.swift index 22174ee..0e87ded 100644 --- a/Tests/XSDDatatypeTests.swift +++ b/Tests/XSDDatatypeTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD datatypes") struct XSDDatatypeTests { diff --git a/Tests/XSDDerivationControlTests.swift b/Tests/XSDDerivationControlTests.swift index 08a8588..cc96d05 100644 --- a/Tests/XSDDerivationControlTests.swift +++ b/Tests/XSDDerivationControlTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD derivation control") struct XSDDerivationControlTests { diff --git a/Tests/XSDIdentityTests.swift b/Tests/XSDIdentityTests.swift index 4eb3484..a685082 100644 --- a/Tests/XSDIdentityTests.swift +++ b/Tests/XSDIdentityTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD identity constraints") struct XSDIdentityTests { diff --git a/Tests/XSDImportTests.swift b/Tests/XSDImportTests.swift index ba7f7eb..4982e65 100644 --- a/Tests/XSDImportTests.swift +++ b/Tests/XSDImportTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD includes, substitution groups, xsi:type") struct XSDImportTests { diff --git a/Tests/XSDLocatedContentTests.swift b/Tests/XSDLocatedContentTests.swift index 14bf5e8..15f3d7f 100644 --- a/Tests/XSDLocatedContentTests.swift +++ b/Tests/XSDLocatedContentTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD located content-model errors") struct XSDLocatedContentTests { diff --git a/Tests/XSDNamespaceTests.swift b/Tests/XSDNamespaceTests.swift index bce233a..d2e32c5 100644 --- a/Tests/XSDNamespaceTests.swift +++ b/Tests/XSDNamespaceTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD namespace qualification") struct XSDNamespaceTests { diff --git a/Tests/XSDParticleRestrictionTests.swift b/Tests/XSDParticleRestrictionTests.swift index 046cce6..ae51054 100644 --- a/Tests/XSDParticleRestrictionTests.swift +++ b/Tests/XSDParticleRestrictionTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD Particle Valid (Restriction)") struct XSDParticleRestrictionTests { diff --git a/Tests/XSDRestrictionContentFreeOrderTests.swift b/Tests/XSDRestrictionContentFreeOrderTests.swift index 4f8842f..ef5fc3c 100644 --- a/Tests/XSDRestrictionContentFreeOrderTests.swift +++ b/Tests/XSDRestrictionContentFreeOrderTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD restriction: content-free and substitution-group order") struct XSDRestrictionContentFreeAndOrderTests { diff --git a/Tests/XSDSchemaTests.swift b/Tests/XSDSchemaTests.swift index 77a21d2..66a7306 100644 --- a/Tests/XSDSchemaTests.swift +++ b/Tests/XSDSchemaTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD schema documents") struct XSDSchemaTests { diff --git a/Tests/XSDSchemaValidationTests.swift b/Tests/XSDSchemaValidationTests.swift index 5b768ae..20ee772 100644 --- a/Tests/XSDSchemaValidationTests.swift +++ b/Tests/XSDSchemaValidationTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Unit tests for the schema-consistency validation rules (final respected, /// Particle Valid (Restriction)) exercised directly per the framework idiom, diff --git a/Tests/XSDTypeResolutionTests.swift b/Tests/XSDTypeResolutionTests.swift index f32da9e..a5022c3 100644 --- a/Tests/XSDTypeResolutionTests.swift +++ b/Tests/XSDTypeResolutionTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD type resolution: unknown xsi:type and circular references") struct XSDTypeResolutionTests { diff --git a/Tests/XSDValueConstraintTests.swift b/Tests/XSDValueConstraintTests.swift index 2675eb6..e13b7e4 100644 --- a/Tests/XSDValueConstraintTests.swift +++ b/Tests/XSDValueConstraintTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD nillable and value constraints") struct XSDValueConstraintTests { diff --git a/Tests/XSDWildcardTests.swift b/Tests/XSDWildcardTests.swift index 8af6d7e..b52a206 100644 --- a/Tests/XSDWildcardTests.swift +++ b/Tests/XSDWildcardTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSD wildcards and list builtins") struct XSDWildcardTests { diff --git a/Tests/XSLTApplyImportsTests.swift b/Tests/XSLTApplyImportsTests.swift index 3b98021..6c9b51f 100644 --- a/Tests/XSLTApplyImportsTests.swift +++ b/Tests/XSLTApplyImportsTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSLT xsl:apply-imports") struct XSLTApplyImportsTests { diff --git a/Tests/XSLTAttributeSetTests.swift b/Tests/XSLTAttributeSetTests.swift index ba16af1..13f8fd6 100644 --- a/Tests/XSLTAttributeSetTests.swift +++ b/Tests/XSLTAttributeSetTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSLT xsl:attribute-set") struct XSLTAttributeSetTests { diff --git a/Tests/XSLTCDATASectionTests.swift b/Tests/XSLTCDATASectionTests.swift index 26c38a6..58f4327 100644 --- a/Tests/XSLTCDATASectionTests.swift +++ b/Tests/XSLTCDATASectionTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSLT xsl:output cdata-section-elements") struct XSLTCDATASectionTests { diff --git a/Tests/XSLTCompositionTests.swift b/Tests/XSLTCompositionTests.swift index 758bfab..ac3d0b7 100644 --- a/Tests/XSLTCompositionTests.swift +++ b/Tests/XSLTCompositionTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Stylesheet composition behaviors of the xalan burn-down (#130): import /// precedence and apply-imports scoping, relative include/import chains, diff --git a/Tests/XSLTCreatedNamesTests.swift b/Tests/XSLTCreatedNamesTests.swift index ae7f2ff..74b32a6 100644 --- a/Tests/XSLTCreatedNamesTests.swift +++ b/Tests/XSLTCreatedNamesTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// Namespaced name creation and result-tree namespace fixup (#130): /// xsl:attribute/xsl:element honor the namespace attribute and resolve diff --git a/Tests/XSLTDecimalFormatTests.swift b/Tests/XSLTDecimalFormatTests.swift index f7814a8..4d48d8a 100644 --- a/Tests/XSLTDecimalFormatTests.swift +++ b/Tests/XSLTDecimalFormatTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSLT xsl:decimal-format") struct XSLTDecimalFormatTests { diff --git a/Tests/XSLTDoctypeOutputTests.swift b/Tests/XSLTDoctypeOutputTests.swift index b95d058..6a5fd49 100644 --- a/Tests/XSLTDoctypeOutputTests.swift +++ b/Tests/XSLTDoctypeOutputTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSLT xsl:output doctype-public / doctype-system") struct XSLTDoctypeOutputTests { diff --git a/Tests/XSLTDocumentFunctionTests.swift b/Tests/XSLTDocumentFunctionTests.swift index b5e1491..c221ccf 100644 --- a/Tests/XSLTDocumentFunctionTests.swift +++ b/Tests/XSLTDocumentFunctionTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSLT document() fragments and base-URI resolution") struct XSLTDocumentFunctionTests { diff --git a/Tests/XSLTFallbackTests.swift b/Tests/XSLTFallbackTests.swift index 3f22091..8824241 100644 --- a/Tests/XSLTFallbackTests.swift +++ b/Tests/XSLTFallbackTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSLT xsl:fallback") struct XSLTFallbackTests { diff --git a/Tests/XSLTFunctionTests.swift b/Tests/XSLTFunctionTests.swift index b23d54c..181af40 100644 --- a/Tests/XSLTFunctionTests.swift +++ b/Tests/XSLTFunctionTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSLT functions: generate-id, system-property, *-available") struct XSLTFunctionTests { diff --git a/Tests/XSLTHTMLOutputTests.swift b/Tests/XSLTHTMLOutputTests.swift index 88f8f6a..167dccb 100644 --- a/Tests/XSLTHTMLOutputTests.swift +++ b/Tests/XSLTHTMLOutputTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSLT method=html output") struct XSLTHTMLOutputTests { diff --git a/Tests/XSLTKeyNodeSetTests.swift b/Tests/XSLTKeyNodeSetTests.swift index f0efebf..214a992 100644 --- a/Tests/XSLTKeyNodeSetTests.swift +++ b/Tests/XSLTKeyNodeSetTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSLT key() with the context node and node-set values") struct XSLTKeyNodeSetTests { diff --git a/Tests/XSLTMatchCacheTests.swift b/Tests/XSLTMatchCacheTests.swift index ba7e098..798e398 100644 --- a/Tests/XSLTMatchCacheTests.swift +++ b/Tests/XSLTMatchCacheTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSLT match-pattern caching") struct XSLTMatchCacheTests { diff --git a/Tests/XSLTMessageTests.swift b/Tests/XSLTMessageTests.swift index bf0274b..c3f8e97 100644 --- a/Tests/XSLTMessageTests.swift +++ b/Tests/XSLTMessageTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSLT xsl:message") struct XSLTMessageTests { diff --git a/Tests/XSLTNamespaceAliasTests.swift b/Tests/XSLTNamespaceAliasTests.swift index 2b6784c..0d51928 100644 --- a/Tests/XSLTNamespaceAliasTests.swift +++ b/Tests/XSLTNamespaceAliasTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSLT xsl:namespace-alias") struct XSLTNamespaceAliasTests { diff --git a/Tests/XSLTNumberingTests.swift b/Tests/XSLTNumberingTests.swift index 47b04a3..eaaa77c 100644 --- a/Tests/XSLTNumberingTests.swift +++ b/Tests/XSLTNumberingTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// The full `xsl:number` of XSLT 1.0 section 7.7 (#130): level /// single/multiple/any with count and from patterns, the format-token engine diff --git a/Tests/XSLTOutputMethodTests.swift b/Tests/XSLTOutputMethodTests.swift index aead8b0..580d15a 100644 --- a/Tests/XSLTOutputMethodTests.swift +++ b/Tests/XSLTOutputMethodTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML /// The output-method behaviors of XSLT 1.0 section 16 added in the xalan /// burn-down (#130): disable-output-escaping (including its 16.4 fragment diff --git a/Tests/XSLTParityTests.swift b/Tests/XSLTParityTests.swift index 79ac13f..bab1928 100644 --- a/Tests/XSLTParityTests.swift +++ b/Tests/XSLTParityTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSLT keys, numbering, output") struct XSLTParityTests { diff --git a/Tests/XSLTParserTests.swift b/Tests/XSLTParserTests.swift index 78ad1aa..ae731e5 100644 --- a/Tests/XSLTParserTests.swift +++ b/Tests/XSLTParserTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSLT parser") struct XSLTParserTests { diff --git a/Tests/XSLTResultFragmentTests.swift b/Tests/XSLTResultFragmentTests.swift index ae45b5f..dc6622e 100644 --- a/Tests/XSLTResultFragmentTests.swift +++ b/Tests/XSLTResultFragmentTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSLT result-tree fragment as node-set") struct XSLTResultFragmentTests { diff --git a/Tests/XSLTSortCaseOrderTests.swift b/Tests/XSLTSortCaseOrderTests.swift index bc3d773..bf51342 100644 --- a/Tests/XSLTSortCaseOrderTests.swift +++ b/Tests/XSLTSortCaseOrderTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSLT xsl:sort case-order") struct XSLTSortCaseOrderTests { diff --git a/Tests/XSLTTests.swift b/Tests/XSLTTests.swift index 20530d9..db4de93 100644 --- a/Tests/XSLTTests.swift +++ b/Tests/XSLTTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSLT transform") struct XSLTTests { diff --git a/Tests/XSLTWhitespaceTests.swift b/Tests/XSLTWhitespaceTests.swift index b626a2f..073cbc5 100644 --- a/Tests/XSLTWhitespaceTests.swift +++ b/Tests/XSLTWhitespaceTests.swift @@ -1,5 +1,5 @@ -@testable import PureXML import Testing +@testable import PureXML @Suite("XSLT strip-space / preserve-space") struct XSLTWhitespaceTests { diff --git a/Tests/XSTSDifferentialTests.swift b/Tests/XSTSDifferentialTests.swift index dbf1351..d19e16a 100644 --- a/Tests/XSTSDifferentialTests.swift +++ b/Tests/XSTSDifferentialTests.swift @@ -1,6 +1,6 @@ import Foundation -@testable import PureXML import Testing +@testable import PureXML /// Differential schema-validity harness (production-readiness stopper #3: /// correctness must be characterised against an independent reference, not just a diff --git a/Tests/XSTSSuiteTests.swift b/Tests/XSTSSuiteTests.swift index 4eeeed5..4228bda 100644 --- a/Tests/XSTSSuiteTests.swift +++ b/Tests/XSTSSuiteTests.swift @@ -1,6 +1,6 @@ import Foundation -@testable import PureXML import Testing +@testable import PureXML /// Opt-in runner for the W3C XML Schema Test Suite (XSTS, the 2006-11-06 /// release; W3C Document License, never vendored). Point `XSTS_ROOT` at the diff --git a/Tests/XalanConfSuiteTests.swift b/Tests/XalanConfSuiteTests.swift index d1b8322..5b90fdf 100644 --- a/Tests/XalanConfSuiteTests.swift +++ b/Tests/XalanConfSuiteTests.swift @@ -1,6 +1,6 @@ import Foundation -@testable import PureXML import Testing +@testable import PureXML /// Opt-in runner for the Apache xalan-test XSLT 1.0 conformance corpus (the /// de facto OASIS-era suite: per-category stylesheet/source pairs with gold