From 207c9dfb34c8f81783d3f5811f4f45dd7f910b52 Mon Sep 17 00:00:00 2001 From: Rachel Brindle Date: Mon, 2 Oct 2023 13:44:54 -0700 Subject: [PATCH] [v13.0.0-rc.1] Update docs and podspec --- Nimble.podspec | 2 +- docs/Classes.html | 331 ++--- docs/Classes/AssertionDispatcher.html | 281 ++-- docs/Classes/AssertionRecorder.html | 281 ++-- docs/Classes/BadInstructionException.html | 281 ++-- docs/Classes/CurrentTestCaseTracker.html | 281 ++-- docs/Classes/FailureMessage.html | 281 ++-- docs/Classes/NMBExpectation.html | 321 +++-- docs/Classes/NMBExpectationMessage.html | 281 ++-- .../NMBMatcher.html} | 476 ++++--- .../NMBMatcherResult.html} | 319 +++-- .../NMBMatcherStatus.html} | 337 ++--- ...cate.html => NMBObjCBeCloseToMatcher.html} | 299 ++-- .../NMBObjCRaiseExceptionMatcher.html} | 317 +++-- docs/Classes/NMBStringer.html | 281 ++-- docs/Classes/NMBWait.html | 281 ++-- docs/Classes/NimbleShortXCTestHandler.html | 281 ++-- docs/Classes/NimbleXCTestHandler.html | 281 ++-- docs/Classes/SourceLocation.html | 281 ++-- docs/Enums.html | 295 ++-- docs/Enums/ExpectationMessage.html | 281 ++-- docs/Enums/ExpectationStatus.html | 289 ++-- docs/Enums/ExpectationStyle.html | 283 ++-- ...redicateStatus.html => MatcherStatus.html} | 327 ++--- docs/Enums/NimbleTimeInterval.html | 281 ++-- docs/Enums/ToSucceedResult.html | 281 ++-- docs/Extensions.html | 281 ++-- docs/Extensions/AnySequence.html | 281 ++-- docs/Extensions/Array.html | 281 ++-- docs/Extensions/Data.html | 281 ++-- docs/Extensions/Date.html | 281 ++-- docs/Extensions/Double.html | 281 ++-- docs/Extensions/Float.html | 281 ++-- docs/Extensions/Int.html | 281 ++-- docs/Extensions/Int16.html | 281 ++-- docs/Extensions/Int32.html | 281 ++-- docs/Extensions/Int64.html | 281 ++-- docs/Extensions/Int8.html | 281 ++-- docs/Extensions/NSArray.html | 281 ++-- docs/Extensions/NSDate.html | 281 ++-- docs/Extensions/NSException.html | 281 ++-- docs/Extensions/NSIndexSet.html | 281 ++-- docs/Extensions/NSNumber.html | 281 ++-- docs/Extensions/NSString.html | 281 ++-- docs/Extensions/String.html | 281 ++-- docs/Extensions/TimeInterval.html | 281 ++-- docs/Extensions/UInt.html | 281 ++-- docs/Extensions/UInt16.html | 281 ++-- docs/Extensions/UInt32.html | 281 ++-- docs/Extensions/UInt64.html | 281 ++-- docs/Extensions/UInt8.html | 281 ++-- docs/Functions.html | 971 ++++++------- docs/Global Variables.html | 371 ++--- docs/Protocols.html | 291 ++-- docs/Protocols/AssertionHandler.html | 281 ++-- .../AsyncableMatcher.html} | 303 ++-- docs/Protocols/Expectation.html | 285 ++-- docs/Protocols/NMBCollection.html | 281 ++-- docs/Protocols/NMBComparable.html | 281 ++-- docs/Protocols/NMBContainer.html | 281 ++-- docs/Protocols/NMBDoubleConvertible.html | 281 ++-- docs/Protocols/NMBOrderedCollection.html | 281 ++-- .../TestOutputStringConvertible.html | 281 ++-- docs/Structs.html | 388 +++--- docs/Structs/AssertionRecord.html | 281 ++-- docs/Structs/AsyncDefaults.html | 1217 ----------------- docs/Structs/AsyncExpectation.html | 419 +++--- docs/Structs/AsyncExpression.html | 283 ++-- .../AsyncMatcher.html} | 377 ++--- docs/Structs/ExpectationNil.html | 281 ++-- docs/Structs/Expression.html | 281 ++-- .../Predicate.html => Structs/Matcher.html} | 387 +++--- .../MatcherResult.html} | 333 ++--- docs/Structs/PollingDefaults.html | 286 ++-- docs/Structs/SyncExpectation.html | 469 ++++--- docs/Structs/execTypesCountTuple.html | 281 ++-- docs/Typealiases.html | 508 +++++-- docs/badge.svg | 4 +- .../Contents/Resources/Documents/Classes.html | 331 ++--- .../Classes/AssertionDispatcher.html | 281 ++-- .../Documents/Classes/AssertionRecorder.html | 281 ++-- .../Classes/BadInstructionException.html | 281 ++-- .../Classes/CurrentTestCaseTracker.html | 281 ++-- .../Documents/Classes/FailureMessage.html | 281 ++-- .../Documents/Classes/NMBExpectation.html | 321 +++-- .../Classes/NMBExpectationMessage.html | 281 ++-- .../Documents/Classes/NMBMatcher.html} | 476 ++++--- .../Documents/Classes/NMBMatcherResult.html} | 319 +++-- .../Documents/Classes/NMBMatcherStatus.html} | 337 ++--- ...cate.html => NMBObjCBeCloseToMatcher.html} | 299 ++-- .../NMBObjCRaiseExceptionMatcher.html} | 317 +++-- .../Documents/Classes/NMBStringer.html | 281 ++-- .../Resources/Documents/Classes/NMBWait.html | 281 ++-- .../Classes/NimbleShortXCTestHandler.html | 281 ++-- .../Classes/NimbleXCTestHandler.html | 281 ++-- .../Documents/Classes/SourceLocation.html | 281 ++-- .../Contents/Resources/Documents/Enums.html | 295 ++-- .../Documents/Enums/ExpectationMessage.html | 281 ++-- .../Documents/Enums/ExpectationStatus.html | 289 ++-- .../Documents/Enums/ExpectationStyle.html | 283 ++-- ...redicateStatus.html => MatcherStatus.html} | 327 ++--- .../Documents/Enums/NimbleTimeInterval.html | 281 ++-- .../Documents/Enums/ToSucceedResult.html | 281 ++-- .../Resources/Documents/Extensions.html | 281 ++-- .../Documents/Extensions/AnySequence.html | 281 ++-- .../Resources/Documents/Extensions/Array.html | 281 ++-- .../Resources/Documents/Extensions/Data.html | 281 ++-- .../Resources/Documents/Extensions/Date.html | 281 ++-- .../Documents/Extensions/Double.html | 281 ++-- .../Resources/Documents/Extensions/Float.html | 281 ++-- .../Resources/Documents/Extensions/Int.html | 281 ++-- .../Resources/Documents/Extensions/Int16.html | 281 ++-- .../Resources/Documents/Extensions/Int32.html | 281 ++-- .../Resources/Documents/Extensions/Int64.html | 281 ++-- .../Resources/Documents/Extensions/Int8.html | 281 ++-- .../Documents/Extensions/NSArray.html | 281 ++-- .../Documents/Extensions/NSDate.html | 281 ++-- .../Documents/Extensions/NSException.html | 281 ++-- .../Documents/Extensions/NSIndexSet.html | 281 ++-- .../Documents/Extensions/NSNumber.html | 281 ++-- .../Documents/Extensions/NSString.html | 281 ++-- .../Documents/Extensions/String.html | 281 ++-- .../Documents/Extensions/TimeInterval.html | 281 ++-- .../Resources/Documents/Extensions/UInt.html | 281 ++-- .../Documents/Extensions/UInt16.html | 281 ++-- .../Documents/Extensions/UInt32.html | 281 ++-- .../Documents/Extensions/UInt64.html | 281 ++-- .../Resources/Documents/Extensions/UInt8.html | 281 ++-- .../Resources/Documents/Functions.html | 971 ++++++------- .../Resources/Documents/Global Variables.html | 371 ++--- .../Resources/Documents/Protocols.html | 291 ++-- .../Documents/Protocols/AssertionHandler.html | 281 ++-- .../Protocols/AsyncableMatcher.html} | 303 ++-- .../Documents/Protocols/Expectation.html | 285 ++-- .../Documents/Protocols/NMBCollection.html | 281 ++-- .../Documents/Protocols/NMBComparable.html | 281 ++-- .../Documents/Protocols/NMBContainer.html | 281 ++-- .../Protocols/NMBDoubleConvertible.html | 281 ++-- .../Protocols/NMBOrderedCollection.html | 281 ++-- .../TestOutputStringConvertible.html | 281 ++-- .../Contents/Resources/Documents/Structs.html | 388 +++--- .../Documents/Structs/AssertionRecord.html | 281 ++-- .../Documents/Structs/AsyncDefaults.html | 1217 ----------------- .../Documents/Structs/AsyncExpectation.html | 419 +++--- .../Documents/Structs/AsyncExpression.html | 283 ++-- .../Documents/Structs/AsyncMatcher.html} | 377 ++--- .../Documents/Structs/ExpectationNil.html | 281 ++-- .../Documents/Structs/Expression.html | 281 ++-- .../Resources/Documents/Structs/Matcher.html} | 387 +++--- .../Documents/Structs/MatcherResult.html} | 333 ++--- .../Documents/Structs/PollingDefaults.html | 286 ++-- .../Documents/Structs/SyncExpectation.html | 469 ++++--- .../Structs/execTypesCountTuple.html | 281 ++-- .../Resources/Documents/Typealiases.html | 508 +++++-- .../Contents/Resources/Documents/index.html | 425 +++--- .../Contents/Resources/Documents/search.json | 2 +- .../Contents/Resources/docSet.dsidx | Bin 176128 -> 176128 bytes docs/docsets/Nimble.tgz | Bin 594810 -> 595606 bytes docs/index.html | 425 +++--- docs/search.json | 2 +- docs/undocumented.json | 553 ++++---- 161 files changed, 25832 insertions(+), 24645 deletions(-) rename docs/{docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBPredicate.html => Classes/NMBMatcher.html} (82%) rename docs/{docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBPredicateResult.html => Classes/NMBMatcherResult.html} (82%) rename docs/{docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBPredicateStatus.html => Classes/NMBMatcherStatus.html} (82%) rename docs/Classes/{NMBObjCBeCloseToPredicate.html => NMBObjCBeCloseToMatcher.html} (82%) rename docs/{docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBObjCRaiseExceptionPredicate.html => Classes/NMBObjCRaiseExceptionMatcher.html} (82%) rename docs/Enums/{PredicateStatus.html => MatcherStatus.html} (82%) rename docs/{docsets/Nimble.docset/Contents/Resources/Documents/Protocols/AsyncablePredicate.html => Protocols/AsyncableMatcher.html} (82%) delete mode 100644 docs/Structs/AsyncDefaults.html rename docs/{docsets/Nimble.docset/Contents/Resources/Documents/Structs/AsyncPredicate.html => Structs/AsyncMatcher.html} (79%) rename docs/{docsets/Nimble.docset/Contents/Resources/Documents/Structs/Predicate.html => Structs/Matcher.html} (79%) rename docs/{docsets/Nimble.docset/Contents/Resources/Documents/Structs/PredicateResult.html => Structs/MatcherResult.html} (81%) rename docs/{Classes/NMBPredicate.html => docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBMatcher.html} (82%) rename docs/{Classes/NMBPredicateResult.html => docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBMatcherResult.html} (82%) rename docs/{Classes/NMBPredicateStatus.html => docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBMatcherStatus.html} (82%) rename docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/{NMBObjCBeCloseToPredicate.html => NMBObjCBeCloseToMatcher.html} (82%) rename docs/{Classes/NMBObjCRaiseExceptionPredicate.html => docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBObjCRaiseExceptionMatcher.html} (82%) rename docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/{PredicateStatus.html => MatcherStatus.html} (82%) rename docs/{Protocols/AsyncablePredicate.html => docsets/Nimble.docset/Contents/Resources/Documents/Protocols/AsyncableMatcher.html} (82%) delete mode 100644 docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/AsyncDefaults.html rename docs/{Structs/AsyncPredicate.html => docsets/Nimble.docset/Contents/Resources/Documents/Structs/AsyncMatcher.html} (79%) rename docs/{Structs/Predicate.html => docsets/Nimble.docset/Contents/Resources/Documents/Structs/Matcher.html} (79%) rename docs/{Structs/PredicateResult.html => docsets/Nimble.docset/Contents/Resources/Documents/Structs/MatcherResult.html} (81%) diff --git a/Nimble.podspec b/Nimble.podspec index e9fcf9797..bbcbcca37 100644 --- a/Nimble.podspec +++ b/Nimble.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "Nimble" - s.version = "12.3.0" + s.version = "13.0.0-rc.1" s.summary = "A Matcher Framework for Swift and Objective-C" s.description = <<-DESC Use Nimble to express the expected outcomes of Swift or Objective-C expressions. Inspired by Cedar. diff --git a/docs/Classes.html b/docs/Classes.html index 8bce30d70..99f3bf621 100644 --- a/docs/Classes.html +++ b/docs/Classes.html @@ -17,7 +17,7 @@
-

Nimble 12.3.0 Docs (46% documented)

+

Nimble 13.0.0-rc.1 Docs (47% documented)

GitHubView on GitHub

@@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1430,9 +1451,9 @@

Declaration

  • - - - NMBPredicate + + + NMBMatcher
    @@ -1442,13 +1463,13 @@

    Declaration

    Undocumented

    - See more + See more

    Declaration

    Swift

    -
    public class NMBPredicate : NSObject
    +
    public class NMBMatcher : NSObject
    @@ -1458,9 +1479,9 @@

    Declaration

  • @@ -1470,13 +1491,13 @@

    Declaration

    Undocumented

    - See more + See more

    Declaration

    Swift

    -
    public class NMBObjCBeCloseToPredicate : NMBPredicate
    +
    public class NMBObjCBeCloseToMatcher : NMBMatcher
    @@ -1486,9 +1507,9 @@

    Declaration

  • @@ -1498,13 +1519,13 @@

    Declaration

    Undocumented

    - See more + See more

    Declaration

    Swift

    -
    final public class NMBPredicateResult : NSObject
    +
    final public class NMBMatcherResult : NSObject
    @@ -1514,9 +1535,9 @@

    Declaration

  • @@ -1526,13 +1547,13 @@

    Declaration

    Undocumented

    - See more + See more

    Declaration

    Swift

    -
    final public class NMBPredicateStatus : NSObject
    +
    final public class NMBMatcherStatus : NSObject
    @@ -1542,9 +1563,9 @@

    Declaration

  • @@ -1554,13 +1575,13 @@

    Declaration

    Undocumented

    - See more + See more

    Declaration

    Swift

    -
    public class NMBObjCRaiseExceptionPredicate : NMBPredicate
    +
    public class NMBObjCRaiseExceptionMatcher : NMBMatcher
    @@ -1648,7 +1669,7 @@

    Declaration

    diff --git a/docs/Classes/AssertionDispatcher.html b/docs/Classes/AssertionDispatcher.html index 62242d847..1304035fa 100644 --- a/docs/Classes/AssertionDispatcher.html +++ b/docs/Classes/AssertionDispatcher.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage
  • - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1202,7 +1223,7 @@

    Declaration

    diff --git a/docs/Classes/AssertionRecorder.html b/docs/Classes/AssertionRecorder.html index 7b7a462ee..7d50e7e25 100644 --- a/docs/Classes/AssertionRecorder.html +++ b/docs/Classes/AssertionRecorder.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1228,7 +1249,7 @@

    Declaration

    diff --git a/docs/Classes/BadInstructionException.html b/docs/Classes/BadInstructionException.html index 15c304444..fc2f1b546 100644 --- a/docs/Classes/BadInstructionException.html +++ b/docs/Classes/BadInstructionException.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1200,7 +1221,7 @@

    Declaration

    diff --git a/docs/Classes/CurrentTestCaseTracker.html b/docs/Classes/CurrentTestCaseTracker.html index 83b40d1f5..bcdb8518c 100644 --- a/docs/Classes/CurrentTestCaseTracker.html +++ b/docs/Classes/CurrentTestCaseTracker.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1227,7 +1248,7 @@

    Declaration

    diff --git a/docs/Classes/FailureMessage.html b/docs/Classes/FailureMessage.html index c8c1dda4d..b9f16c705 100644 --- a/docs/Classes/FailureMessage.html +++ b/docs/Classes/FailureMessage.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1418,7 +1439,7 @@

    Declaration

    diff --git a/docs/Classes/NMBExpectation.html b/docs/Classes/NMBExpectation.html index eaff42cc9..3776a50de 100644 --- a/docs/Classes/NMBExpectation.html +++ b/docs/Classes/NMBExpectation.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1216,7 +1237,7 @@

    Declaration

    Swift

    @objc
    -public var to: (NMBPredicate) -> NMBExpectation { get }
    +public var to: (NMBMatcher) -> NMBExpectation { get }
    @@ -1244,7 +1265,7 @@

    Declaration

    Swift

    @objc
    -public var toWithDescription: (NMBPredicate, String) -> NMBExpectation { get }
    +public var toWithDescription: (NMBMatcher, String) -> NMBExpectation { get }
    @@ -1272,7 +1293,7 @@

    Declaration

    Swift

    @objc
    -public var toNot: (NMBPredicate) -> NMBExpectation { get }
    +public var toNot: (NMBMatcher) -> NMBExpectation { get }
    @@ -1300,7 +1321,7 @@

    Declaration

    Swift

    @objc
    -public var toNotWithDescription: (NMBPredicate, String) -> NMBExpectation { get }
    +public var toNotWithDescription: (NMBMatcher, String) -> NMBExpectation { get }
    @@ -1328,7 +1349,7 @@

    Declaration

    Swift

    @objc
    -public var notTo: (NMBPredicate) -> NMBExpectation { get }
    +public var notTo: (NMBMatcher) -> NMBExpectation { get }
    @@ -1356,7 +1377,7 @@

    Declaration

    Swift

    @objc
    -public var notToWithDescription: (NMBPredicate, String) -> NMBExpectation { get }
    +public var notToWithDescription: (NMBMatcher, String) -> NMBExpectation { get }
    @@ -1384,7 +1405,7 @@

    Declaration

    Swift

    @objc
    -public var toEventually: (NMBPredicate) -> Void { get }
    +public var toEventually: (NMBMatcher) -> Void { get }
    @@ -1412,7 +1433,7 @@

    Declaration

    Swift

    @objc
    -public var toEventuallyWithDescription: (NMBPredicate, String) -> Void { get }
    +public var toEventuallyWithDescription: (NMBMatcher, String) -> Void { get }
    @@ -1440,7 +1461,7 @@

    Declaration

    Swift

    @objc
    -public var toEventuallyNot: (NMBPredicate) -> Void { get }
    +public var toEventuallyNot: (NMBMatcher) -> Void { get }
    @@ -1468,7 +1489,7 @@

    Declaration

    Swift

    @objc
    -public var toEventuallyNotWithDescription: (NMBPredicate, String) -> Void { get }
    +public var toEventuallyNotWithDescription: (NMBMatcher, String) -> Void { get }
    @@ -1496,7 +1517,7 @@

    Declaration

    Swift

    @objc
    -public var toNotEventually: (NMBPredicate) -> Void { get }
    +public var toNotEventually: (NMBMatcher) -> Void { get }
    @@ -1524,7 +1545,7 @@

    Declaration

    Swift

    @objc
    -public var toNotEventuallyWithDescription: (NMBPredicate, String) -> Void { get }
    +public var toNotEventuallyWithDescription: (NMBMatcher, String) -> Void { get }
    @@ -1552,7 +1573,7 @@

    Declaration

    Swift

    @objc
    -public var toNever: (NMBPredicate) -> Void { get }
    +public var toNever: (NMBMatcher) -> Void { get }
    @@ -1580,7 +1601,7 @@

    Declaration

    Swift

    @objc
    -public var toNeverWithDescription: (NMBPredicate, String) -> Void { get }
    +public var toNeverWithDescription: (NMBMatcher, String) -> Void { get }
    @@ -1608,7 +1629,7 @@

    Declaration

    Swift

    @objc
    -public var neverTo: (NMBPredicate) -> Void { get }
    +public var neverTo: (NMBMatcher) -> Void { get }
    @@ -1636,7 +1657,7 @@

    Declaration

    Swift

    @objc
    -public var neverToWithDescription: (NMBPredicate, String) -> Void { get }
    +public var neverToWithDescription: (NMBMatcher, String) -> Void { get }
    @@ -1664,7 +1685,7 @@

    Declaration

    Swift

    @objc
    -public var toAlways: (NMBPredicate) -> Void { get }
    +public var toAlways: (NMBMatcher) -> Void { get }
    @@ -1692,7 +1713,7 @@

    Declaration

    Swift

    @objc
    -public var toAlwaysWithDescription: (NMBPredicate, String) -> Void { get }
    +public var toAlwaysWithDescription: (NMBMatcher, String) -> Void { get }
    @@ -1720,7 +1741,7 @@

    Declaration

    Swift

    @objc
    -public var alwaysTo: (NMBPredicate) -> Void { get }
    +public var alwaysTo: (NMBMatcher) -> Void { get }
    @@ -1748,7 +1769,7 @@

    Declaration

    Swift

    @objc
    -public var alwaysToWithDescription: (NMBPredicate, String) -> Void { get }
    +public var alwaysToWithDescription: (NMBMatcher, String) -> Void { get }
    @@ -1788,7 +1809,7 @@

    Declaration

    diff --git a/docs/Classes/NMBExpectationMessage.html b/docs/Classes/NMBExpectationMessage.html index 786b292ae..6ae7a59e9 100644 --- a/docs/Classes/NMBExpectationMessage.html +++ b/docs/Classes/NMBExpectationMessage.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1414,7 +1435,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBPredicate.html b/docs/Classes/NMBMatcher.html similarity index 82% rename from docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBPredicate.html rename to docs/Classes/NMBMatcher.html index 24e4790d8..198d08289 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBPredicate.html +++ b/docs/Classes/NMBMatcher.html @@ -1,7 +1,7 @@ - NMBPredicate Class Reference + NMBMatcher Class Reference @@ -13,11 +13,11 @@ - - + +
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -30,7 +30,7 @@
    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1125,11 +1146,11 @@
    -

    NMBPredicate

    +

    NMBMatcher

    -
    public class NMBPredicate : NSObject
    +
    public class NMBMatcher : NSObject
    @@ -1142,9 +1163,36 @@

    NMBPredicate

  • - + + + init(matcher:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(matcher: @escaping MatcherBlock)
    + +
    +
    +
    +
    +
  • +
  • +
    @@ -1159,7 +1207,7 @@

    NMBPredicate

    Declaration

    Swift

    -
    public init(predicate: @escaping PredicateBlock)
    +
    public convenience init(predicate: @escaping MatcherBlock)
    @@ -1169,9 +1217,9 @@

    Declaration

  • @@ -1187,7 +1235,7 @@

    Declaration

    Swift

    @objc
    -public class func allPassMatcher(_ predicate: NMBPredicate) -> NMBPredicate
    +public class func allPassMatcher(_ matcher: NMBMatcher) -> NMBMatcher
    @@ -1197,9 +1245,9 @@

    Declaration

  • @@ -1215,7 +1263,7 @@

    Declaration

    Swift

    @objc
    -public class func beAKindOfMatcher(_ expected: AnyClass) -> NMBPredicate
    +public class func beAKindOfMatcher(_ expected: AnyClass) -> NMBMatcher
    @@ -1225,9 +1273,9 @@

    Declaration

  • @@ -1243,7 +1291,7 @@

    Declaration

    Swift

    @objc
    -public class func beAnInstanceOfMatcher(_ expected: AnyClass) -> NMBPredicate
    +public class func beAnInstanceOfMatcher(_ expected: AnyClass) -> NMBMatcher
    @@ -1253,9 +1301,9 @@

    Declaration

  • @@ -1271,7 +1319,7 @@

    Declaration

    Swift

    @objc
    -public class func beCloseToMatcher(_ expected: NSNumber, within: CDouble) -> NMBObjCBeCloseToPredicate
    +public class func beCloseToMatcher(_ expected: NSNumber, within: CDouble) -> NMBObjCBeCloseToMatcher
    @@ -1281,9 +1329,9 @@

    Declaration

  • @@ -1299,7 +1347,7 @@

    Declaration

    Swift

    @objc
    -public class func beEmptyMatcher() -> NMBPredicate
    +public class func beEmptyMatcher() -> NMBMatcher
    @@ -1309,9 +1357,9 @@

    Declaration

  • @@ -1327,7 +1375,7 @@

    Declaration

    Swift

    @objc
    -public class func beGreaterThanMatcher(_ expected: NMBComparable?) -> NMBPredicate
    +public class func beGreaterThanMatcher(_ expected: NMBComparable?) -> NMBMatcher
    @@ -1337,9 +1385,9 @@

    Declaration

  • @@ -1355,7 +1403,7 @@

    Declaration

    Swift

    @objc
    -public class func beGreaterThanOrEqualToMatcher(_ expected: NMBComparable?) -> NMBPredicate
    +public class func beGreaterThanOrEqualToMatcher(_ expected: NMBComparable?) -> NMBMatcher
    @@ -1365,9 +1413,9 @@

    Declaration

  • @@ -1383,7 +1431,7 @@

    Declaration

    Swift

    @objc
    -public class func beIdenticalToMatcher(_ expected: NSObject?) -> NMBPredicate
    +public class func beIdenticalToMatcher(_ expected: NSObject?) -> NMBMatcher
    @@ -1393,9 +1441,9 @@

    Declaration

  • @@ -1411,7 +1459,7 @@

    Declaration

    Swift

    @objc
    -public class func beLessThanMatcher(_ expected: NMBComparable?) -> NMBPredicate
    +public class func beLessThanMatcher(_ expected: NMBComparable?) -> NMBMatcher
    @@ -1421,9 +1469,9 @@

    Declaration

  • @@ -1439,7 +1487,7 @@

    Declaration

    Swift

    @objc
    -public class func beLessThanOrEqualToMatcher(_ expected: NMBComparable?) -> NMBPredicate
    +public class func beLessThanOrEqualToMatcher(_ expected: NMBComparable?) -> NMBMatcher
    @@ -1462,9 +1510,9 @@

    beTruthy() / beFalsy()
  • @@ -1480,7 +1528,7 @@

    Declaration

    Swift

    @objc
    -public class func beTruthyMatcher() -> NMBPredicate
    +public class func beTruthyMatcher() -> NMBMatcher
    @@ -1490,9 +1538,9 @@

    Declaration

  • @@ -1508,7 +1556,7 @@

    Declaration

    Swift

    @objc
    -public class func beFalsyMatcher() -> NMBPredicate
    +public class func beFalsyMatcher() -> NMBMatcher
    @@ -1518,9 +1566,9 @@

    Declaration

  • @@ -1536,7 +1584,7 @@

    Declaration

    Swift

    @objc
    -public class func beTrueMatcher() -> NMBPredicate
    +public class func beTrueMatcher() -> NMBMatcher
    @@ -1546,9 +1594,9 @@

    Declaration

  • @@ -1564,7 +1612,7 @@

    Declaration

    Swift

    @objc
    -public class func beFalseMatcher() -> NMBPredicate
    +public class func beFalseMatcher() -> NMBMatcher
    @@ -1574,9 +1622,9 @@

    Declaration

  • @@ -1592,7 +1640,7 @@

    Declaration

    Swift

    @objc
    -public class func beNilMatcher() -> NMBPredicate
    +public class func beNilMatcher() -> NMBMatcher
    @@ -1602,9 +1650,9 @@

    Declaration

  • @@ -1620,7 +1668,7 @@

    Declaration

    Swift

    @objc
    -public class func beginWithMatcher(_ expected: Any) -> NMBPredicate
    +public class func beginWithMatcher(_ expected: Any) -> NMBMatcher
    @@ -1630,9 +1678,9 @@

    Declaration

  • @@ -1648,7 +1696,7 @@

    Declaration

    Swift

    @objc
    -public class func containMatcher(_ expected: [NSObject]) -> NMBPredicate
    +public class func containMatcher(_ expected: [NSObject]) -> NMBMatcher
    @@ -1658,9 +1706,9 @@

    Declaration

  • @@ -1676,7 +1724,7 @@

    Declaration

    Swift

    @objc
    -public class func containElementSatisfyingMatcher(_ predicate: @escaping ((NSObject) -> Bool)) -> NMBPredicate
    +public class func containElementSatisfyingMatcher(_ matcher: @escaping ((NSObject) -> Bool)) -> NMBMatcher
    @@ -1686,9 +1734,9 @@

    Declaration

  • @@ -1704,7 +1752,7 @@

    Declaration

    Swift

    @objc
    -public class func endWithMatcher(_ expected: Any) -> NMBPredicate
    +public class func endWithMatcher(_ expected: Any) -> NMBMatcher
    @@ -1714,9 +1762,9 @@

    Declaration

  • @@ -1732,7 +1780,7 @@

    Declaration

    Swift

    @objc
    -public class func equalMatcher(_ expected: NSObject) -> NMBPredicate
    +public class func equalMatcher(_ expected: NSObject) -> NMBMatcher
    @@ -1742,9 +1790,9 @@

    Declaration

  • @@ -1760,7 +1808,7 @@

    Declaration

    Swift

    @objc
    -public class func haveCountMatcher(_ expected: NSNumber) -> NMBPredicate
    +public class func haveCountMatcher(_ expected: NSNumber) -> NMBMatcher
    @@ -1770,9 +1818,9 @@

    Declaration

  • @@ -1788,7 +1836,7 @@

    Declaration

    Swift

    @objc
    -public class func matchMatcher(_ expected: NSString) -> NMBPredicate
    +public class func matchMatcher(_ expected: NSString) -> NMBMatcher
    @@ -1798,9 +1846,9 @@

    Declaration

  • @@ -1816,7 +1864,7 @@

    Declaration

    Swift

    @objc
    -public class func raiseExceptionMatcher() -> NMBObjCRaiseExceptionPredicate
    +public class func raiseExceptionMatcher() -> NMBObjCRaiseExceptionMatcher
    @@ -1826,9 +1874,9 @@

    Declaration

  • @@ -1844,7 +1892,7 @@

    Declaration

    Swift

    @objc
    -public class func satisfyAllOfMatcher(_ predicates: [NMBPredicate]) -> NMBPredicate
    +public class func satisfyAllOfMatcher(_ matchers: [NMBMatcher]) -> NMBMatcher
    @@ -1854,9 +1902,9 @@

    Declaration

  • @@ -1872,7 +1920,7 @@

    Declaration

    Swift

    @objc
    -public class func satisfyAnyOfMatcher(_ predicates: [NMBPredicate]) -> NMBPredicate
    +public class func satisfyAnyOfMatcher(_ matchers: [NMBMatcher]) -> NMBMatcher
    @@ -1884,7 +1932,7 @@

    Declaration

  • diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBPredicateResult.html b/docs/Classes/NMBMatcherResult.html similarity index 82% rename from docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBPredicateResult.html rename to docs/Classes/NMBMatcherResult.html index 6c565284e..4dcf64b04 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBPredicateResult.html +++ b/docs/Classes/NMBMatcherResult.html @@ -1,7 +1,7 @@ - NMBPredicateResult Class Reference + NMBMatcherResult Class Reference @@ -13,11 +13,11 @@ - - + +
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -30,7 +30,7 @@
    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1125,11 +1146,11 @@
    -

    NMBPredicateResult

    +

    NMBMatcherResult

    -
    final public class NMBPredicateResult : NSObject
    +
    final public class NMBMatcherResult : NSObject
    @@ -1142,9 +1163,9 @@

    NMBPredicateResult

  • - + - status + status
    @@ -1159,7 +1180,7 @@

    NMBPredicateResult

    Declaration

    Swift

    -
    public var status: NMBPredicateStatus
    +
    public var status: NMBMatcherStatus
    @@ -1169,9 +1190,9 @@

    Declaration

  • - + - message + message
    @@ -1196,9 +1217,9 @@

    Declaration

  • @@ -1213,7 +1234,7 @@

    Declaration

    Declaration

    Swift

    -
    public init(status: NMBPredicateStatus, message: NMBExpectationMessage)
    +
    public init(status: NMBMatcherStatus, message: NMBExpectationMessage)
    @@ -1223,9 +1244,9 @@

    Declaration

  • @@ -1250,9 +1271,9 @@

    Declaration

  • @@ -1267,7 +1288,7 @@

    Declaration

    Declaration

    Swift

    -
    public func toSwift() -> PredicateResult
    +
    public func toSwift() -> MatcherResult
    @@ -1279,7 +1300,7 @@

    Declaration

  • diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBPredicateStatus.html b/docs/Classes/NMBMatcherStatus.html similarity index 82% rename from docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBPredicateStatus.html rename to docs/Classes/NMBMatcherStatus.html index eb8001af7..672d34d72 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBPredicateStatus.html +++ b/docs/Classes/NMBMatcherStatus.html @@ -1,7 +1,7 @@ - NMBPredicateStatus Class Reference + NMBMatcherStatus Class Reference @@ -13,11 +13,11 @@ - - + +
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -30,7 +30,7 @@
    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1125,11 +1146,11 @@
    -

    NMBPredicateStatus

    +

    NMBMatcherStatus

    -
    final public class NMBPredicateStatus : NSObject
    +
    final public class NMBMatcherStatus : NSObject
    @@ -1142,9 +1163,9 @@

    NMBPredicateStatus

  • - + - matches + matches
    @@ -1159,7 +1180,7 @@

    NMBPredicateStatus

    Declaration

    Swift

    -
    public static let matches: NMBPredicateStatus
    +
    public static let matches: NMBMatcherStatus
    @@ -1169,9 +1190,9 @@

    Declaration

  • @@ -1186,7 +1207,7 @@

    Declaration

    Declaration

    Swift

    -
    public static let doesNotMatch: NMBPredicateStatus
    +
    public static let doesNotMatch: NMBMatcherStatus
    @@ -1196,9 +1217,9 @@

    Declaration

  • - + - fail + fail
    @@ -1213,7 +1234,7 @@

    Declaration

    Declaration

    Swift

    -
    public static let fail: NMBPredicateStatus
    +
    public static let fail: NMBMatcherStatus
    @@ -1223,9 +1244,9 @@

    Declaration

  • - + - hash + hash
    @@ -1250,9 +1271,9 @@

    Declaration

  • @@ -1277,9 +1298,9 @@

    Declaration

  • @@ -1294,7 +1315,7 @@

    Declaration

    Declaration

    Swift

    -
    public static func from(status: PredicateStatus) -> NMBPredicateStatus
    +
    public static func from(status: MatcherStatus) -> NMBMatcherStatus
    @@ -1304,9 +1325,9 @@

    Declaration

  • @@ -1321,7 +1342,7 @@

    Declaration

    Declaration

    Swift

    -
    public static func from(bool success: Bool) -> NMBPredicateStatus
    +
    public static func from(bool success: Bool) -> NMBMatcherStatus
    @@ -1331,9 +1352,9 @@

    Declaration

  • @@ -1348,7 +1369,7 @@

    Declaration

    Declaration

    Swift

    -
    public func toSwift() -> PredicateStatus
    +
    public func toSwift() -> MatcherStatus
    @@ -1360,7 +1381,7 @@

    Declaration

  • diff --git a/docs/Classes/NMBObjCBeCloseToPredicate.html b/docs/Classes/NMBObjCBeCloseToMatcher.html similarity index 82% rename from docs/Classes/NMBObjCBeCloseToPredicate.html rename to docs/Classes/NMBObjCBeCloseToMatcher.html index 2fbae1078..f834fb95e 100644 --- a/docs/Classes/NMBObjCBeCloseToPredicate.html +++ b/docs/Classes/NMBObjCBeCloseToMatcher.html @@ -1,7 +1,7 @@ - NMBObjCBeCloseToPredicate Class Reference + NMBObjCBeCloseToMatcher Class Reference @@ -13,11 +13,11 @@ - - + +
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -30,7 +30,7 @@
    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1125,11 +1146,11 @@
    -

    NMBObjCBeCloseToPredicate

    +

    NMBObjCBeCloseToMatcher

    -
    public class NMBObjCBeCloseToPredicate : NMBPredicate
    +
    public class NMBObjCBeCloseToMatcher : NMBMatcher
    @@ -1142,9 +1163,9 @@

    NMBObjCBeCloseToPredicate

  • - + - within + within
    @@ -1160,7 +1181,7 @@

    Declaration

    Swift

    @objc
    -public var within: (CDouble) -> NMBObjCBeCloseToPredicate { get }
    +public var within: (CDouble) -> NMBObjCBeCloseToMatcher { get }
    @@ -1172,7 +1193,7 @@

    Declaration

  • diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBObjCRaiseExceptionPredicate.html b/docs/Classes/NMBObjCRaiseExceptionMatcher.html similarity index 82% rename from docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBObjCRaiseExceptionPredicate.html rename to docs/Classes/NMBObjCRaiseExceptionMatcher.html index d36e2876b..9875c55c4 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBObjCRaiseExceptionPredicate.html +++ b/docs/Classes/NMBObjCRaiseExceptionMatcher.html @@ -1,7 +1,7 @@ - NMBObjCRaiseExceptionPredicate Class Reference + NMBObjCRaiseExceptionMatcher Class Reference @@ -13,11 +13,11 @@ - - + +
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -30,7 +30,7 @@
    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1125,11 +1146,11 @@
    -

    NMBObjCRaiseExceptionPredicate

    +

    NMBObjCRaiseExceptionMatcher

    -
    public class NMBObjCRaiseExceptionPredicate : NMBPredicate
    +
    public class NMBObjCRaiseExceptionMatcher : NMBMatcher
    @@ -1142,9 +1163,9 @@

    NMBObjCRaiseExceptionPredicate

  • - + - named + named
    @@ -1160,7 +1181,7 @@

    Declaration

    Swift

    @objc
    -public var named: (_ name: String) -> NMBObjCRaiseExceptionPredicate { get }
    +public var named: (_ name: String) -> NMBObjCRaiseExceptionMatcher { get }
    @@ -1170,9 +1191,9 @@

    Declaration

  • - + - reason + reason
    @@ -1188,7 +1209,7 @@

    Declaration

    Swift

    @objc
    -public var reason: (_ reason: String?) -> NMBObjCRaiseExceptionPredicate { get }
    +public var reason: (_ reason: String?) -> NMBObjCRaiseExceptionMatcher { get }
    @@ -1198,9 +1219,9 @@

    Declaration

  • - + - userInfo + userInfo
    @@ -1216,7 +1237,7 @@

    Declaration

    Swift

    @objc
    -public var userInfo: (_ userInfo: NSDictionary?) -> NMBObjCRaiseExceptionPredicate { get }
    +public var userInfo: (_ userInfo: NSDictionary?) -> NMBObjCRaiseExceptionMatcher { get }
    @@ -1226,9 +1247,9 @@

    Declaration

  • @@ -1244,7 +1265,7 @@

    Declaration

    Swift

    @objc
    -public var satisfyingBlock: (_ block: ((NSException) -> Void)?) -> NMBObjCRaiseExceptionPredicate { get }
    +public var satisfyingBlock: (_ block: ((NSException) -> Void)?) -> NMBObjCRaiseExceptionMatcher { get }
    @@ -1256,7 +1277,7 @@

    Declaration

  • diff --git a/docs/Classes/NMBStringer.html b/docs/Classes/NMBStringer.html index 18e3e6655..d125bd5b8 100644 --- a/docs/Classes/NMBStringer.html +++ b/docs/Classes/NMBStringer.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1173,7 +1194,7 @@

    Declaration

    diff --git a/docs/Classes/NMBWait.html b/docs/Classes/NMBWait.html index 21de8b15b..706183bd3 100644 --- a/docs/Classes/NMBWait.html +++ b/docs/Classes/NMBWait.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1289,7 +1310,7 @@

    Declaration

    diff --git a/docs/Classes/NimbleShortXCTestHandler.html b/docs/Classes/NimbleShortXCTestHandler.html index 656343241..9735d9b48 100644 --- a/docs/Classes/NimbleShortXCTestHandler.html +++ b/docs/Classes/NimbleShortXCTestHandler.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1172,7 +1193,7 @@

    Declaration

    diff --git a/docs/Classes/NimbleXCTestHandler.html b/docs/Classes/NimbleXCTestHandler.html index 08792cccb..9d40b73b9 100644 --- a/docs/Classes/NimbleXCTestHandler.html +++ b/docs/Classes/NimbleXCTestHandler.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1172,7 +1193,7 @@

    Declaration

    diff --git a/docs/Classes/SourceLocation.html b/docs/Classes/SourceLocation.html index 86c34d140..7e8276b92 100644 --- a/docs/Classes/SourceLocation.html +++ b/docs/Classes/SourceLocation.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1225,7 +1246,7 @@

    Declaration

    diff --git a/docs/Enums.html b/docs/Enums.html index 5f375680c..fda7b3380 100644 --- a/docs/Enums.html +++ b/docs/Enums.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1201,7 +1222,7 @@

    Declaration

    -

    Undocumented

    +

    The Expectation style intended for comparison to a MatcherStatus.

    See more
    @@ -1219,9 +1240,9 @@

    Declaration

  • @@ -1229,15 +1250,15 @@

    Declaration

    -

    PredicateStatus is a trinary that indicates if a Predicate matches a given value or not

    +

    MatcherStatus is a trinary that indicates if a Matcher matches a given value or not

    - See more + See more

    Declaration

    Swift

    -
    public enum PredicateStatus
    +
    public enum MatcherStatus
    @@ -1308,7 +1329,7 @@

    Declaration

  • diff --git a/docs/Enums/ExpectationMessage.html b/docs/Enums/ExpectationMessage.html index b1b074cf4..5108733ec 100644 --- a/docs/Enums/ExpectationMessage.html +++ b/docs/Enums/ExpectationMessage.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1554,7 +1575,7 @@

    Declaration

    diff --git a/docs/Enums/ExpectationStatus.html b/docs/Enums/ExpectationStatus.html index 8450c1bdf..87b5cdf19 100644 --- a/docs/Enums/ExpectationStatus.html +++ b/docs/Enums/ExpectationStatus.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1152,7 +1173,7 @@

    ExpectationStatus

    -

    No predicates have been performed.

    +

    No matchers have been performed.

    @@ -1179,7 +1200,7 @@

    Declaration

    -

    All predicates have passed.

    +

    All matchers have passed.

    @@ -1206,7 +1227,7 @@

    Declaration

    -

    All predicates have failed.

    +

    All matchers have failed.

    @@ -1233,7 +1254,7 @@

    Declaration

    -

    Multiple predicates have been peformed, with at least one passing and one failing.

    +

    Multiple matchers have been peformed, with at least one passing and one failing.

    @@ -1252,7 +1273,7 @@

    Declaration

    diff --git a/docs/Enums/ExpectationStyle.html b/docs/Enums/ExpectationStyle.html index 04355abb8..743d134e9 100644 --- a/docs/Enums/ExpectationStyle.html +++ b/docs/Enums/ExpectationStyle.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1133,7 +1154,7 @@

    ExpectationStyle

    -

    Undocumented

    +

    The Expectation style intended for comparison to a MatcherStatus.

    @@ -1198,7 +1219,7 @@

    Declaration

    diff --git a/docs/Enums/PredicateStatus.html b/docs/Enums/MatcherStatus.html similarity index 82% rename from docs/Enums/PredicateStatus.html rename to docs/Enums/MatcherStatus.html index fe7bf4980..86baf5664 100644 --- a/docs/Enums/PredicateStatus.html +++ b/docs/Enums/MatcherStatus.html @@ -1,7 +1,7 @@ - PredicateStatus Enumeration Reference + MatcherStatus Enumeration Reference @@ -13,11 +13,11 @@ - - + +
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -30,7 +30,7 @@
    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1125,15 +1146,15 @@
    -

    PredicateStatus

    +

    MatcherStatus

    -
    public enum PredicateStatus
    +
    public enum MatcherStatus
    -

    PredicateStatus is a trinary that indicates if a Predicate matches a given value or not

    +

    MatcherStatus is a trinary that indicates if a Matcher matches a given value or not

    @@ -1142,9 +1163,9 @@

    PredicateStatus

  • - + - matches + matches
    @@ -1152,7 +1173,7 @@

    PredicateStatus

    -

    Matches indicates if the predicate / matcher passes with the given value

    +

    Matches indicates if the matcher / matcher passes with the given value

    For example, equals(1) returns .matches for expect(1).to(equal(1)).

    @@ -1171,9 +1192,9 @@

    Declaration

  • @@ -1181,7 +1202,7 @@

    Declaration

    -

    DoesNotMatch indicates if the predicate / matcher fails with the given value, but would +

    DoesNotMatch indicates if the matcher fails with the given value, but would succeed if the expectation was inverted.

    For example, equals(2) returns .doesNotMatch for expect(1).toNot(equal(2)).

    @@ -1201,9 +1222,9 @@

    Declaration

  • - + - fail + fail
    @@ -1211,12 +1232,12 @@

    Declaration

    -

    Fail indicates the predicate will never satisfy with the given value in any case. +

    Fail indicates the matcher will never satisfy with the given value in any case. A perfect example is that most matchers fail whenever given nil.

    Using equal(1) fails both expect(nil).to(equal(1)) and expect(nil).toNot(equal(1)). -Note: Predicate’s requireNonNil property will also provide this feature mostly for free. - Your predicate will still need to guard against nils, but error messaging will be +Note: Matcher’s requireNonNil property will also provide this feature mostly for free. + Your matcher will still need to guard against nils, but error messaging will be handled for you.

    @@ -1234,9 +1255,9 @@

    Declaration

  • @@ -1261,9 +1282,9 @@

    Declaration

  • @@ -1278,7 +1299,7 @@

    Declaration

    Declaration

    Swift

    -
    public func toObjectiveC() -> NMBPredicateStatus
    +
    public func toObjectiveC() -> NMBMatcherStatus
    @@ -1290,7 +1311,7 @@

    Declaration

  • diff --git a/docs/Enums/NimbleTimeInterval.html b/docs/Enums/NimbleTimeInterval.html index 59230fa61..badc3069f 100644 --- a/docs/Enums/NimbleTimeInterval.html +++ b/docs/Enums/NimbleTimeInterval.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1386,7 +1407,7 @@

    Declaration

    diff --git a/docs/Enums/ToSucceedResult.html b/docs/Enums/ToSucceedResult.html index 8739551ef..c50ffd3e8 100644 --- a/docs/Enums/ToSucceedResult.html +++ b/docs/Enums/ToSucceedResult.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1200,7 +1221,7 @@

    Declaration

    diff --git a/docs/Extensions.html b/docs/Extensions.html index 633e812c7..3436a6bb3 100644 --- a/docs/Extensions.html +++ b/docs/Extensions.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1900,7 +1921,7 @@

    Declaration

    diff --git a/docs/Extensions/AnySequence.html b/docs/Extensions/AnySequence.html index e0a494d50..255c9c305 100644 --- a/docs/Extensions/AnySequence.html +++ b/docs/Extensions/AnySequence.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1170,7 +1191,7 @@

    Declaration

    diff --git a/docs/Extensions/Array.html b/docs/Extensions/Array.html index 232bb3929..261509ed6 100644 --- a/docs/Extensions/Array.html +++ b/docs/Extensions/Array.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1170,7 +1191,7 @@

    Declaration

    diff --git a/docs/Extensions/Data.html b/docs/Extensions/Data.html index 7ba3dd13d..940f986fd 100644 --- a/docs/Extensions/Data.html +++ b/docs/Extensions/Data.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1170,7 +1191,7 @@

    Declaration

    diff --git a/docs/Extensions/Date.html b/docs/Extensions/Date.html index b0515072b..7ebc9db5a 100644 --- a/docs/Extensions/Date.html +++ b/docs/Extensions/Date.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1226,7 +1247,7 @@

    Declaration

    diff --git a/docs/Extensions/Double.html b/docs/Extensions/Double.html index 8c3babc11..e7ee5d0a2 100644 --- a/docs/Extensions/Double.html +++ b/docs/Extensions/Double.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1197,7 +1218,7 @@

    Declaration

    diff --git a/docs/Extensions/Float.html b/docs/Extensions/Float.html index 0ddf494c1..5d5bb7354 100644 --- a/docs/Extensions/Float.html +++ b/docs/Extensions/Float.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1197,7 +1218,7 @@

    Declaration

    diff --git a/docs/Extensions/Int.html b/docs/Extensions/Int.html index f575292a3..59abaa093 100644 --- a/docs/Extensions/Int.html +++ b/docs/Extensions/Int.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1169,7 +1190,7 @@

    Declaration

    diff --git a/docs/Extensions/Int16.html b/docs/Extensions/Int16.html index 4ac664801..9e8150f2f 100644 --- a/docs/Extensions/Int16.html +++ b/docs/Extensions/Int16.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1169,7 +1190,7 @@

    Declaration

    diff --git a/docs/Extensions/Int32.html b/docs/Extensions/Int32.html index 000cd90f3..550798acd 100644 --- a/docs/Extensions/Int32.html +++ b/docs/Extensions/Int32.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1169,7 +1190,7 @@

    Declaration

    diff --git a/docs/Extensions/Int64.html b/docs/Extensions/Int64.html index 3d8459b35..9c378026b 100644 --- a/docs/Extensions/Int64.html +++ b/docs/Extensions/Int64.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1169,7 +1190,7 @@

    Declaration

    diff --git a/docs/Extensions/Int8.html b/docs/Extensions/Int8.html index 06ba7f2f6..1d63531f2 100644 --- a/docs/Extensions/Int8.html +++ b/docs/Extensions/Int8.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1169,7 +1190,7 @@

    Declaration

    diff --git a/docs/Extensions/NSArray.html b/docs/Extensions/NSArray.html index a2d4f73c2..e5e7a7f0b 100644 --- a/docs/Extensions/NSArray.html +++ b/docs/Extensions/NSArray.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1172,7 +1193,7 @@

    Declaration

    diff --git a/docs/Extensions/NSDate.html b/docs/Extensions/NSDate.html index 2773ac6de..a235d42f5 100644 --- a/docs/Extensions/NSDate.html +++ b/docs/Extensions/NSDate.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1198,7 +1219,7 @@

    Declaration

    diff --git a/docs/Extensions/NSException.html b/docs/Extensions/NSException.html index 99711f423..57b60f000 100644 --- a/docs/Extensions/NSException.html +++ b/docs/Extensions/NSException.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1170,7 +1191,7 @@

    Declaration

    diff --git a/docs/Extensions/NSIndexSet.html b/docs/Extensions/NSIndexSet.html index 18a6d2a68..1f1dd3d7c 100644 --- a/docs/Extensions/NSIndexSet.html +++ b/docs/Extensions/NSIndexSet.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1171,7 +1192,7 @@

    Declaration

    diff --git a/docs/Extensions/NSNumber.html b/docs/Extensions/NSNumber.html index ef98bab7c..b6b834722 100644 --- a/docs/Extensions/NSNumber.html +++ b/docs/Extensions/NSNumber.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1199,7 +1220,7 @@

    Declaration

    diff --git a/docs/Extensions/NSString.html b/docs/Extensions/NSString.html index d5aee3472..114f9b768 100644 --- a/docs/Extensions/NSString.html +++ b/docs/Extensions/NSString.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1170,7 +1191,7 @@

    Declaration

    diff --git a/docs/Extensions/String.html b/docs/Extensions/String.html index 622cf0b71..9b344517f 100644 --- a/docs/Extensions/String.html +++ b/docs/Extensions/String.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1170,7 +1191,7 @@

    Declaration

    diff --git a/docs/Extensions/TimeInterval.html b/docs/Extensions/TimeInterval.html index 65b2c3252..36cf3116b 100644 --- a/docs/Extensions/TimeInterval.html +++ b/docs/Extensions/TimeInterval.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1170,7 +1191,7 @@

    Declaration

    diff --git a/docs/Extensions/UInt.html b/docs/Extensions/UInt.html index f22aee48d..3b5d9ce4a 100644 --- a/docs/Extensions/UInt.html +++ b/docs/Extensions/UInt.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1169,7 +1190,7 @@

    Declaration

    diff --git a/docs/Extensions/UInt16.html b/docs/Extensions/UInt16.html index fc1bfe839..83b6dcc0e 100644 --- a/docs/Extensions/UInt16.html +++ b/docs/Extensions/UInt16.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1169,7 +1190,7 @@

    Declaration

    diff --git a/docs/Extensions/UInt32.html b/docs/Extensions/UInt32.html index f2617ffcd..91c45e70f 100644 --- a/docs/Extensions/UInt32.html +++ b/docs/Extensions/UInt32.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1169,7 +1190,7 @@

    Declaration

    diff --git a/docs/Extensions/UInt64.html b/docs/Extensions/UInt64.html index 455a4866b..12246a37d 100644 --- a/docs/Extensions/UInt64.html +++ b/docs/Extensions/UInt64.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1169,7 +1190,7 @@

    Declaration

    diff --git a/docs/Extensions/UInt8.html b/docs/Extensions/UInt8.html index af7d3dbbb..5df8842cf 100644 --- a/docs/Extensions/UInt8.html +++ b/docs/Extensions/UInt8.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1169,7 +1190,7 @@

    Declaration

    diff --git a/docs/Functions.html b/docs/Functions.html index 044bd641d..5ce0b60a6 100644 --- a/docs/Functions.html +++ b/docs/Functions.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -2155,9 +2176,9 @@

    Declaration

  • @@ -2174,7 +2195,7 @@

    Declaration

    Swift

    public func allPass<S: Sequence>(
         _ passFunc: @escaping (S.Element) throws -> Bool
    -) -> Predicate<S>
    +) -> Matcher<S>
  • @@ -2184,9 +2205,9 @@

    Declaration

  • @@ -2204,7 +2225,7 @@

    Declaration

    public func allPass<S: Sequence>(
         _ passName: String,
         _ passFunc: @escaping (S.Element) throws -> Bool
    -) -> Predicate<S>
    +) -> Matcher<S>
  • @@ -2214,9 +2235,9 @@

    Declaration

  • @@ -2231,7 +2252,7 @@

    Declaration

    Declaration

    Swift

    -
    public func allPass<S>(_ elementPredicate: Predicate<S.Element>) -> Predicate<S> where S : Sequence
    +
    public func allPass<S>(_ elementMatcher: Matcher<S.Element>) -> Matcher<S> where S : Sequence
    @@ -2241,9 +2262,9 @@

    Declaration

  • @@ -2260,7 +2281,7 @@

    Declaration

    Swift

    public func allPass<S: Sequence>(
         _ passFunc: @escaping (S.Element) async throws -> Bool
    -) -> AsyncPredicate<S>
    +) -> AsyncMatcher<S>
  • @@ -2270,9 +2291,9 @@

    Declaration

  • @@ -2290,7 +2311,7 @@

    Declaration

    public func allPass<S: Sequence>(
         _ passName: String,
         _ passFunc: @escaping (S.Element) async throws -> Bool
    -) -> AsyncPredicate<S>
    +) -> AsyncMatcher<S>
  • @@ -2300,9 +2321,9 @@

    Declaration

  • @@ -2317,7 +2338,7 @@

    Declaration

    Declaration

    Swift

    -
    public func allPass<S>(_ elementPredicate: AsyncPredicate<S.Element>) -> AsyncPredicate<S> where S : Sequence
    +
    public func allPass<S>(_ elementMatcher: AsyncMatcher<S.Element>) -> AsyncMatcher<S> where S : Sequence
    @@ -2327,9 +2348,9 @@

    Declaration

  • @@ -2344,7 +2365,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beAKindOf<T>(_ expectedType: T.Type) -> Predicate<Any>
    +
    public func beAKindOf<T>(_ expectedType: T.Type) -> Matcher<Any>
    @@ -2354,9 +2375,9 @@

    Declaration

  • @@ -2372,7 +2393,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beAKindOf(_ expectedClass: AnyClass) -> Predicate<NSObject>
    +
    public func beAKindOf(_ expectedClass: AnyClass) -> Matcher<NSObject>
    @@ -2382,9 +2403,9 @@

    Declaration

  • @@ -2399,7 +2420,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beAnInstanceOf<T>(_ expectedType: T.Type) -> Predicate<Any>
    +
    public func beAnInstanceOf<T>(_ expectedType: T.Type) -> Matcher<Any>
    @@ -2409,9 +2430,9 @@

    Declaration

  • @@ -2427,7 +2448,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beAnInstanceOf(_ expectedClass: AnyClass) -> Predicate<NSObject>
    +
    public func beAnInstanceOf(_ expectedClass: AnyClass) -> Matcher<NSObject>
    @@ -2464,9 +2485,9 @@

    Declaration

  • @@ -2487,7 +2508,7 @@

    Declaration

    public func beCloseTo<Value: FloatingPoint>(
         _ expectedValue: Value,
         within delta: Value = defaultDelta()
    -) -> Predicate<Value>
    +) -> Matcher<Value>
  • @@ -2497,9 +2518,9 @@

    Declaration

  • @@ -2520,7 +2541,7 @@

    Declaration

    public func beCloseTo<Value: NMBDoubleConvertible>(
         _ expectedValue: Value,
         within delta: Double = DefaultDelta
    -) -> Predicate<Value>
    +) -> Matcher<Value>
  • @@ -2530,9 +2551,9 @@

    Declaration

  • @@ -2550,7 +2571,7 @@

    Declaration

    public func beCloseTo<Value: FloatingPoint, Values: Collection>(
         _ expectedValues: Values,
         within delta: Value = defaultDelta()
    -) -> Predicate<Values> where Values.Element == Value
    +) -> Matcher<Values> where Values.Element == Value
  • @@ -3026,9 +3047,9 @@

    Declaration

  • @@ -3044,7 +3065,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beEmpty<S>() -> Predicate<S> where S : Sequence
    +
    public func beEmpty<S>() -> Matcher<S> where S : Sequence
    @@ -3054,9 +3075,9 @@

    Declaration

  • @@ -3072,7 +3093,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beEmpty<S>() -> Predicate<S> where S : SetAlgebra
    +
    public func beEmpty<S>() -> Matcher<S> where S : SetAlgebra
    @@ -3082,9 +3103,9 @@

    Declaration

  • @@ -3100,7 +3121,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beEmpty<S>() -> Predicate<S> where S : Sequence, S : SetAlgebra
    +
    public func beEmpty<S>() -> Matcher<S> where S : Sequence, S : SetAlgebra
    @@ -3110,9 +3131,9 @@

    Declaration

  • @@ -3128,7 +3149,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beEmpty() -> Predicate<String>
    +
    public func beEmpty() -> Matcher<String>
    @@ -3138,9 +3159,9 @@

    Declaration

  • @@ -3156,7 +3177,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beEmpty() -> Predicate<NSString>
    +
    public func beEmpty() -> Matcher<NSString>
    @@ -3166,9 +3187,9 @@

    Declaration

  • @@ -3184,7 +3205,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beEmpty() -> Predicate<NSDictionary>
    +
    public func beEmpty() -> Matcher<NSDictionary>
    @@ -3194,9 +3215,9 @@

    Declaration

  • @@ -3212,7 +3233,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beEmpty() -> Predicate<NSArray>
    +
    public func beEmpty() -> Matcher<NSArray>
    @@ -3222,9 +3243,9 @@

    Declaration

  • @@ -3240,7 +3261,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beEmpty() -> Predicate<NMBCollection>
    +
    public func beEmpty() -> Matcher<NMBCollection>
    @@ -3250,9 +3271,9 @@

    Declaration

  • @@ -3267,7 +3288,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beGreaterThan<T>(_ expectedValue: T?) -> Predicate<T> where T : Comparable
    +
    public func beGreaterThan<T>(_ expectedValue: T?) -> Matcher<T> where T : Comparable
    @@ -3334,9 +3355,9 @@

    Declaration

  • @@ -3351,7 +3372,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beGreaterThan<T>(_ expectedValue: T?) -> Predicate<T> where T : NMBComparable
    +
    public func beGreaterThan<T>(_ expectedValue: T?) -> Matcher<T> where T : NMBComparable
    @@ -3418,9 +3439,9 @@

    Declaration

  • @@ -3436,7 +3457,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beGreaterThanOrEqualTo<T>(_ expectedValue: T?) -> Predicate<T> where T : Comparable
    +
    public func beGreaterThanOrEqualTo<T>(_ expectedValue: T?) -> Matcher<T> where T : Comparable
    @@ -3503,9 +3524,9 @@

    Declaration

  • @@ -3521,7 +3542,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beGreaterThanOrEqualTo<T>(_ expectedValue: T?) -> Predicate<T> where T : NMBComparable
    +
    public func beGreaterThanOrEqualTo<T>(_ expectedValue: T?) -> Matcher<T> where T : NMBComparable
    @@ -3588,9 +3609,9 @@

    Declaration

  • @@ -3606,7 +3627,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beIdenticalTo(_ expected: AnyObject?) -> Predicate<AnyObject>
    +
    public func beIdenticalTo(_ expected: AnyObject?) -> Matcher<AnyObject>
    @@ -3730,9 +3751,9 @@

    Declaration

  • - + - be(_:) + be(_:)
    @@ -3750,7 +3771,7 @@

    Declaration

    Declaration

    Swift

    -
    public func be(_ expected: AnyObject?) -> Predicate<AnyObject>
    +
    public func be(_ expected: AnyObject?) -> Matcher<AnyObject>
    @@ -3760,9 +3781,9 @@

    Declaration

  • @@ -3777,7 +3798,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beLessThan<T>(_ expectedValue: T?) -> Predicate<T> where T : Comparable
    +
    public func beLessThan<T>(_ expectedValue: T?) -> Matcher<T> where T : Comparable
    @@ -3844,9 +3865,9 @@

    Declaration

  • @@ -3861,7 +3882,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beLessThan<T>(_ expectedValue: T?) -> Predicate<T> where T : NMBComparable
    +
    public func beLessThan<T>(_ expectedValue: T?) -> Matcher<T> where T : NMBComparable
    @@ -3928,9 +3949,9 @@

    Declaration

  • @@ -3946,7 +3967,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beLessThanOrEqualTo<T>(_ expectedValue: T?) -> Predicate<T> where T : Comparable
    +
    public func beLessThanOrEqualTo<T>(_ expectedValue: T?) -> Matcher<T> where T : Comparable
    @@ -4013,9 +4034,9 @@

    Declaration

  • @@ -4031,7 +4052,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beLessThanOrEqualTo<T>(_ expectedValue: T?) -> Predicate<T> where T : NMBComparable
    +
    public func beLessThanOrEqualTo<T>(_ expectedValue: T?) -> Matcher<T> where T : NMBComparable
    @@ -4111,9 +4132,9 @@

    beTrue() / beFalse()
  • - + - beTrue() + beTrue()
    @@ -4129,7 +4150,7 @@

    beTrue() / beFalse()

    Declaration

    Swift

    -
    public func beTrue() -> Predicate<Bool>
    +
    public func beTrue() -> Matcher<Bool>
    @@ -4139,9 +4160,9 @@

    Declaration

  • @@ -4157,7 +4178,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beFalse() -> Predicate<Bool>
    +
    public func beFalse() -> Matcher<Bool>
    @@ -4180,9 +4201,9 @@

    beTruthy() / beFalsy()
  • @@ -4197,7 +4218,7 @@

    beTruthy() / beFalsy()

    Declaration

    Swift

    -
    public func beTruthy<T>() -> Predicate<T> where T : Equatable, T : ExpressibleByBooleanLiteral
    +
    public func beTruthy<T>() -> Matcher<T> where T : Equatable, T : ExpressibleByBooleanLiteral
    @@ -4207,9 +4228,9 @@

    Declaration

  • @@ -4225,7 +4246,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beFalsy<T>() -> Predicate<T> where T : Equatable, T : ExpressibleByBooleanLiteral
    +
    public func beFalsy<T>() -> Matcher<T> where T : Equatable, T : ExpressibleByBooleanLiteral
    @@ -4235,9 +4256,9 @@

    Declaration

  • - + - beNil() + beNil()
    @@ -4252,7 +4273,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beNil<T>() -> Predicate<T>
    +
    public func beNil<T>() -> Matcher<T>
    @@ -4262,9 +4283,9 @@

    Declaration

  • @@ -4284,7 +4305,7 @@

    Declaration

    Swift

    public func beSuccess<Success, Failure>(
         test: ((Success) -> Void)? = nil
    -) -> Predicate<Result<Success, Failure>>
    +) -> Matcher<Result<Success, Failure>>
  • @@ -4294,9 +4315,9 @@

    Declaration

  • @@ -4316,7 +4337,7 @@

    Declaration

    Swift

    public func beFailure<Success, Failure>(
         test: ((Failure) -> Void)? = nil
    -) -> Predicate<Result<Success, Failure>>
    +) -> Matcher<Result<Success, Failure>>
  • @@ -4326,9 +4347,9 @@

    Declaration

  • - + - beVoid() + beVoid()
    @@ -4343,7 +4364,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beVoid() -> Predicate<()>
    +
    public func beVoid() -> Matcher<()>
    @@ -4467,9 +4488,9 @@

    Declaration

  • @@ -4484,7 +4505,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beWithin<T>(_ range: Range<T>) -> Predicate<T> where T : Comparable
    +
    public func beWithin<T>(_ range: Range<T>) -> Matcher<T> where T : Comparable
    @@ -4494,9 +4515,9 @@

    Declaration

  • @@ -4511,7 +4532,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beWithin<T>(_ range: ClosedRange<T>) -> Predicate<T> where T : Comparable
    +
    public func beWithin<T>(_ range: ClosedRange<T>) -> Matcher<T> where T : Comparable
    @@ -4521,9 +4542,9 @@

    Declaration

  • @@ -4539,7 +4560,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beginWith<S>(_ startingElement: S.Element) -> Predicate<S> where S : Sequence, S.Element : Equatable
    +
    public func beginWith<S>(_ startingElement: S.Element) -> Matcher<S> where S : Sequence, S.Element : Equatable
    @@ -4549,9 +4570,9 @@

    Declaration

  • @@ -4567,7 +4588,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beginWith(_ startingElement: Any) -> Predicate<NMBOrderedCollection>
    +
    public func beginWith(_ startingElement: Any) -> Matcher<NMBOrderedCollection>
    @@ -4577,9 +4598,9 @@

    Declaration

  • @@ -4595,7 +4616,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beginWith(_ startingSubstring: String) -> Predicate<String>
    +
    public func beginWith(_ startingSubstring: String) -> Matcher<String>
    @@ -4605,9 +4626,9 @@

    Declaration

  • @@ -4625,7 +4646,7 @@

    Declaration

    Swift

    public func beginWith<Seq1: Sequence, Seq2: Sequence>(prefix expectedPrefix: Seq2?)
    -    -> Predicate<Seq1> where Seq1.Element: Equatable, Seq1.Element == Seq2.Element
    + -> Matcher<Seq1> where Seq1.Element: Equatable, Seq1.Element == Seq2.Element
    @@ -4635,9 +4656,9 @@

    Declaration

  • @@ -4645,7 +4666,7 @@

    Declaration

    -

    A Nimble matcher that succeeds when the expected sequence is the prefix of the actual sequence, using the given predicate as the equivalence test.

    +

    A Nimble matcher that succeeds when the expected sequence is the prefix of the actual sequence, using the given matcher as the equivalence test.

    This is a matcher abstraction for https://developer.apple.com/documentation/swift/sequence/2996828-starts

    @@ -4657,7 +4678,7 @@

    Declaration

    public func beginWith<Seq1: Sequence, Seq2: Sequence>(
         prefix expectedPrefix: Seq2?,
         by areEquivalent: @escaping (Seq1.Element, Seq2.Element) -> Bool
    -) -> Predicate<Seq1>
    +) -> Matcher<Seq1>
    @@ -4667,9 +4688,9 @@

    Declaration

  • @@ -4684,7 +4705,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain<S>(_ items: S.Element...) -> Predicate<S> where S : Sequence, S.Element : Equatable
    +
    public func contain<S>(_ items: S.Element...) -> Matcher<S> where S : Sequence, S.Element : Equatable
    @@ -4694,9 +4715,9 @@

    Declaration

  • @@ -4711,7 +4732,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain<S>(_ items: [S.Element]) -> Predicate<S> where S : Sequence, S.Element : Equatable
    +
    public func contain<S>(_ items: [S.Element]) -> Matcher<S> where S : Sequence, S.Element : Equatable
    @@ -4721,9 +4742,9 @@

    Declaration

  • @@ -4738,7 +4759,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain<S>(_ items: S.Element...) -> Predicate<S> where S : SetAlgebra, S.Element : Equatable
    +
    public func contain<S>(_ items: S.Element...) -> Matcher<S> where S : SetAlgebra, S.Element : Equatable
    @@ -4748,9 +4769,9 @@

    Declaration

  • @@ -4765,7 +4786,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain<S>(_ items: [S.Element]) -> Predicate<S> where S : SetAlgebra, S.Element : Equatable
    +
    public func contain<S>(_ items: [S.Element]) -> Matcher<S> where S : SetAlgebra, S.Element : Equatable
    @@ -4775,9 +4796,9 @@

    Declaration

  • @@ -4792,7 +4813,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain<S>(_ items: S.Element...) -> Predicate<S> where S : Sequence, S : SetAlgebra, S.Element : Equatable
    +
    public func contain<S>(_ items: S.Element...) -> Matcher<S> where S : Sequence, S : SetAlgebra, S.Element : Equatable
    @@ -4802,9 +4823,9 @@

    Declaration

  • @@ -4819,7 +4840,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain<S>(_ items: [S.Element]) -> Predicate<S> where S : Sequence, S : SetAlgebra, S.Element : Equatable
    +
    public func contain<S>(_ items: [S.Element]) -> Matcher<S> where S : Sequence, S : SetAlgebra, S.Element : Equatable
    @@ -4829,9 +4850,9 @@

    Declaration

  • @@ -4846,7 +4867,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain(_ substrings: String...) -> Predicate<String>
    +
    public func contain(_ substrings: String...) -> Matcher<String>
    @@ -4856,9 +4877,9 @@

    Declaration

  • @@ -4873,7 +4894,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain(_ substrings: [String]) -> Predicate<String>
    +
    public func contain(_ substrings: [String]) -> Matcher<String>
    @@ -4883,9 +4904,9 @@

    Declaration

  • @@ -4900,7 +4921,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain(_ substrings: NSString...) -> Predicate<NSString>
    +
    public func contain(_ substrings: NSString...) -> Matcher<NSString>
    @@ -4910,9 +4931,9 @@

    Declaration

  • @@ -4927,7 +4948,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain(_ substrings: [NSString]) -> Predicate<NSString>
    +
    public func contain(_ substrings: [NSString]) -> Matcher<NSString>
    @@ -4937,9 +4958,9 @@

    Declaration

  • @@ -4954,7 +4975,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain(_ items: Any?...) -> Predicate<NMBContainer>
    +
    public func contain(_ items: Any?...) -> Matcher<NMBContainer>
    @@ -4964,9 +4985,9 @@

    Declaration

  • @@ -4981,7 +5002,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain(_ items: [Any?]) -> Predicate<NMBContainer>
    +
    public func contain(_ items: [Any?]) -> Matcher<NMBContainer>
    @@ -4991,9 +5012,9 @@

    Declaration

  • @@ -5009,8 +5030,8 @@

    Declaration

    Swift

    public func containElementSatisfying<S: Sequence>(
    -    _ predicate: @escaping ((S.Element) -> Bool), _ predicateDescription: String = ""
    -) -> Predicate<S>
    + _ matcher: @escaping ((S.Element) -> Bool), _ matcherDescription: String = "" +) -> Matcher<S>
    @@ -5020,9 +5041,9 @@

    Declaration

  • @@ -5038,8 +5059,8 @@

    Declaration

    Swift

    public func containElementSatisfying<S: Sequence>(
    -    _ predicate: @escaping ((S.Element) async -> Bool), _ predicateDescription: String = ""
    -) -> AsyncPredicate<S>
    + _ matcher: @escaping ((S.Element) async -> Bool), _ matcherDescription: String = "" +) -> AsyncMatcher<S>
    @@ -5049,9 +5070,9 @@

    Declaration

  • @@ -5071,7 +5092,7 @@

    Declaration

    Swift

    public func elementsEqual<Seq1: Sequence, Seq2: Sequence>(
         _ expectedValue: Seq2?
    -) -> Predicate<Seq1> where Seq1.Element: Equatable, Seq1.Element == Seq2.Element
    +) -> Matcher<Seq1> where Seq1.Element: Equatable, Seq1.Element == Seq2.Element
  • @@ -5081,9 +5102,9 @@

    Declaration

  • @@ -5092,7 +5113,7 @@

    Declaration

    A Nimble matcher that succeeds when the actual sequence and the exepected sequence contain equivalent elements in -the same order, using the given predicate as the equivalence test.

    +the same order, using the given matcher as the equivalence test.

    This is a matcher abstraction for https://developer.apple.com/documentation/swift/sequence/2949668-elementsequal

    @@ -5104,7 +5125,7 @@

    Declaration

    public func elementsEqual<Seq1: Sequence, Seq2: Sequence>(
         _ expectedValue: Seq2?,
         by areEquivalent: @escaping (Seq1.Element, Seq2.Element) -> Bool
    -) -> Predicate<Seq1>
    +) -> Matcher<Seq1>
    @@ -5114,9 +5135,9 @@

    Declaration

  • @@ -5132,7 +5153,7 @@

    Declaration

    Declaration

    Swift

    -
    public func endWith<S>(_ endingElement: S.Element) -> Predicate<S> where S : Sequence, S.Element : Equatable
    +
    public func endWith<S>(_ endingElement: S.Element) -> Matcher<S> where S : Sequence, S.Element : Equatable
    @@ -5142,9 +5163,9 @@

    Declaration

  • @@ -5160,7 +5181,7 @@

    Declaration

    Declaration

    Swift

    -
    public func endWith(_ endingElement: Any) -> Predicate<NMBOrderedCollection>
    +
    public func endWith(_ endingElement: Any) -> Matcher<NMBOrderedCollection>
    @@ -5170,9 +5191,9 @@

    Declaration

  • @@ -5189,7 +5210,7 @@

    Declaration

    Declaration

    Swift

    -
    public func endWith(_ endingSubstring: String) -> Predicate<String>
    +
    public func endWith(_ endingSubstring: String) -> Matcher<String>
    @@ -5212,9 +5233,9 @@

    Tuple2
  • @@ -5232,7 +5253,7 @@

    Declaration

    Swift

    public func equal<T1: Equatable, T2: Equatable>(
         _ expectedValue: (T1, T2)?
    -) -> Predicate<(T1, T2)>
    +) -> Matcher<(T1, T2)>
  • @@ -5381,9 +5402,9 @@

    Tuple3
  • @@ -5401,7 +5422,7 @@

    Declaration

    Swift

    public func equal<T1: Equatable, T2: Equatable, T3: Equatable>(
         _ expectedValue: (T1, T2, T3)?
    -) -> Predicate<(T1, T2, T3)>
    +) -> Matcher<(T1, T2, T3)>
  • @@ -5550,9 +5571,9 @@

    Tuple4
  • @@ -5570,7 +5591,7 @@

    Declaration

    Swift

    public func equal<T1: Equatable, T2: Equatable, T3: Equatable, T4: Equatable>(
         _ expectedValue: (T1, T2, T3, T4)?
    -) -> Predicate<(T1, T2, T3, T4)>
    +) -> Matcher<(T1, T2, T3, T4)>
  • @@ -5719,9 +5740,9 @@

    Tuple5
  • @@ -5739,7 +5760,7 @@

    Declaration

    Swift

    public func equal<T1: Equatable, T2: Equatable, T3: Equatable, T4: Equatable, T5: Equatable>(
         _ expectedValue: (T1, T2, T3, T4, T5)?
    -) -> Predicate<(T1, T2, T3, T4, T5)>
    +) -> Matcher<(T1, T2, T3, T4, T5)>
  • @@ -5888,9 +5909,9 @@

    Tuple6
  • @@ -5908,7 +5929,7 @@

    Declaration

    Swift

    public func equal<T1: Equatable, T2: Equatable, T3: Equatable, T4: Equatable, T5: Equatable, T6: Equatable>(
         _ expectedValue: (T1, T2, T3, T4, T5, T6)?
    -) -> Predicate<(T1, T2, T3, T4, T5, T6)>
    +) -> Matcher<(T1, T2, T3, T4, T5, T6)>
  • @@ -6057,9 +6078,9 @@

    Tuple2 Array
  • @@ -6077,7 +6098,7 @@

    Declaration

    Swift

    public func equal<T1: Equatable, T2: Equatable>(
         _ expectedValue: [(T1, T2)]?
    -) -> Predicate<[(T1, T2)]>
    +) -> Matcher<[(T1, T2)]>
  • @@ -6226,9 +6247,9 @@

    Tuple3 Array
  • @@ -6246,7 +6267,7 @@

    Declaration

    Swift

    public func equal<T1: Equatable, T2: Equatable, T3: Equatable>(
         _ expectedValue: [(T1, T2, T3)]?
    -) -> Predicate<[(T1, T2, T3)]>
    +) -> Matcher<[(T1, T2, T3)]>
  • @@ -6395,9 +6416,9 @@

    Tuple4 Array
  • @@ -6415,7 +6436,7 @@

    Declaration

    Swift

    public func equal<T1: Equatable, T2: Equatable, T3: Equatable, T4: Equatable>(
         _ expectedValue: [(T1, T2, T3, T4)]?
    -) -> Predicate<[(T1, T2, T3, T4)]>
    +) -> Matcher<[(T1, T2, T3, T4)]>
  • @@ -6564,9 +6585,9 @@

    Tuple5 Array
  • @@ -6584,7 +6605,7 @@

    Declaration

    Swift

    public func equal<T1: Equatable, T2: Equatable, T3: Equatable, T4: Equatable, T5: Equatable>(
         _ expectedValue: [(T1, T2, T3, T4, T5)]?
    -) -> Predicate<[(T1, T2, T3, T4, T5)]>
    +) -> Matcher<[(T1, T2, T3, T4, T5)]>
  • @@ -6733,9 +6754,9 @@

    Tuple6 Array
  • @@ -6753,7 +6774,7 @@

    Declaration

    Swift

    public func equal<T1: Equatable, T2: Equatable, T3: Equatable, T4: Equatable, T5: Equatable, T6: Equatable>(
         _ expectedValue: [(T1, T2, T3, T4, T5, T6)]?
    -) -> Predicate<[(T1, T2, T3, T4, T5, T6)]>
    +) -> Matcher<[(T1, T2, T3, T4, T5, T6)]>
  • @@ -6889,9 +6910,9 @@

    Declaration

  • @@ -6909,7 +6930,7 @@

    Declaration

    Declaration

    Swift

    -
    public func equal<T>(_ expectedValue: T) -> Predicate<T> where T : Equatable
    +
    public func equal<T>(_ expectedValue: T) -> Matcher<T> where T : Equatable
    @@ -6919,9 +6940,9 @@

    Declaration

  • @@ -6936,7 +6957,7 @@

    Declaration

    Declaration

    Swift

    -
    public func equal<T>(_ expectedValue: [T?]) -> Predicate<[T?]> where T : Equatable
    +
    public func equal<T>(_ expectedValue: [T?]) -> Matcher<[T?]> where T : Equatable
    @@ -6946,9 +6967,9 @@

    Declaration

  • @@ -6966,7 +6987,7 @@

    Declaration

    Declaration

    Swift

    -
    public func equal<T>(_ expectedValue: T?) -> Predicate<T> where T : Equatable
    +
    public func equal<T>(_ expectedValue: T?) -> Matcher<T> where T : Equatable
    @@ -6976,9 +6997,9 @@

    Declaration

  • @@ -6993,7 +7014,7 @@

    Declaration

    Declaration

    Swift

    -
    public func equal<T>(_ expectedValue: Set<T>) -> Predicate<Set<T>> where T : Hashable
    +
    public func equal<T>(_ expectedValue: Set<T>) -> Matcher<Set<T>> where T : Hashable
    @@ -7003,9 +7024,9 @@

    Declaration

  • @@ -7020,7 +7041,7 @@

    Declaration

    Declaration

    Swift

    -
    public func equal<T>(_ expectedValue: Set<T>?) -> Predicate<Set<T>> where T : Hashable
    +
    public func equal<T>(_ expectedValue: Set<T>?) -> Matcher<Set<T>> where T : Hashable
    @@ -7030,9 +7051,9 @@

    Declaration

  • @@ -7047,7 +7068,7 @@

    Declaration

    Declaration

    Swift

    -
    public func equal<T>(_ expectedValue: Set<T>) -> Predicate<Set<T>> where T : Comparable, T : Hashable
    +
    public func equal<T>(_ expectedValue: Set<T>) -> Matcher<Set<T>> where T : Comparable, T : Hashable
    @@ -7057,9 +7078,9 @@

    Declaration

  • @@ -7074,7 +7095,7 @@

    Declaration

    Declaration

    Swift

    -
    public func equal<T>(_ expectedValue: Set<T>?) -> Predicate<Set<T>> where T : Comparable, T : Hashable
    +
    public func equal<T>(_ expectedValue: Set<T>?) -> Matcher<Set<T>> where T : Comparable, T : Hashable
    @@ -7084,9 +7105,9 @@

    Declaration

  • @@ -7101,7 +7122,7 @@

    Declaration

    Declaration

    Swift

    -
    public func equal<K, V>(_ expectedValue: [K : V?]) -> Predicate<[K : V]> where K : Hashable, V : Equatable
    +
    public func equal<K, V>(_ expectedValue: [K : V?]) -> Matcher<[K : V]> where K : Hashable, V : Equatable
    @@ -8023,9 +8044,9 @@

    Declaration

  • @@ -8041,7 +8062,7 @@

    Declaration

    Declaration

    Swift

    -
    public func haveCount<T>(_ expectedValue: Int) -> Predicate<T> where T : Collection
    +
    public func haveCount<T>(_ expectedValue: Int) -> Matcher<T> where T : Collection
    @@ -8051,9 +8072,9 @@

    Declaration

  • @@ -8069,7 +8090,7 @@

    Declaration

    Declaration

    Swift

    -
    public func haveCount(_ expectedValue: Int) -> Predicate<NMBCollection>
    +
    public func haveCount(_ expectedValue: Int) -> Matcher<NMBCollection>
    @@ -8079,9 +8100,9 @@

    Declaration

  • @@ -8097,7 +8118,7 @@

    Declaration

    Declaration

    Swift

    -
    public func match(_ expectedValue: String?) -> Predicate<String>
    +
    public func match(_ expectedValue: String?) -> Matcher<String>
    @@ -8107,9 +8128,9 @@

    Declaration

  • @@ -8128,7 +8149,7 @@

    Declaration

    Declaration

    Swift

    -
    public func matchError<T>(_ error: T) -> Predicate<Error> where T : Error
    +
    public func matchError<T>(_ error: T) -> Matcher<Error> where T : Error
    @@ -8138,9 +8159,9 @@

    Declaration

  • @@ -8159,7 +8180,7 @@

    Declaration

    Declaration

    Swift

    -
    public func matchError<T>(_ error: T) -> Predicate<Error> where T : Equatable, T : Error
    +
    public func matchError<T>(_ error: T) -> Matcher<Error> where T : Equatable, T : Error
    @@ -8169,9 +8190,9 @@

    Declaration

  • @@ -8187,7 +8208,7 @@

    Declaration

    Declaration

    Swift

    -
    public func matchError<T>(_ errorType: T.Type) -> Predicate<Error> where T : Error
    +
    public func matchError<T>(_ errorType: T.Type) -> Matcher<Error> where T : Error
    @@ -8197,9 +8218,9 @@

    Declaration

  • @@ -8215,9 +8236,9 @@

    Declaration

    Swift

    public func postNotifications<Out>(
    -    _ predicate: Predicate<[Notification]>,
    +    _ matcher: Matcher<[Notification]>,
         from center: NotificationCenter = .default
    -) -> Predicate<Out>
    +) -> Matcher<Out>
    @@ -8227,9 +8248,9 @@

    Declaration

  • @@ -8245,10 +8266,10 @@

    Declaration

    Swift

    public func postDistributedNotifications<Out>(
    -    _ predicate: Predicate<[Notification]>,
    +    _ matcher: Matcher<[Notification]>,
         from center: DistributedNotificationCenter = .default(),
         names: Set<Notification.Name>
    -) -> Predicate<Out>
    +) -> Matcher<Out>
    @@ -8258,9 +8279,9 @@

    Declaration

  • @@ -8288,7 +8309,7 @@

    Declaration

    reason: String? = nil, userInfo: NSDictionary? = nil, closure: ((NSException) -> Void)? = nil -) -> Predicate<Out> +) -> Matcher<Out>
  • @@ -8298,9 +8319,9 @@

    Declaration

  • @@ -8328,7 +8349,7 @@

    Declaration

    reason: String? = nil, userInfo: NSDictionary? = nil, closure: ((NSException) -> Void)? = nil -) -> Predicate<Out> +) -> Matcher<Out>
  • @@ -8338,9 +8359,9 @@

    Declaration

  • @@ -8356,7 +8377,7 @@

    Declaration

    Declaration

    Swift

    -
    public func satisfyAllOf<T>(_ predicates: Predicate<T>...) -> Predicate<T>
    +
    public func satisfyAllOf<T>(_ matchers: Matcher<T>...) -> Matcher<T>
    @@ -8366,9 +8387,9 @@

    Declaration

  • @@ -8384,7 +8405,7 @@

    Declaration

    Declaration

    Swift

    -
    public func satisfyAllOf<T>(_ predicates: [Predicate<T>]) -> Predicate<T>
    +
    public func satisfyAllOf<T>(_ matchers: [Matcher<T>]) -> Matcher<T>
    @@ -8394,9 +8415,9 @@

    Declaration

  • - + - &&(_:_:) + &&(_:_:)
    @@ -8411,7 +8432,7 @@

    Declaration

    Declaration

    Swift

    -
    public func && <T>(left: Predicate<T>, right: Predicate<T>) -> Predicate<T>
    +
    public func && <T>(left: Matcher<T>, right: Matcher<T>) -> Matcher<T>
    @@ -8421,9 +8442,9 @@

    Declaration

  • @@ -8440,7 +8461,7 @@

    Declaration

    Swift

    @available(macOS 13.0.0, iOS 16.0.0, tvOS 16.0.0, watchOS 9.0.0, *)
    -public func satisfyAllOf<T>(_ predicates: any AsyncablePredicate<T>...) -> AsyncPredicate<T>
    +public func satisfyAllOf<T>(_ matchers: any AsyncableMatcher<T>...) -> AsyncMatcher<T>
    @@ -8450,9 +8471,9 @@

    Declaration

  • @@ -8469,7 +8490,7 @@

    Declaration

    Swift

    @available(macOS 13.0.0, iOS 16.0.0, tvOS 16.0.0, watchOS 9.0.0, *)
    -public func satisfyAllOf<T>(_ predicates: [any AsyncablePredicate<T>]) -> AsyncPredicate<T>
    +public func satisfyAllOf<T>(_ matchers: [any AsyncableMatcher<T>]) -> AsyncMatcher<T>
    @@ -8479,9 +8500,9 @@

    Declaration

  • - + - &&(_:_:) + &&(_:_:)
    @@ -8496,7 +8517,7 @@

    Declaration

    Declaration

    Swift

    -
    public func && <T>(left: some AsyncablePredicate<T>, right: some AsyncablePredicate<T>) -> AsyncPredicate<T>
    +
    public func && <T>(left: some AsyncableMatcher<T>, right: some AsyncableMatcher<T>) -> AsyncMatcher<T>
    @@ -8506,9 +8527,9 @@

    Declaration

  • @@ -8524,7 +8545,7 @@

    Declaration

    Declaration

    Swift

    -
    public func satisfyAnyOf<T>(_ predicates: Predicate<T>...) -> Predicate<T>
    +
    public func satisfyAnyOf<T>(_ matchers: Matcher<T>...) -> Matcher<T>
    @@ -8534,9 +8555,9 @@

    Declaration

  • @@ -8552,7 +8573,7 @@

    Declaration

    Declaration

    Swift

    -
    public func satisfyAnyOf<T>(_ predicates: [Predicate<T>]) -> Predicate<T>
    +
    public func satisfyAnyOf<T>(_ matchers: [Matcher<T>]) -> Matcher<T>
    @@ -8562,9 +8583,9 @@

    Declaration

  • - + - ||(_:_:) + ||(_:_:)
    @@ -8579,7 +8600,7 @@

    Declaration

    Declaration

    Swift

    -
    public func || <T>(left: Predicate<T>, right: Predicate<T>) -> Predicate<T>
    +
    public func || <T>(left: Matcher<T>, right: Matcher<T>) -> Matcher<T>
    @@ -8589,9 +8610,9 @@

    Declaration

  • @@ -8608,7 +8629,7 @@

    Declaration

    Swift

    @available(macOS 13.0.0, iOS 16.0.0, tvOS 16.0.0, watchOS 9.0.0, *)
    -public func satisfyAnyOf<T>(_ predicates: any AsyncablePredicate<T>...) -> AsyncPredicate<T>
    +public func satisfyAnyOf<T>(_ matchers: any AsyncableMatcher<T>...) -> AsyncMatcher<T>
    @@ -8618,9 +8639,9 @@

    Declaration

  • @@ -8637,7 +8658,7 @@

    Declaration

    Swift

    @available(macOS 13.0.0, iOS 16.0.0, tvOS 16.0.0, watchOS 9.0.0, *)
    -public func satisfyAnyOf<T>(_ predicates: [any AsyncablePredicate<T>]) -> AsyncPredicate<T>
    +public func satisfyAnyOf<T>(_ matchers: [any AsyncableMatcher<T>]) -> AsyncMatcher<T>
    @@ -8647,9 +8668,9 @@

    Declaration

  • - + - ||(_:_:) + ||(_:_:)
    @@ -8664,7 +8685,7 @@

    Declaration

    Declaration

    Swift

    -
    public func || <T>(left: some AsyncablePredicate<T>, right: some AsyncablePredicate<T>) -> AsyncPredicate<T>
    +
    public func || <T>(left: some AsyncableMatcher<T>, right: some AsyncableMatcher<T>) -> AsyncMatcher<T>
    @@ -8694,9 +8715,9 @@

    Declaration

  • @@ -8711,7 +8732,7 @@

    Declaration

    Declaration

    Swift

    -
    public func throwAssertion<Out>() -> Predicate<Out>
    +
    public func throwAssertion<Out>() -> Matcher<Out>
    @@ -8721,9 +8742,9 @@

    Declaration

  • @@ -8748,7 +8769,7 @@

    Declaration

    Declaration

    Swift

    -
    public func throwError<Out>() -> Predicate<Out>
    +
    public func throwError<Out>() -> Matcher<Out>
    @@ -8758,9 +8779,9 @@

    Declaration

  • @@ -8785,7 +8806,7 @@

    Declaration

    Declaration

    Swift

    -
    public func throwError<T, Out>(_ error: T, closure: ((Error) -> Void)? = nil) -> Predicate<Out> where T : Error
    +
    public func throwError<T, Out>(_ error: T, closure: ((Error) -> Void)? = nil) -> Matcher<Out> where T : Error
    @@ -8795,9 +8816,9 @@

    Declaration

  • @@ -8822,7 +8843,7 @@

    Declaration

    Declaration

    Swift

    -
    public func throwError<T, Out>(_ error: T, closure: ((T) -> Void)? = nil) -> Predicate<Out> where T : Equatable, T : Error
    +
    public func throwError<T, Out>(_ error: T, closure: ((T) -> Void)? = nil) -> Matcher<Out> where T : Equatable, T : Error
    @@ -8832,9 +8853,9 @@

    Declaration

  • @@ -8862,7 +8883,7 @@

    Declaration

    public func throwError<T: Error, Out>(
         errorType: T.Type,
         closure: ((T) -> Void)? = nil
    -) -> Predicate<Out>
    +) -> Matcher<Out>
  • @@ -8872,9 +8893,9 @@

    Declaration

  • @@ -8895,7 +8916,7 @@

    Declaration

    Declaration

    Swift

    -
    public func throwError<Out>(closure: @escaping ((Error) -> Void)) -> Predicate<Out>
    +
    public func throwError<Out>(closure: @escaping ((Error) -> Void)) -> Matcher<Out>
    @@ -8905,9 +8926,9 @@

    Declaration

  • @@ -8928,7 +8949,7 @@

    Declaration

    Declaration

    Swift

    -
    public func throwError<T, Out>(closure: @escaping ((T) -> Void)) -> Predicate<Out> where T : Error
    +
    public func throwError<T, Out>(closure: @escaping ((T) -> Void)) -> Matcher<Out> where T : Error
    @@ -8938,9 +8959,9 @@

    Declaration

  • @@ -8958,7 +8979,7 @@

    Declaration

    Declaration

    Swift

    -
    public func succeed() -> Predicate<ToSucceedResult>
    +
    public func succeed() -> Matcher<ToSucceedResult>
    @@ -9152,7 +9173,7 @@

    Return Value

    diff --git a/docs/Global Variables.html b/docs/Global Variables.html index 47c48896e..6a35d4a3f 100644 --- a/docs/Global Variables.html +++ b/docs/Global Variables.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage
  • - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1162,9 +1183,9 @@

    Declaration

  • @@ -1172,7 +1193,16 @@

    Declaration

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let nativeThreadState: Int32
    + +
    @@ -1180,9 +1210,9 @@

    Declaration

  • @@ -1190,7 +1220,16 @@

    Declaration

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let nativeThreadStateCount: UInt32
    + +
    @@ -1198,9 +1237,9 @@

    Declaration

  • @@ -1208,7 +1247,16 @@

    Declaration

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let nativeMachExceptionMask: exception_mask_t
    + +
    @@ -1216,9 +1264,9 @@

    Declaration

  • @@ -1226,16 +1274,7 @@

    Declaration

    -

    Undocumented

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let nativeThreadState: Int32
    - -
    +
    @@ -1243,9 +1282,9 @@

    Declaration

  • @@ -1253,16 +1292,7 @@

    Declaration

    -

    Undocumented

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let nativeThreadStateCount: UInt32
    - -
    +
    @@ -1270,9 +1300,9 @@

    Declaration

  • @@ -1280,16 +1310,7 @@

    Declaration

    -

    Undocumented

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let nativeMachExceptionMask: exception_mask_t
    - -
    +
    @@ -1386,7 +1407,7 @@

    Declaration

    diff --git a/docs/Protocols.html b/docs/Protocols.html index b0916dc20..1d15bc177 100644 --- a/docs/Protocols.html +++ b/docs/Protocols.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage
  • - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1191,9 +1212,9 @@

    Declaration

  • @@ -1203,13 +1224,13 @@

    Declaration

    Undocumented

    - See more + See more

    Declaration

    Swift

    -
    public protocol AsyncablePredicate<Value>
    +
    public protocol AsyncableMatcher<Value>
    @@ -1402,7 +1423,7 @@

    Declaration

    diff --git a/docs/Protocols/AssertionHandler.html b/docs/Protocols/AssertionHandler.html index 5116179e5..db5eb20e4 100644 --- a/docs/Protocols/AssertionHandler.html +++ b/docs/Protocols/AssertionHandler.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage
  • - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1171,7 +1192,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/AsyncablePredicate.html b/docs/Protocols/AsyncableMatcher.html similarity index 82% rename from docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/AsyncablePredicate.html rename to docs/Protocols/AsyncableMatcher.html index 00a04d122..8d6d0740c 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/AsyncablePredicate.html +++ b/docs/Protocols/AsyncableMatcher.html @@ -1,7 +1,7 @@ - AsyncablePredicate Protocol Reference + AsyncableMatcher Protocol Reference @@ -13,11 +13,11 @@ - - + +
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -30,7 +30,7 @@
    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1125,11 +1146,11 @@
    -

    AsyncablePredicate

    +

    AsyncableMatcher

    -
    public protocol AsyncablePredicate<Value>
    +
    public protocol AsyncableMatcher<Value>
    @@ -1142,9 +1163,9 @@

    AsyncablePredicate

  • - + - Value + Value
    @@ -1169,9 +1190,9 @@

    Declaration

  • - + - satisfies(_:) + satisfies(_:) Asynchronous @@ -1189,7 +1210,7 @@

    Declaration

    Declaration

    Swift

    -
    func satisfies(_ expression: AsyncExpression<Value>) async throws -> PredicateResult
    +
    func satisfies(_ expression: AsyncExpression<Value>) async throws -> MatcherResult
    @@ -1201,7 +1222,7 @@

    Declaration

  • diff --git a/docs/Protocols/Expectation.html b/docs/Protocols/Expectation.html index 27a46b024..9b75a41d8 100644 --- a/docs/Protocols/Expectation.html +++ b/docs/Protocols/Expectation.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1179,7 +1200,7 @@

    Declaration

    -

    The status of the test after predicates have been evaluated.

    +

    The status of the test after matchers have been evaluated.

    This property can be used for changing test behavior based whether an expectation has passed.

    @@ -1270,7 +1291,7 @@

    Return Value

    Warning

    -

    This method MUST be called after a predicate method like to or not. +

    This method MUST be called after a matcher method like to or not. Otherwise, this expectation will be in an indeterminate state and will unconditionally log an error.

    @@ -1297,7 +1318,7 @@

    Declaration

    diff --git a/docs/Protocols/NMBCollection.html b/docs/Protocols/NMBCollection.html index 45b56c6ad..7bb22f64f 100644 --- a/docs/Protocols/NMBCollection.html +++ b/docs/Protocols/NMBCollection.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1171,7 +1192,7 @@

    Declaration

    diff --git a/docs/Protocols/NMBComparable.html b/docs/Protocols/NMBComparable.html index 64defb686..0540fc966 100644 --- a/docs/Protocols/NMBComparable.html +++ b/docs/Protocols/NMBComparable.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1175,7 +1196,7 @@

    Declaration

    diff --git a/docs/Protocols/NMBContainer.html b/docs/Protocols/NMBContainer.html index 2e05c069b..602a0e9c5 100644 --- a/docs/Protocols/NMBContainer.html +++ b/docs/Protocols/NMBContainer.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1171,7 +1192,7 @@

    Declaration

    diff --git a/docs/Protocols/NMBDoubleConvertible.html b/docs/Protocols/NMBDoubleConvertible.html index 5a8a08d2f..70904f4d1 100644 --- a/docs/Protocols/NMBDoubleConvertible.html +++ b/docs/Protocols/NMBDoubleConvertible.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1171,7 +1192,7 @@

    Declaration

    diff --git a/docs/Protocols/NMBOrderedCollection.html b/docs/Protocols/NMBOrderedCollection.html index 9bc4a8ff1..594239272 100644 --- a/docs/Protocols/NMBOrderedCollection.html +++ b/docs/Protocols/NMBOrderedCollection.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1171,7 +1192,7 @@

    Declaration

    diff --git a/docs/Protocols/TestOutputStringConvertible.html b/docs/Protocols/TestOutputStringConvertible.html index 0645f7331..4ff2b0e7f 100644 --- a/docs/Protocols/TestOutputStringConvertible.html +++ b/docs/Protocols/TestOutputStringConvertible.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1180,7 +1201,7 @@

    Declaration

    diff --git a/docs/Structs.html b/docs/Structs.html index 8fe3dea90..876e27304 100644 --- a/docs/Structs.html +++ b/docs/Structs.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1333,9 +1354,9 @@

    Declaration

  • - - - Predicate + + + Matcher
    @@ -1343,7 +1364,7 @@

    Declaration

    -

    A Predicate is part of the new matcher API that provides assertions to expectations.

    +

    A Matcher is part of the new matcher API that provides assertions to expectations.

    Given a code snippet:

    @@ -1351,22 +1372,24 @@

    Declaration

    ^^^^^^^^ Called a “matcher”

    -

    A matcher consists of two parts a constructor function and the Predicate. The term Predicate -is used as a separate name from Matcher to help transition custom matchers to the new Nimble -matcher API.

    +

    A matcher consists of two parts a constructor function and the Matcher.

    -

    The Predicate provide the heavy lifting on how to assert against a given value. Internally, -predicates are simple wrappers around closures to provide static type information and +

    The Matcher provide the heavy lifting on how to assert against a given value. Internally, +matchers are simple wrappers around closures to provide static type information and allow composition and wrapping of existing behaviors.

    - See more +

    In the 2023 Apple Platform releases (macOS 14, iOS 17, watchOS 10, tvOS 17, visionOS 1), Apple +renamed NSMatcher to Matcher. In response, we decided to rename Matcher to +Matcher.

    + + See more

    Declaration

    Swift

    -
    public struct Predicate<T>
    -
    extension Predicate: AsyncablePredicate
    +
    public struct Matcher<T>
    +
    extension Matcher: AsyncableMatcher
    @@ -1376,9 +1399,9 @@

    Declaration

  • @@ -1386,7 +1409,7 @@

    Declaration

    -

    An AsyncPredicate is part of the new matcher API that provides assertions to expectations.

    +

    An AsyncMatcher is part of the new matcher API that provides assertions to expectations.

    Given a code snippet:

    @@ -1394,26 +1417,24 @@

    Declaration

    ^^^^^^^^ Called a “matcher”

    -

    A matcher consists of two parts a constructor function and the Predicate. The term Predicate -is used as a separate name from Matcher to help transition custom matchers to the new Nimble -matcher API.

    +

    A matcher consists of two parts a constructor function and the Matcher.

    -

    The Predicate provide the heavy lifting on how to assert against a given value. Internally, -predicates are simple wrappers around closures to provide static type information and +

    The Matcher provide the heavy lifting on how to assert against a given value. Internally, +matchers are simple wrappers around closures to provide static type information and allow composition and wrapping of existing behaviors.

    -

    AsyncPredicates serve to allow writing matchers that must be run in async contexts. +

    AsyncMatchers serve to allow writing matchers that must be run in async contexts. These can also be used with either Expectations or AsyncExpectations. But these can only be used from async contexts, and are unavailable in Objective-C. -You can, however, call regular Predicates from an AsyncPredicate, if you wish to compose one like that.

    +You can, however, call regular Matchers from an AsyncMatcher, if you wish to compose one like that.

    - See more + See more

    Declaration

    Swift

    -
    public struct AsyncPredicate<T> : AsyncablePredicate
    +
    public struct AsyncMatcher<T> : AsyncableMatcher
    @@ -1451,9 +1472,9 @@

    Declaration

  • @@ -1461,54 +1482,16 @@

    Declaration

    -

    The value that a Predicates return to describe if the given (actual) value matches the -predicate.

    +

    The value that a Matcher returns to describe if the given (actual) value matches the +matcher.

    - See more + See more

    Declaration

    Swift

    -
    public struct PredicateResult
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - AsyncDefaults - -
    -
    -
    -
    -
    -
    -

    If you are running on a slower machine, it could be useful to increase the default timeout value -or slow down poll interval. Default timeout interval is 1, and poll interval is 0.01.

    -
    -

    Warning

    - This has been renamed to PollingDefaults. Starting in Nimble 13, the deprecation warning will change to a compiler error (removed). In Nimble 14, AsyncDefaults will be removed entirely. - -
    - -

    For the time being, AsyncDefaults will function the same. -However, AsyncDefaults will be removed in a future release.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    @available(*, deprecated, renamed: "PollingDefaults")
    -public struct AsyncDefaults
    +
    public struct MatcherResult
    @@ -1530,8 +1513,11 @@

    Declaration

    If you are running on a slower machine, it could be useful to increase the default timeout value or slow down poll interval. Default timeout interval is 1, and poll interval is 0.01.

    +
    +

    Note

    + This used to be known as AsyncDefaults. -

    Note: This used to be known as AsyncDefaults.

    +
    See more
    @@ -1551,7 +1537,7 @@

    Declaration

  • diff --git a/docs/Structs/AssertionRecord.html b/docs/Structs/AssertionRecord.html index a28a12c07..7aa4bc050 100644 --- a/docs/Structs/AssertionRecord.html +++ b/docs/Structs/AssertionRecord.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage
  • - @@ -1081,7 +1078,7 @@ AsyncExpression
  • @@ -1255,7 +1276,7 @@

    Declaration

    diff --git a/docs/Structs/AsyncDefaults.html b/docs/Structs/AsyncDefaults.html deleted file mode 100644 index 06a3ddd02..000000000 --- a/docs/Structs/AsyncDefaults.html +++ /dev/null @@ -1,1217 +0,0 @@ - - - - AsyncDefaults Structure Reference - - - - - - - - - - - - - -
    -
    -

    Nimble 12.3.0 Docs (46% documented)

    -

    GitHubView on GitHub

    -
    - - - -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -

    AsyncDefaults

    -
    -
    - -
    @available(*, deprecated, renamed: "PollingDefaults")
    -public struct AsyncDefaults
    - -
    -
    -

    If you are running on a slower machine, it could be useful to increase the default timeout value -or slow down poll interval. Default timeout interval is 1, and poll interval is 0.01.

    -
    -

    Warning

    - This has been renamed to PollingDefaults. Starting in Nimble 13, the deprecation warning will change to a compiler error (removed). In Nimble 14, AsyncDefaults will be removed entirely. - -
    - -

    For the time being, AsyncDefaults will function the same. -However, AsyncDefaults will be removed in a future release.

    - -
    -
    -
    -
      -
    • -
      - - - - timeout - -
      -
      -
      -
      -
      -
      -

      Undocumented

      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public static var timeout: NimbleTimeInterval { get set }
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - pollInterval - -
      -
      -
      -
      -
      -
      -

      Undocumented

      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public static var pollInterval: NimbleTimeInterval { get set }
      - -
      -
      -
      -
      -
    • -
    -
    -
    -
    - -
    -
    - - diff --git a/docs/Structs/AsyncExpectation.html b/docs/Structs/AsyncExpectation.html index 6d1cb9c62..4961b1d73 100644 --- a/docs/Structs/AsyncExpectation.html +++ b/docs/Structs/AsyncExpectation.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1179,7 +1200,7 @@

    Declaration

    -

    The status of the test after predicates have been evaluated.

    +

    The status of the test after matchers have been evaluated.

    This property can be used for changing test behavior based whether an expectation has passed.

    @@ -1298,9 +1319,9 @@

    Return Value

  • - + - to(_:description:) + to(_:description:) Asynchronous @@ -1319,7 +1340,7 @@

    Declaration

    Swift

    @discardableResult
    -public func to(_ predicate: Predicate<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    +public func to(_ matcher: Matcher<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1329,9 +1350,9 @@

    Declaration

  • - + - toNot(_:description:) + toNot(_:description:) Asynchronous @@ -1350,7 +1371,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNot(_ predicate: Predicate<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toNot(_ matcher: Matcher<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1360,9 +1381,9 @@

    Declaration

  • - + - notTo(_:description:) + notTo(_:description:) Asynchronous @@ -1383,7 +1404,7 @@

    Declaration

    Swift

    @discardableResult
    -public func notTo(_ predicate: Predicate<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    +public func notTo(_ matcher: Matcher<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1393,9 +1414,9 @@

    Declaration

  • - + - to(_:description:) + to(_:description:) Asynchronous @@ -1414,7 +1435,7 @@

    Declaration

    Swift

    @discardableResult
    -public func to(_ predicate: AsyncPredicate<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    +public func to(_ matcher: AsyncMatcher<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1424,9 +1445,9 @@

    Declaration

  • - + - toNot(_:description:) + toNot(_:description:) Asynchronous @@ -1445,7 +1466,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNot(_ predicate: AsyncPredicate<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toNot(_ matcher: AsyncMatcher<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1455,9 +1476,9 @@

    Declaration

  • - + - notTo(_:description:) + notTo(_:description:) Asynchronous @@ -1478,7 +1499,7 @@

    Declaration

    Swift

    @discardableResult
    -public func notTo(_ predicate: AsyncPredicate<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    +public func notTo(_ matcher: AsyncMatcher<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1549,11 +1570,11 @@

    Declaration

  • - - + +
    - -

    With Synchronous Predicates + +

    With Synchronous Matchers

    @@ -1561,9 +1582,9 @@

    With Synchronous Predicates
  • - + - toEventually(_:timeout:pollInterval:description:) + toEventually(_:timeout:pollInterval:description:) Asynchronous @@ -1583,7 +1604,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toEventually(_ predicate: Predicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toEventually(_ matcher: Matcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1593,9 +1614,9 @@

    Declaration

  • - + - toEventuallyNot(_:timeout:pollInterval:description:) + toEventuallyNot(_:timeout:pollInterval:description:) Asynchronous @@ -1615,7 +1636,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toEventuallyNot(_ predicate: Predicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toEventuallyNot(_ matcher: Matcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1625,9 +1646,9 @@

    Declaration

  • - + - toNotEventually(_:timeout:pollInterval:description:) + toNotEventually(_:timeout:pollInterval:description:) Asynchronous @@ -1649,7 +1670,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNotEventually(_ predicate: Predicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toNotEventually(_ matcher: Matcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1659,9 +1680,9 @@

    Declaration

  • - + - toNever(_:until:pollInterval:description:) + toNever(_:until:pollInterval:description:) Asynchronous @@ -1681,7 +1702,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNever(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toNever(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1691,9 +1712,9 @@

    Declaration

  • - + - neverTo(_:until:pollInterval:description:) + neverTo(_:until:pollInterval:description:) Asynchronous @@ -1715,7 +1736,7 @@

    Declaration

    Swift

    @discardableResult
    -public func neverTo(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func neverTo(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1725,9 +1746,9 @@

    Declaration

  • - + - toAlways(_:until:pollInterval:description:) + toAlways(_:until:pollInterval:description:) Asynchronous @@ -1747,7 +1768,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toAlways(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toAlways(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1757,9 +1778,9 @@

    Declaration

  • - + - alwaysTo(_:until:pollInterval:description:) + alwaysTo(_:until:pollInterval:description:) Asynchronous @@ -1781,7 +1802,7 @@

    Declaration

    Swift

    @discardableResult
    -public func alwaysTo(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func alwaysTo(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1792,11 +1813,11 @@

    Declaration

  • - - + +
    - -

    With AsyncPredicates + +

    With AsyncMatchers

    @@ -1804,9 +1825,9 @@

    With AsyncPredicates
  • - + - toEventually(_:timeout:pollInterval:description:) + toEventually(_:timeout:pollInterval:description:) Asynchronous @@ -1826,7 +1847,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toEventually(_ predicate: AsyncPredicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toEventually(_ matcher: AsyncMatcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1836,9 +1857,9 @@

    Declaration

  • - + - toEventuallyNot(_:timeout:pollInterval:description:) + toEventuallyNot(_:timeout:pollInterval:description:) Asynchronous @@ -1858,7 +1879,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toEventuallyNot(_ predicate: AsyncPredicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toEventuallyNot(_ matcher: AsyncMatcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1868,9 +1889,9 @@

    Declaration

  • - + - toNotEventually(_:timeout:pollInterval:description:) + toNotEventually(_:timeout:pollInterval:description:) Asynchronous @@ -1892,7 +1913,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNotEventually(_ predicate: AsyncPredicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toNotEventually(_ matcher: AsyncMatcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1902,9 +1923,9 @@

    Declaration

  • - + - toNever(_:until:pollInterval:description:) + toNever(_:until:pollInterval:description:) Asynchronous @@ -1924,7 +1945,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNever(_ predicate: AsyncPredicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toNever(_ matcher: AsyncMatcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1934,9 +1955,9 @@

    Declaration

  • - + - neverTo(_:until:pollInterval:description:) + neverTo(_:until:pollInterval:description:) Asynchronous @@ -1958,7 +1979,7 @@

    Declaration

    Swift

    @discardableResult
    -public func neverTo(_ predicate: AsyncPredicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func neverTo(_ matcher: AsyncMatcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1968,9 +1989,9 @@

    Declaration

  • - + - toAlways(_:until:pollInterval:description:) + toAlways(_:until:pollInterval:description:) Asynchronous @@ -1990,7 +2011,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toAlways(_ predicate: AsyncPredicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toAlways(_ matcher: AsyncMatcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -2000,9 +2021,9 @@

    Declaration

  • - + - alwaysTo(_:until:pollInterval:description:) + alwaysTo(_:until:pollInterval:description:) Asynchronous @@ -2024,7 +2045,7 @@

    Declaration

    Swift

    @discardableResult
    -public func alwaysTo(_ predicate: AsyncPredicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func alwaysTo(_ matcher: AsyncMatcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -2036,7 +2057,7 @@

    Declaration

  • diff --git a/docs/Structs/AsyncExpression.html b/docs/Structs/AsyncExpression.html index 8eb58a687..57741ad66 100644 --- a/docs/Structs/AsyncExpression.html +++ b/docs/Structs/AsyncExpression.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1388,7 +1409,7 @@

    Parameters

    -

    Creates a new synchronous expression, for use in Predicates.

    +

    Creates a new synchronous expression, for use in Matchers.

    @@ -1542,7 +1563,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/AsyncPredicate.html b/docs/Structs/AsyncMatcher.html similarity index 79% rename from docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/AsyncPredicate.html rename to docs/Structs/AsyncMatcher.html index 2f2f0dc08..a24d4af67 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/AsyncPredicate.html +++ b/docs/Structs/AsyncMatcher.html @@ -1,7 +1,7 @@ - AsyncPredicate Structure Reference + AsyncMatcher Structure Reference @@ -13,11 +13,11 @@ - - + +
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -30,7 +30,7 @@
    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1125,15 +1146,15 @@
    -

    AsyncPredicate

    +

    AsyncMatcher

    -
    public struct AsyncPredicate<T> : AsyncablePredicate
    +
    public struct AsyncMatcher<T> : AsyncableMatcher
    -

    An AsyncPredicate is part of the new matcher API that provides assertions to expectations.

    +

    An AsyncMatcher is part of the new matcher API that provides assertions to expectations.

    Given a code snippet:

    @@ -1141,18 +1162,16 @@

    AsyncPredicate

    ^^^^^^^^ Called a “matcher”

    -

    A matcher consists of two parts a constructor function and the Predicate. The term Predicate -is used as a separate name from Matcher to help transition custom matchers to the new Nimble -matcher API.

    +

    A matcher consists of two parts a constructor function and the Matcher.

    -

    The Predicate provide the heavy lifting on how to assert against a given value. Internally, -predicates are simple wrappers around closures to provide static type information and +

    The Matcher provide the heavy lifting on how to assert against a given value. Internally, +matchers are simple wrappers around closures to provide static type information and allow composition and wrapping of existing behaviors.

    -

    AsyncPredicates serve to allow writing matchers that must be run in async contexts. +

    AsyncMatchers serve to allow writing matchers that must be run in async contexts. These can also be used with either Expectations or AsyncExpectations. But these can only be used from async contexts, and are unavailable in Objective-C. -You can, however, call regular Predicates from an AsyncPredicate, if you wish to compose one like that.

    +You can, however, call regular Matchers from an AsyncMatcher, if you wish to compose one like that.

    @@ -1161,9 +1180,9 @@

    AsyncPredicate

  • - + - init(_:) + init(_:)
    @@ -1178,7 +1197,7 @@

    AsyncPredicate

    Declaration

    Swift

    -
    public init(_ matcher: @escaping (AsyncExpression<T>) async throws -> PredicateResult)
    +
    public init(_ matcher: @escaping (AsyncExpression<T>) async throws -> MatcherResult)
    @@ -1188,9 +1207,9 @@

    Declaration

  • - + - satisfies(_:) + satisfies(_:) Asynchronous @@ -1201,17 +1220,17 @@

    Declaration

    -

    Uses a predicate on a given value to see if it passes the predicate.

    +

    Uses a matcher on a given value to see if it passes the matcher.

    -

    @param expression The value to run the predicate’s logic against -@returns A predicate result indicate passing or failing and an associated error message.

    +

    @param expression The value to run the matcher’s logic against +@returns A matcher result indicate passing or failing and an associated error message.

    Declaration

    Swift

    -
    public func satisfies(_ expression: AsyncExpression<T>) async throws -> PredicateResult
    +
    public func satisfies(_ expression: AsyncExpression<T>) async throws -> MatcherResult
    @@ -1221,9 +1240,9 @@

    Declaration

  • @@ -1231,14 +1250,14 @@

    Declaration

    -

    Like Predicate() constructor, but automatically guard against nil (actual) values

    +

    Like Matcher() constructor, but automatically guard against nil (actual) values

    Declaration

    Swift

    -
    public static func define(matcher: @escaping (AsyncExpression<T>) async throws -> PredicateResult) -> AsyncPredicate<T>
    +
    public static func define(matcher: @escaping (AsyncExpression<T>) async throws -> MatcherResult) -> AsyncMatcher<T>
    @@ -1248,9 +1267,9 @@

    Declaration

  • @@ -1258,15 +1277,15 @@

    Declaration

    -

    Defines a predicate with a default message that can be returned in the closure -Also ensures the predicate’s actual value cannot pass with nil given.

    +

    Defines a matcher with a default message that can be returned in the closure +Also ensures the matcher’s actual value cannot pass with nil given.

    Declaration

    Swift

    -
    public static func define(_ message: String = "match", matcher: @escaping (AsyncExpression<T>, ExpectationMessage) async throws -> PredicateResult) -> AsyncPredicate<T>
    +
    public static func define(_ message: String = "match", matcher: @escaping (AsyncExpression<T>, ExpectationMessage) async throws -> MatcherResult) -> AsyncMatcher<T>
    @@ -1276,9 +1295,9 @@

    Declaration

  • @@ -1286,7 +1305,7 @@

    Declaration

    -

    Defines a predicate with a default message that can be returned in the closure +

    Defines a matcher with a default message that can be returned in the closure Unlike define, this allows nil values to succeed if the given closure chooses to.

    @@ -1294,7 +1313,7 @@

    Declaration

    Declaration

    Swift

    -
    public static func defineNilable(_ message: String = "match", matcher: @escaping (AsyncExpression<T>, ExpectationMessage) async throws -> PredicateResult) -> AsyncPredicate<T>
    +
    public static func defineNilable(_ message: String = "match", matcher: @escaping (AsyncExpression<T>, ExpectationMessage) async throws -> MatcherResult) -> AsyncMatcher<T>
    @@ -1304,9 +1323,9 @@

    Declaration

  • @@ -1314,17 +1333,17 @@

    Declaration

    -

    Provides a simple predicate definition that provides no control over the predefined +

    Provides a simple matcher definition that provides no control over the predefined error message.

    -

    Also ensures the predicate’s actual value cannot pass with nil given.

    +

    Also ensures the matcher’s actual value cannot pass with nil given.

    Declaration

    Swift

    -
    public static func simple(_ message: String = "match", matcher: @escaping (AsyncExpression<T>) async throws -> PredicateStatus) -> AsyncPredicate<T>
    +
    public static func simple(_ message: String = "match", matcher: @escaping (AsyncExpression<T>) async throws -> MatcherStatus) -> AsyncMatcher<T>
    @@ -1334,9 +1353,9 @@

    Declaration

  • @@ -1344,7 +1363,7 @@

    Declaration

    -

    Provides a simple predicate definition that provides no control over the predefined +

    Provides a simple matcher definition that provides no control over the predefined error message.

    Unlike simple, this allows nil values to succeed if the given closure chooses to.

    @@ -1354,7 +1373,7 @@

    Declaration

    Declaration

    Swift

    -
    public static func simpleNilable(_ message: String = "match", matcher: @escaping (AsyncExpression<T>) async throws -> PredicateStatus) -> AsyncPredicate<T>
    +
    public static func simpleNilable(_ message: String = "match", matcher: @escaping (AsyncExpression<T>) async throws -> MatcherStatus) -> AsyncMatcher<T>
    @@ -1364,9 +1383,9 @@

    Declaration

  • @@ -1374,7 +1393,7 @@

    Declaration

    -

    Returns a new Predicate based on the current one that always fails if nil is given as +

    Returns a new Matcher based on the current one that always fails if nil is given as the actual value.

    @@ -1382,7 +1401,7 @@

    Declaration

    Declaration

    Swift

    -
    public var requireNonNil: AsyncPredicate<T> { get }
    +
    public var requireNonNil: AsyncMatcher<T> { get }
    @@ -1394,7 +1413,7 @@

    Declaration

  • diff --git a/docs/Structs/ExpectationNil.html b/docs/Structs/ExpectationNil.html index 343a85ae9..b66991a99 100644 --- a/docs/Structs/ExpectationNil.html +++ b/docs/Structs/ExpectationNil.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1170,7 +1191,7 @@

    Declaration

    diff --git a/docs/Structs/Expression.html b/docs/Structs/Expression.html index 6e7e7a420..7f7befdec 100644 --- a/docs/Structs/Expression.html +++ b/docs/Structs/Expression.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1536,7 +1557,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/Predicate.html b/docs/Structs/Matcher.html similarity index 79% rename from docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/Predicate.html rename to docs/Structs/Matcher.html index 4c62c5464..6c045b75c 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/Predicate.html +++ b/docs/Structs/Matcher.html @@ -1,7 +1,7 @@ - Predicate Structure Reference + Matcher Structure Reference @@ -13,11 +13,11 @@ - - + +
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -30,7 +30,7 @@
    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1125,16 +1146,16 @@
    -

    Predicate

    +

    Matcher

    -
    public struct Predicate<T>
    -
    extension Predicate: AsyncablePredicate
    +
    public struct Matcher<T>
    +
    extension Matcher: AsyncableMatcher
    -

    A Predicate is part of the new matcher API that provides assertions to expectations.

    +

    A Matcher is part of the new matcher API that provides assertions to expectations.

    Given a code snippet:

    @@ -1142,14 +1163,16 @@

    Predicate

    ^^^^^^^^ Called a “matcher”

    -

    A matcher consists of two parts a constructor function and the Predicate. The term Predicate -is used as a separate name from Matcher to help transition custom matchers to the new Nimble -matcher API.

    +

    A matcher consists of two parts a constructor function and the Matcher.

    -

    The Predicate provide the heavy lifting on how to assert against a given value. Internally, -predicates are simple wrappers around closures to provide static type information and +

    The Matcher provide the heavy lifting on how to assert against a given value. Internally, +matchers are simple wrappers around closures to provide static type information and allow composition and wrapping of existing behaviors.

    +

    In the 2023 Apple Platform releases (macOS 14, iOS 17, watchOS 10, tvOS 17, visionOS 1), Apple +renamed NSMatcher to Matcher. In response, we decided to rename Matcher to +Matcher.

    +
    @@ -1157,9 +1180,9 @@

    Predicate

  • - + - init(_:) + init(_:)
    @@ -1167,14 +1190,14 @@

    Predicate

    -

    Constructs a predicate that knows how take a given value

    +

    Constructs a matcher that knows how take a given value

    Declaration

    Swift

    -
    public init(_ matcher: @escaping (Expression<T>) throws -> PredicateResult)
    +
    public init(_ matcher: @escaping (Expression<T>) throws -> MatcherResult)
    @@ -1184,9 +1207,9 @@

    Declaration

  • @@ -1194,17 +1217,17 @@

    Declaration

    -

    Uses a predicate on a given value to see if it passes the predicate.

    +

    Uses a matcher on a given value to see if it passes the matcher.

    -

    @param expression The value to run the predicate’s logic against -@returns A predicate result indicate passing or failing and an associated error message.

    +

    @param expression The value to run the matcher’s logic against +@returns A matcher result indicate passing or failing and an associated error message.

    Declaration

    Swift

    -
    public func satisfies(_ expression: Expression<T>) throws -> PredicateResult
    +
    public func satisfies(_ expression: Expression<T>) throws -> MatcherResult
    @@ -1214,9 +1237,9 @@

    Declaration

  • - + - satisfies(_:) + satisfies(_:) Asynchronous @@ -1234,7 +1257,7 @@

    Declaration

    Declaration

    Swift

    -
    public func satisfies(_ expression: AsyncExpression<T>) async throws -> PredicateResult
    +
    public func satisfies(_ expression: AsyncExpression<T>) async throws -> MatcherResult
    @@ -1244,9 +1267,9 @@

    Declaration

  • @@ -1254,14 +1277,14 @@

    Declaration

    -

    Like Predicate() constructor, but automatically guard against nil (actual) values

    +

    Like Matcher() constructor, but automatically guard against nil (actual) values

    Declaration

    Swift

    -
    public static func define(matcher: @escaping (Expression<T>) throws -> PredicateResult) -> Predicate<T>
    +
    public static func define(matcher: @escaping (Expression<T>) throws -> MatcherResult) -> Matcher<T>
    @@ -1271,9 +1294,9 @@

    Declaration

  • @@ -1281,15 +1304,15 @@

    Declaration

    -

    Defines a predicate with a default message that can be returned in the closure -Also ensures the predicate’s actual value cannot pass with nil given.

    +

    Defines a matcher with a default message that can be returned in the closure +Also ensures the matcher’s actual value cannot pass with nil given.

    Declaration

    Swift

    -
    public static func define(_ message: String = "match", matcher: @escaping (Expression<T>, ExpectationMessage) throws -> PredicateResult) -> Predicate<T>
    +
    public static func define(_ message: String = "match", matcher: @escaping (Expression<T>, ExpectationMessage) throws -> MatcherResult) -> Matcher<T>
    @@ -1299,9 +1322,9 @@

    Declaration

  • @@ -1309,7 +1332,7 @@

    Declaration

    -

    Defines a predicate with a default message that can be returned in the closure +

    Defines a matcher with a default message that can be returned in the closure Unlike define, this allows nil values to succeed if the given closure chooses to.

    @@ -1317,7 +1340,7 @@

    Declaration

    Declaration

    Swift

    -
    public static func defineNilable(_ message: String = "match", matcher: @escaping (Expression<T>, ExpectationMessage) throws -> PredicateResult) -> Predicate<T>
    +
    public static func defineNilable(_ message: String = "match", matcher: @escaping (Expression<T>, ExpectationMessage) throws -> MatcherResult) -> Matcher<T>
    @@ -1327,9 +1350,9 @@

    Declaration

  • @@ -1337,17 +1360,17 @@

    Declaration

    -

    Provides a simple predicate definition that provides no control over the predefined +

    Provides a simple matcher definition that provides no control over the predefined error message.

    -

    Also ensures the predicate’s actual value cannot pass with nil given.

    +

    Also ensures the matcher’s actual value cannot pass with nil given.

    Declaration

    Swift

    -
    public static func simple(_ message: String = "match", matcher: @escaping (Expression<T>) throws -> PredicateStatus) -> Predicate<T>
    +
    public static func simple(_ message: String = "match", matcher: @escaping (Expression<T>) throws -> MatcherStatus) -> Matcher<T>
    @@ -1357,9 +1380,9 @@

    Declaration

  • @@ -1367,7 +1390,7 @@

    Declaration

    -

    Provides a simple predicate definition that provides no control over the predefined +

    Provides a simple matcher definition that provides no control over the predefined error message.

    Unlike simple, this allows nil values to succeed if the given closure chooses to.

    @@ -1377,7 +1400,7 @@

    Declaration

    Declaration

    Swift

    -
    public static func simpleNilable(_ message: String = "match", matcher: @escaping (Expression<T>) throws -> PredicateStatus) -> Predicate<T>
    +
    public static func simpleNilable(_ message: String = "match", matcher: @escaping (Expression<T>) throws -> MatcherStatus) -> Matcher<T>
    @@ -1387,9 +1410,9 @@

    Declaration

  • @@ -1397,7 +1420,7 @@

    Declaration

    -

    Returns a new Predicate based on the current one that always fails if nil is given as +

    Returns a new Matcher based on the current one that always fails if nil is given as the actual value.

    @@ -1405,7 +1428,7 @@

    Declaration

    Declaration

    Swift

    -
    public var requireNonNil: Predicate<T> { get }
    +
    public var requireNonNil: Matcher<T> { get }
    @@ -1417,7 +1440,7 @@

    Declaration

  • diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/PredicateResult.html b/docs/Structs/MatcherResult.html similarity index 81% rename from docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/PredicateResult.html rename to docs/Structs/MatcherResult.html index 0a5e7225a..9a6e1a3dc 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/PredicateResult.html +++ b/docs/Structs/MatcherResult.html @@ -1,7 +1,7 @@ - PredicateResult Structure Reference + MatcherResult Structure Reference @@ -13,11 +13,11 @@ - - + +
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -30,7 +30,7 @@
    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1125,16 +1146,16 @@
    -

    PredicateResult

    +

    MatcherResult

    -
    public struct PredicateResult
    +
    public struct MatcherResult
    -

    The value that a Predicates return to describe if the given (actual) value matches the -predicate.

    +

    The value that a Matcher returns to describe if the given (actual) value matches the +matcher.

    @@ -1143,9 +1164,9 @@

    PredicateResult

  • - + - status + status
    @@ -1153,14 +1174,14 @@

    PredicateResult

    -

    Status indicates if the predicate matches, does not match, or fails.

    +

    Status indicates if the matcher matches, does not match, or fails.

    Declaration

    Swift

    -
    public var status: PredicateStatus
    +
    public var status: MatcherStatus
    @@ -1170,9 +1191,9 @@

    Declaration

  • - + - message + message
    @@ -1197,9 +1218,9 @@

    Declaration

  • @@ -1207,14 +1228,14 @@

    Declaration

    -

    Constructs a new PredicateResult with a given status and error message

    +

    Constructs a new MatcherResult with a given status and error message

    Declaration

    Swift

    -
    public init(status: PredicateStatus, message: ExpectationMessage)
    +
    public init(status: MatcherStatus, message: ExpectationMessage)
    @@ -1224,9 +1245,9 @@

    Declaration

  • @@ -1234,7 +1255,7 @@

    Declaration

    -

    Shorthand to PredicateResult(status: PredicateStatus(bool: bool), message: message)

    +

    Shorthand to MatcherResult(status: MatcherStatus(bool: bool), message: message)

    @@ -1251,9 +1272,9 @@

    Declaration

  • @@ -1278,9 +1299,9 @@

    Declaration

  • @@ -1295,7 +1316,7 @@

    Declaration

    Declaration

    Swift

    -
    public func toObjectiveC() -> NMBPredicateResult
    +
    public func toObjectiveC() -> NMBMatcherResult
    @@ -1307,7 +1328,7 @@

    Declaration

  • diff --git a/docs/Structs/PollingDefaults.html b/docs/Structs/PollingDefaults.html index f3f71c0f7..3250271c7 100644 --- a/docs/Structs/PollingDefaults.html +++ b/docs/Structs/PollingDefaults.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1135,8 +1156,11 @@

    PollingDefaults

    If you are running on a slower machine, it could be useful to increase the default timeout value or slow down poll interval. Default timeout interval is 1, and poll interval is 0.01.

    +
    +

    Note

    + This used to be known as AsyncDefaults. -

    Note: This used to be known as AsyncDefaults.

    +
    @@ -1201,7 +1225,7 @@

    Declaration

    diff --git a/docs/Structs/SyncExpectation.html b/docs/Structs/SyncExpectation.html index b8226e9b2..5181bd433 100644 --- a/docs/Structs/SyncExpectation.html +++ b/docs/Structs/SyncExpectation.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1179,7 +1200,7 @@

    Declaration

    -

    The status of the test after predicates have been evaluated.

    +

    The status of the test after matchers have been evaluated.

    This property can be used for changing test behavior based whether an expectation has passed.

    @@ -1298,9 +1319,9 @@

    Declaration

  • @@ -1316,7 +1337,7 @@

    Declaration

    Swift

    @discardableResult
    -public func to(_ predicate: Predicate<Value>, description: String? = nil) -> SyncExpectation<Value>
    +public func to(_ matcher: Matcher<Value>, description: String? = nil) -> SyncExpectation<Value>
    @@ -1326,9 +1347,9 @@

    Declaration

  • @@ -1344,7 +1365,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNot(_ predicate: Predicate<Value>, description: String? = nil) -> SyncExpectation<Value>
    +public func toNot(_ matcher: Matcher<Value>, description: String? = nil) -> SyncExpectation<Value>
    @@ -1354,9 +1375,9 @@

    Declaration

  • @@ -1374,7 +1395,7 @@

    Declaration

    Swift

    @discardableResult
    -public func notTo(_ predicate: Predicate<Value>, description: String? = nil) -> SyncExpectation<Value>
    +public func notTo(_ matcher: Matcher<Value>, description: String? = nil) -> SyncExpectation<Value>
    @@ -1385,11 +1406,11 @@

    Declaration

  • - - + +
    - -

    AsyncPredicates + +

    AsyncMatchers

    @@ -1397,9 +1418,9 @@

    AsyncPredicates
  • - + - to(_:description:) + to(_:description:) Asynchronous @@ -1418,7 +1439,7 @@

    Declaration

    Swift

    @discardableResult
    -public func to(_ predicate: AsyncPredicate<Value>, description: String? = nil) async -> SyncExpectation<Value>
    +public func to(_ matcher: AsyncMatcher<Value>, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1428,9 +1449,9 @@

    Declaration

  • - + - toNot(_:description:) + toNot(_:description:) Asynchronous @@ -1449,7 +1470,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNot(_ predicate: AsyncPredicate<Value>, description: String? = nil) async -> SyncExpectation<Value>
    +public func toNot(_ matcher: AsyncMatcher<Value>, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1459,9 +1480,9 @@

    Declaration

  • - + - notTo(_:description:) + notTo(_:description:) Asynchronous @@ -1482,7 +1503,7 @@

    Declaration

    Swift

    @discardableResult
    -public func notTo(_ predicate: AsyncPredicate<Value>, description: String? = nil) async -> SyncExpectation<Value>
    +public func notTo(_ matcher: AsyncMatcher<Value>, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1547,11 +1568,11 @@

    Declaration

  • - - + +
    - -

    With Synchronous Predicates + +

    With Synchronous Matchers

    @@ -1559,9 +1580,9 @@

    With Synchronous Predicates
  • - + - toEventually(_:timeout:pollInterval:description:) + toEventually(_:timeout:pollInterval:description:) Asynchronous @@ -1581,7 +1602,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toEventually(_ predicate: Predicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func toEventually(_ matcher: Matcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1591,9 +1612,9 @@

    Declaration

  • - + - toEventuallyNot(_:timeout:pollInterval:description:) + toEventuallyNot(_:timeout:pollInterval:description:) Asynchronous @@ -1613,7 +1634,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toEventuallyNot(_ predicate: Predicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func toEventuallyNot(_ matcher: Matcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1623,9 +1644,9 @@

    Declaration

  • - + - toNotEventually(_:timeout:pollInterval:description:) + toNotEventually(_:timeout:pollInterval:description:) Asynchronous @@ -1647,7 +1668,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNotEventually(_ predicate: Predicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func toNotEventually(_ matcher: Matcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1657,9 +1678,9 @@

    Declaration

  • - + - toNever(_:until:pollInterval:description:) + toNever(_:until:pollInterval:description:) Asynchronous @@ -1679,7 +1700,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNever(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func toNever(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1689,9 +1710,9 @@

    Declaration

  • - + - neverTo(_:until:pollInterval:description:) + neverTo(_:until:pollInterval:description:) Asynchronous @@ -1713,7 +1734,7 @@

    Declaration

    Swift

    @discardableResult
    -public func neverTo(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func neverTo(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1723,9 +1744,9 @@

    Declaration

  • - + - toAlways(_:until:pollInterval:description:) + toAlways(_:until:pollInterval:description:) Asynchronous @@ -1745,7 +1766,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toAlways(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func toAlways(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1755,9 +1776,9 @@

    Declaration

  • - + - alwaysTo(_:until:pollInterval:description:) + alwaysTo(_:until:pollInterval:description:) Asynchronous @@ -1779,7 +1800,7 @@

    Declaration

    Swift

    @discardableResult
    -public func alwaysTo(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func alwaysTo(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1790,11 +1811,11 @@

    Declaration

  • - - + +
    - -

    With AsyncPredicates + +

    With AsyncMatchers

    @@ -1802,9 +1823,9 @@

    With AsyncPredicates
  • - + - toEventually(_:timeout:pollInterval:description:) + toEventually(_:timeout:pollInterval:description:) Asynchronous @@ -1824,7 +1845,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toEventually(_ predicate: AsyncPredicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func toEventually(_ matcher: AsyncMatcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1834,9 +1855,9 @@

    Declaration

  • - + - toEventuallyNot(_:timeout:pollInterval:description:) + toEventuallyNot(_:timeout:pollInterval:description:) Asynchronous @@ -1856,7 +1877,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toEventuallyNot(_ predicate: AsyncPredicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func toEventuallyNot(_ matcher: AsyncMatcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1866,9 +1887,9 @@

    Declaration

  • - + - toNotEventually(_:timeout:pollInterval:description:) + toNotEventually(_:timeout:pollInterval:description:) Asynchronous @@ -1890,7 +1911,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNotEventually(_ predicate: AsyncPredicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func toNotEventually(_ matcher: AsyncMatcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1900,9 +1921,9 @@

    Declaration

  • - + - toNever(_:until:pollInterval:description:) + toNever(_:until:pollInterval:description:) Asynchronous @@ -1922,7 +1943,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNever(_ predicate: AsyncPredicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func toNever(_ matcher: AsyncMatcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1932,9 +1953,9 @@

    Declaration

  • - + - neverTo(_:until:pollInterval:description:) + neverTo(_:until:pollInterval:description:) Asynchronous @@ -1956,7 +1977,7 @@

    Declaration

    Swift

    @discardableResult
    -public func neverTo(_ predicate: AsyncPredicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func neverTo(_ matcher: AsyncMatcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1966,9 +1987,9 @@

    Declaration

  • - + - toAlways(_:until:pollInterval:description:) + toAlways(_:until:pollInterval:description:) Asynchronous @@ -1988,7 +2009,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toAlways(_ predicate: AsyncPredicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func toAlways(_ matcher: AsyncMatcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1998,9 +2019,9 @@

    Declaration

  • - + - alwaysTo(_:until:pollInterval:description:) + alwaysTo(_:until:pollInterval:description:) Asynchronous @@ -2022,7 +2043,7 @@

    Declaration

    Swift

    @discardableResult
    -public func alwaysTo(_ predicate: AsyncPredicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func alwaysTo(_ matcher: AsyncMatcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -2032,9 +2053,9 @@

    Declaration

  • @@ -2059,7 +2080,7 @@

    Declaration

    Swift

    @available(*, noasync, message: "the sync variant of `toEventually` does not work in async contexts. Use the async variant as a drop-in replacement")
     @discardableResult
    -public func toEventually(_ predicate: Predicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
    +public func toEventually(_ matcher: Matcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
  • @@ -2069,9 +2090,9 @@

    Declaration

  • @@ -2097,7 +2118,7 @@

    Declaration

    Swift

    @available(*, noasync, message: "the sync variant of `toEventuallyNot` does not work in async contexts. Use the async variant as a drop-in replacement")
     @discardableResult
    -public func toEventuallyNot(_ predicate: Predicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
    +public func toEventuallyNot(_ matcher: Matcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
  • @@ -2107,9 +2128,9 @@

    Declaration

  • @@ -2137,7 +2158,7 @@

    Declaration

    Swift

    @available(*, noasync, message: "the sync variant of `toNotEventually` does not work in async contexts. Use the async variant as a drop-in replacement")
     @discardableResult
    -public func toNotEventually(_ predicate: Predicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
    +public func toNotEventually(_ matcher: Matcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
  • @@ -2147,9 +2168,9 @@

    Declaration

  • @@ -2175,7 +2196,7 @@

    Declaration

    Swift

    @available(*, noasync, message: "the sync variant of `toNever` does not work in async contexts. Use the async variant as a drop-in replacement")
     @discardableResult
    -public func toNever(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
    +public func toNever(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
  • @@ -2185,9 +2206,9 @@

    Declaration

  • @@ -2215,7 +2236,7 @@

    Declaration

    Swift

    @available(*, noasync, message: "the sync variant of `neverTo` does not work in async contexts. Use the async variant as a drop-in replacement")
     @discardableResult
    -public func neverTo(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
    +public func neverTo(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
  • @@ -2225,9 +2246,9 @@

    Declaration

  • @@ -2253,7 +2274,7 @@

    Declaration

    Swift

    @available(*, noasync, message: "the sync variant of `toAlways` does not work in async contexts. Use the async variant as a drop-in replacement")
     @discardableResult
    -public func toAlways(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
    +public func toAlways(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
  • @@ -2263,9 +2284,9 @@

    Declaration

  • @@ -2293,7 +2314,7 @@

    Declaration

    Swift

    @available(*, noasync, message: "the sync variant of `alwaysTo` does not work in async contexts. Use the async variant as a drop-in replacement")
     @discardableResult
    -public func alwaysTo(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
    +public func alwaysTo(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
  • @@ -2305,7 +2326,7 @@

    Declaration

    diff --git a/docs/Structs/execTypesCountTuple.html b/docs/Structs/execTypesCountTuple.html index c6f1cf6de..144742751 100644 --- a/docs/Structs/execTypesCountTuple.html +++ b/docs/Structs/execTypesCountTuple.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1198,7 +1219,7 @@

    Declaration

    diff --git a/docs/Typealiases.html b/docs/Typealiases.html index 5928f7723..9311e1168 100644 --- a/docs/Typealiases.html +++ b/docs/Typealiases.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1132,6 +1153,144 @@

    Type Aliases

      +
    • +
      + + + + AsyncPredicate + +
      +
      +
      +
      +
      +
      +

      Undocumented

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public typealias AsyncPredicate = AsyncMatcher
      + +
      +
      +
      +
      +
    • +
    • +
      + + + + Predicate + +
      +
      +
      +
      +
      +
      +

      Provides an easy upgrade path for custom Matchers to be renamed to Matchers

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      @available(*, deprecated, renamed: "Matcher")
      +public typealias Predicate = Matcher
      + +
      +
      +
      +
      +
    • +
    • +
      + + + + PredicateResult + +
      +
      +
      +
      +
      +
      +

      Provides an easy upgrade path for custom Matchers to be renamed to Matchers

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      @available(*, deprecated, renamed: "MatcherResult")
      +public typealias PredicateResult = MatcherResult
      + +
      +
      +
      +
      +
    • +
    • +
      + + + + PredicateStatus + +
      +
      +
      +
      +
      +
      +

      Provides an easy upgrade path for custom Matchers to be renamed to Matchers

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      @available(*, deprecated, renamed: "MatcherStatus")
      +public typealias PredicateStatus = MatcherStatus
      + +
      +
      +
      +
      +
    • +
    • +
      + + + + MatcherBlock + +
      +
      +
      +
      +
      +
      +

      Undocumented

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public typealias MatcherBlock = (_ actualExpression: Expression<NSObject>) throws -> NMBMatcherResult
      + +
      +
      +
      +
      +
    • @@ -1145,14 +1304,99 @@

      Type Aliases

      -

      Undocumented

      +

      Provides an easy upgrade path for custom Matchers to be renamed to Matchers

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      @available(*, deprecated, renamed: "MatcherBlock")
      +public typealias PredicateBlock = MatcherBlock
      + +
      +
      +
      +
      +
    • +
    • +
      + + + + NMBPredicate + +
      +
      +
      +
      +
      +
      +

      Provides an easy upgrade path for custom Matchers to be renamed to Matchers

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      @available(*, deprecated, renamed: "NMBMatcher")
      +public typealias NMBPredicate = NMBMatcher
      + +
      +
      +
      +
      +
    • +
    • +
      + + + + NMBPredicateResult + +
      +
      +
      +
      +
      +
      +

      Provides an easy upgrade path for custom Matchers to be renamed to Matchers

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      @available(*, deprecated, renamed: "NMBMatcherResult")
      +public typealias NMBPredicateResult = NMBMatcherResult
      + +
      +
      +
      +
      +
    • +
    • +
      + + + + NMBPredicateStatus + +
      +
      +
      +
      +
      +
      +

      Provides an easy upgrade path for custom Matchers to be renamed to Matchers

      Declaration

      Swift

      -
      public typealias PredicateBlock = (_ actualExpression: Expression<NSObject>) throws -> NMBPredicateResult
      +
      @available(*, deprecated, renamed: "NMBMatcherStatus")
      +public typealias NMBPredicateStatus = NMBMatcherStatus
      @@ -1209,7 +1453,7 @@

      Declaration

    diff --git a/docs/badge.svg b/docs/badge.svg index 7eb257cb4..1423a8680 100644 --- a/docs/badge.svg +++ b/docs/badge.svg @@ -19,10 +19,10 @@ documentation - 46% + 47% - 46% + 47% diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes.html index 8bce30d70..99f3bf621 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1430,9 +1451,9 @@

    Declaration

  • - - - NMBPredicate + + + NMBMatcher
    @@ -1442,13 +1463,13 @@

    Declaration

    Undocumented

    - See more + See more

    Declaration

    Swift

    -
    public class NMBPredicate : NSObject
    +
    public class NMBMatcher : NSObject
    @@ -1458,9 +1479,9 @@

    Declaration

  • @@ -1470,13 +1491,13 @@

    Declaration

    Undocumented

    - See more + See more

    Declaration

    Swift

    -
    public class NMBObjCBeCloseToPredicate : NMBPredicate
    +
    public class NMBObjCBeCloseToMatcher : NMBMatcher
    @@ -1486,9 +1507,9 @@

    Declaration

  • @@ -1498,13 +1519,13 @@

    Declaration

    Undocumented

    - See more + See more

    Declaration

    Swift

    -
    final public class NMBPredicateResult : NSObject
    +
    final public class NMBMatcherResult : NSObject
    @@ -1514,9 +1535,9 @@

    Declaration

  • @@ -1526,13 +1547,13 @@

    Declaration

    Undocumented

    - See more + See more

    Declaration

    Swift

    -
    final public class NMBPredicateStatus : NSObject
    +
    final public class NMBMatcherStatus : NSObject
    @@ -1542,9 +1563,9 @@

    Declaration

  • @@ -1554,13 +1575,13 @@

    Declaration

    Undocumented

    - See more + See more

    Declaration

    Swift

    -
    public class NMBObjCRaiseExceptionPredicate : NMBPredicate
    +
    public class NMBObjCRaiseExceptionMatcher : NMBMatcher
    @@ -1648,7 +1669,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/AssertionDispatcher.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/AssertionDispatcher.html index 62242d847..1304035fa 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/AssertionDispatcher.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/AssertionDispatcher.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage
  • - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1202,7 +1223,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/AssertionRecorder.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/AssertionRecorder.html index 7b7a462ee..7d50e7e25 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/AssertionRecorder.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/AssertionRecorder.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1228,7 +1249,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/BadInstructionException.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/BadInstructionException.html index 15c304444..fc2f1b546 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/BadInstructionException.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/BadInstructionException.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1200,7 +1221,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/CurrentTestCaseTracker.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/CurrentTestCaseTracker.html index 83b40d1f5..bcdb8518c 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/CurrentTestCaseTracker.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/CurrentTestCaseTracker.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1227,7 +1248,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/FailureMessage.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/FailureMessage.html index c8c1dda4d..b9f16c705 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/FailureMessage.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/FailureMessage.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1418,7 +1439,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBExpectation.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBExpectation.html index eaff42cc9..3776a50de 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBExpectation.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBExpectation.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1216,7 +1237,7 @@

    Declaration

    Swift

    @objc
    -public var to: (NMBPredicate) -> NMBExpectation { get }
    +public var to: (NMBMatcher) -> NMBExpectation { get }
    @@ -1244,7 +1265,7 @@

    Declaration

    Swift

    @objc
    -public var toWithDescription: (NMBPredicate, String) -> NMBExpectation { get }
    +public var toWithDescription: (NMBMatcher, String) -> NMBExpectation { get }
    @@ -1272,7 +1293,7 @@

    Declaration

    Swift

    @objc
    -public var toNot: (NMBPredicate) -> NMBExpectation { get }
    +public var toNot: (NMBMatcher) -> NMBExpectation { get }
    @@ -1300,7 +1321,7 @@

    Declaration

    Swift

    @objc
    -public var toNotWithDescription: (NMBPredicate, String) -> NMBExpectation { get }
    +public var toNotWithDescription: (NMBMatcher, String) -> NMBExpectation { get }
    @@ -1328,7 +1349,7 @@

    Declaration

    Swift

    @objc
    -public var notTo: (NMBPredicate) -> NMBExpectation { get }
    +public var notTo: (NMBMatcher) -> NMBExpectation { get }
    @@ -1356,7 +1377,7 @@

    Declaration

    Swift

    @objc
    -public var notToWithDescription: (NMBPredicate, String) -> NMBExpectation { get }
    +public var notToWithDescription: (NMBMatcher, String) -> NMBExpectation { get }
    @@ -1384,7 +1405,7 @@

    Declaration

    Swift

    @objc
    -public var toEventually: (NMBPredicate) -> Void { get }
    +public var toEventually: (NMBMatcher) -> Void { get }
    @@ -1412,7 +1433,7 @@

    Declaration

    Swift

    @objc
    -public var toEventuallyWithDescription: (NMBPredicate, String) -> Void { get }
    +public var toEventuallyWithDescription: (NMBMatcher, String) -> Void { get }
    @@ -1440,7 +1461,7 @@

    Declaration

    Swift

    @objc
    -public var toEventuallyNot: (NMBPredicate) -> Void { get }
    +public var toEventuallyNot: (NMBMatcher) -> Void { get }
    @@ -1468,7 +1489,7 @@

    Declaration

    Swift

    @objc
    -public var toEventuallyNotWithDescription: (NMBPredicate, String) -> Void { get }
    +public var toEventuallyNotWithDescription: (NMBMatcher, String) -> Void { get }
    @@ -1496,7 +1517,7 @@

    Declaration

    Swift

    @objc
    -public var toNotEventually: (NMBPredicate) -> Void { get }
    +public var toNotEventually: (NMBMatcher) -> Void { get }
    @@ -1524,7 +1545,7 @@

    Declaration

    Swift

    @objc
    -public var toNotEventuallyWithDescription: (NMBPredicate, String) -> Void { get }
    +public var toNotEventuallyWithDescription: (NMBMatcher, String) -> Void { get }
    @@ -1552,7 +1573,7 @@

    Declaration

    Swift

    @objc
    -public var toNever: (NMBPredicate) -> Void { get }
    +public var toNever: (NMBMatcher) -> Void { get }
    @@ -1580,7 +1601,7 @@

    Declaration

    Swift

    @objc
    -public var toNeverWithDescription: (NMBPredicate, String) -> Void { get }
    +public var toNeverWithDescription: (NMBMatcher, String) -> Void { get }
    @@ -1608,7 +1629,7 @@

    Declaration

    Swift

    @objc
    -public var neverTo: (NMBPredicate) -> Void { get }
    +public var neverTo: (NMBMatcher) -> Void { get }
    @@ -1636,7 +1657,7 @@

    Declaration

    Swift

    @objc
    -public var neverToWithDescription: (NMBPredicate, String) -> Void { get }
    +public var neverToWithDescription: (NMBMatcher, String) -> Void { get }
    @@ -1664,7 +1685,7 @@

    Declaration

    Swift

    @objc
    -public var toAlways: (NMBPredicate) -> Void { get }
    +public var toAlways: (NMBMatcher) -> Void { get }
    @@ -1692,7 +1713,7 @@

    Declaration

    Swift

    @objc
    -public var toAlwaysWithDescription: (NMBPredicate, String) -> Void { get }
    +public var toAlwaysWithDescription: (NMBMatcher, String) -> Void { get }
    @@ -1720,7 +1741,7 @@

    Declaration

    Swift

    @objc
    -public var alwaysTo: (NMBPredicate) -> Void { get }
    +public var alwaysTo: (NMBMatcher) -> Void { get }
    @@ -1748,7 +1769,7 @@

    Declaration

    Swift

    @objc
    -public var alwaysToWithDescription: (NMBPredicate, String) -> Void { get }
    +public var alwaysToWithDescription: (NMBMatcher, String) -> Void { get }
    @@ -1788,7 +1809,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBExpectationMessage.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBExpectationMessage.html index 786b292ae..6ae7a59e9 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBExpectationMessage.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBExpectationMessage.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1414,7 +1435,7 @@

    Declaration

    diff --git a/docs/Classes/NMBPredicate.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBMatcher.html similarity index 82% rename from docs/Classes/NMBPredicate.html rename to docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBMatcher.html index 24e4790d8..198d08289 100644 --- a/docs/Classes/NMBPredicate.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBMatcher.html @@ -1,7 +1,7 @@ - NMBPredicate Class Reference + NMBMatcher Class Reference @@ -13,11 +13,11 @@ - - + +
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -30,7 +30,7 @@
    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1125,11 +1146,11 @@
    -

    NMBPredicate

    +

    NMBMatcher

    -
    public class NMBPredicate : NSObject
    +
    public class NMBMatcher : NSObject
    @@ -1142,9 +1163,36 @@

    NMBPredicate

  • - + + + init(matcher:) + +
    +
    +
    +
    +
    +
    +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public init(matcher: @escaping MatcherBlock)
    + +
    +
    +
    +
    +
  • +
  • +
    @@ -1159,7 +1207,7 @@

    NMBPredicate

    Declaration

    Swift

    -
    public init(predicate: @escaping PredicateBlock)
    +
    public convenience init(predicate: @escaping MatcherBlock)
    @@ -1169,9 +1217,9 @@

    Declaration

  • @@ -1187,7 +1235,7 @@

    Declaration

    Swift

    @objc
    -public class func allPassMatcher(_ predicate: NMBPredicate) -> NMBPredicate
    +public class func allPassMatcher(_ matcher: NMBMatcher) -> NMBMatcher
    @@ -1197,9 +1245,9 @@

    Declaration

  • @@ -1215,7 +1263,7 @@

    Declaration

    Swift

    @objc
    -public class func beAKindOfMatcher(_ expected: AnyClass) -> NMBPredicate
    +public class func beAKindOfMatcher(_ expected: AnyClass) -> NMBMatcher
    @@ -1225,9 +1273,9 @@

    Declaration

  • @@ -1243,7 +1291,7 @@

    Declaration

    Swift

    @objc
    -public class func beAnInstanceOfMatcher(_ expected: AnyClass) -> NMBPredicate
    +public class func beAnInstanceOfMatcher(_ expected: AnyClass) -> NMBMatcher
    @@ -1253,9 +1301,9 @@

    Declaration

  • @@ -1271,7 +1319,7 @@

    Declaration

    Swift

    @objc
    -public class func beCloseToMatcher(_ expected: NSNumber, within: CDouble) -> NMBObjCBeCloseToPredicate
    +public class func beCloseToMatcher(_ expected: NSNumber, within: CDouble) -> NMBObjCBeCloseToMatcher
    @@ -1281,9 +1329,9 @@

    Declaration

  • @@ -1299,7 +1347,7 @@

    Declaration

    Swift

    @objc
    -public class func beEmptyMatcher() -> NMBPredicate
    +public class func beEmptyMatcher() -> NMBMatcher
    @@ -1309,9 +1357,9 @@

    Declaration

  • @@ -1327,7 +1375,7 @@

    Declaration

    Swift

    @objc
    -public class func beGreaterThanMatcher(_ expected: NMBComparable?) -> NMBPredicate
    +public class func beGreaterThanMatcher(_ expected: NMBComparable?) -> NMBMatcher
    @@ -1337,9 +1385,9 @@

    Declaration

  • @@ -1355,7 +1403,7 @@

    Declaration

    Swift

    @objc
    -public class func beGreaterThanOrEqualToMatcher(_ expected: NMBComparable?) -> NMBPredicate
    +public class func beGreaterThanOrEqualToMatcher(_ expected: NMBComparable?) -> NMBMatcher
    @@ -1365,9 +1413,9 @@

    Declaration

  • @@ -1383,7 +1431,7 @@

    Declaration

    Swift

    @objc
    -public class func beIdenticalToMatcher(_ expected: NSObject?) -> NMBPredicate
    +public class func beIdenticalToMatcher(_ expected: NSObject?) -> NMBMatcher
    @@ -1393,9 +1441,9 @@

    Declaration

  • @@ -1411,7 +1459,7 @@

    Declaration

    Swift

    @objc
    -public class func beLessThanMatcher(_ expected: NMBComparable?) -> NMBPredicate
    +public class func beLessThanMatcher(_ expected: NMBComparable?) -> NMBMatcher
    @@ -1421,9 +1469,9 @@

    Declaration

  • @@ -1439,7 +1487,7 @@

    Declaration

    Swift

    @objc
    -public class func beLessThanOrEqualToMatcher(_ expected: NMBComparable?) -> NMBPredicate
    +public class func beLessThanOrEqualToMatcher(_ expected: NMBComparable?) -> NMBMatcher
    @@ -1462,9 +1510,9 @@

    beTruthy() / beFalsy()
  • @@ -1480,7 +1528,7 @@

    Declaration

    Swift

    @objc
    -public class func beTruthyMatcher() -> NMBPredicate
    +public class func beTruthyMatcher() -> NMBMatcher
    @@ -1490,9 +1538,9 @@

    Declaration

  • @@ -1508,7 +1556,7 @@

    Declaration

    Swift

    @objc
    -public class func beFalsyMatcher() -> NMBPredicate
    +public class func beFalsyMatcher() -> NMBMatcher
    @@ -1518,9 +1566,9 @@

    Declaration

  • @@ -1536,7 +1584,7 @@

    Declaration

    Swift

    @objc
    -public class func beTrueMatcher() -> NMBPredicate
    +public class func beTrueMatcher() -> NMBMatcher
    @@ -1546,9 +1594,9 @@

    Declaration

  • @@ -1564,7 +1612,7 @@

    Declaration

    Swift

    @objc
    -public class func beFalseMatcher() -> NMBPredicate
    +public class func beFalseMatcher() -> NMBMatcher
    @@ -1574,9 +1622,9 @@

    Declaration

  • @@ -1592,7 +1640,7 @@

    Declaration

    Swift

    @objc
    -public class func beNilMatcher() -> NMBPredicate
    +public class func beNilMatcher() -> NMBMatcher
    @@ -1602,9 +1650,9 @@

    Declaration

  • @@ -1620,7 +1668,7 @@

    Declaration

    Swift

    @objc
    -public class func beginWithMatcher(_ expected: Any) -> NMBPredicate
    +public class func beginWithMatcher(_ expected: Any) -> NMBMatcher
    @@ -1630,9 +1678,9 @@

    Declaration

  • @@ -1648,7 +1696,7 @@

    Declaration

    Swift

    @objc
    -public class func containMatcher(_ expected: [NSObject]) -> NMBPredicate
    +public class func containMatcher(_ expected: [NSObject]) -> NMBMatcher
    @@ -1658,9 +1706,9 @@

    Declaration

  • @@ -1676,7 +1724,7 @@

    Declaration

    Swift

    @objc
    -public class func containElementSatisfyingMatcher(_ predicate: @escaping ((NSObject) -> Bool)) -> NMBPredicate
    +public class func containElementSatisfyingMatcher(_ matcher: @escaping ((NSObject) -> Bool)) -> NMBMatcher
    @@ -1686,9 +1734,9 @@

    Declaration

  • @@ -1704,7 +1752,7 @@

    Declaration

    Swift

    @objc
    -public class func endWithMatcher(_ expected: Any) -> NMBPredicate
    +public class func endWithMatcher(_ expected: Any) -> NMBMatcher
    @@ -1714,9 +1762,9 @@

    Declaration

  • @@ -1732,7 +1780,7 @@

    Declaration

    Swift

    @objc
    -public class func equalMatcher(_ expected: NSObject) -> NMBPredicate
    +public class func equalMatcher(_ expected: NSObject) -> NMBMatcher
    @@ -1742,9 +1790,9 @@

    Declaration

  • @@ -1760,7 +1808,7 @@

    Declaration

    Swift

    @objc
    -public class func haveCountMatcher(_ expected: NSNumber) -> NMBPredicate
    +public class func haveCountMatcher(_ expected: NSNumber) -> NMBMatcher
    @@ -1770,9 +1818,9 @@

    Declaration

  • @@ -1788,7 +1836,7 @@

    Declaration

    Swift

    @objc
    -public class func matchMatcher(_ expected: NSString) -> NMBPredicate
    +public class func matchMatcher(_ expected: NSString) -> NMBMatcher
    @@ -1798,9 +1846,9 @@

    Declaration

  • @@ -1816,7 +1864,7 @@

    Declaration

    Swift

    @objc
    -public class func raiseExceptionMatcher() -> NMBObjCRaiseExceptionPredicate
    +public class func raiseExceptionMatcher() -> NMBObjCRaiseExceptionMatcher
    @@ -1826,9 +1874,9 @@

    Declaration

  • @@ -1844,7 +1892,7 @@

    Declaration

    Swift

    @objc
    -public class func satisfyAllOfMatcher(_ predicates: [NMBPredicate]) -> NMBPredicate
    +public class func satisfyAllOfMatcher(_ matchers: [NMBMatcher]) -> NMBMatcher
    @@ -1854,9 +1902,9 @@

    Declaration

  • @@ -1872,7 +1920,7 @@

    Declaration

    Swift

    @objc
    -public class func satisfyAnyOfMatcher(_ predicates: [NMBPredicate]) -> NMBPredicate
    +public class func satisfyAnyOfMatcher(_ matchers: [NMBMatcher]) -> NMBMatcher
    @@ -1884,7 +1932,7 @@

    Declaration

  • diff --git a/docs/Classes/NMBPredicateResult.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBMatcherResult.html similarity index 82% rename from docs/Classes/NMBPredicateResult.html rename to docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBMatcherResult.html index 6c565284e..4dcf64b04 100644 --- a/docs/Classes/NMBPredicateResult.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBMatcherResult.html @@ -1,7 +1,7 @@ - NMBPredicateResult Class Reference + NMBMatcherResult Class Reference @@ -13,11 +13,11 @@ - - + +
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -30,7 +30,7 @@
    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1125,11 +1146,11 @@
    -

    NMBPredicateResult

    +

    NMBMatcherResult

    -
    final public class NMBPredicateResult : NSObject
    +
    final public class NMBMatcherResult : NSObject
    @@ -1142,9 +1163,9 @@

    NMBPredicateResult

  • - + - status + status
    @@ -1159,7 +1180,7 @@

    NMBPredicateResult

    Declaration

    Swift

    -
    public var status: NMBPredicateStatus
    +
    public var status: NMBMatcherStatus
    @@ -1169,9 +1190,9 @@

    Declaration

  • - + - message + message
    @@ -1196,9 +1217,9 @@

    Declaration

  • @@ -1213,7 +1234,7 @@

    Declaration

    Declaration

    Swift

    -
    public init(status: NMBPredicateStatus, message: NMBExpectationMessage)
    +
    public init(status: NMBMatcherStatus, message: NMBExpectationMessage)
    @@ -1223,9 +1244,9 @@

    Declaration

  • @@ -1250,9 +1271,9 @@

    Declaration

  • @@ -1267,7 +1288,7 @@

    Declaration

    Declaration

    Swift

    -
    public func toSwift() -> PredicateResult
    +
    public func toSwift() -> MatcherResult
    @@ -1279,7 +1300,7 @@

    Declaration

  • diff --git a/docs/Classes/NMBPredicateStatus.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBMatcherStatus.html similarity index 82% rename from docs/Classes/NMBPredicateStatus.html rename to docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBMatcherStatus.html index eb8001af7..672d34d72 100644 --- a/docs/Classes/NMBPredicateStatus.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBMatcherStatus.html @@ -1,7 +1,7 @@ - NMBPredicateStatus Class Reference + NMBMatcherStatus Class Reference @@ -13,11 +13,11 @@ - - + +
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -30,7 +30,7 @@
    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1125,11 +1146,11 @@
    -

    NMBPredicateStatus

    +

    NMBMatcherStatus

    -
    final public class NMBPredicateStatus : NSObject
    +
    final public class NMBMatcherStatus : NSObject
    @@ -1142,9 +1163,9 @@

    NMBPredicateStatus

  • - + - matches + matches
    @@ -1159,7 +1180,7 @@

    NMBPredicateStatus

    Declaration

    Swift

    -
    public static let matches: NMBPredicateStatus
    +
    public static let matches: NMBMatcherStatus
    @@ -1169,9 +1190,9 @@

    Declaration

  • @@ -1186,7 +1207,7 @@

    Declaration

    Declaration

    Swift

    -
    public static let doesNotMatch: NMBPredicateStatus
    +
    public static let doesNotMatch: NMBMatcherStatus
    @@ -1196,9 +1217,9 @@

    Declaration

  • - + - fail + fail
    @@ -1213,7 +1234,7 @@

    Declaration

    Declaration

    Swift

    -
    public static let fail: NMBPredicateStatus
    +
    public static let fail: NMBMatcherStatus
    @@ -1223,9 +1244,9 @@

    Declaration

  • - + - hash + hash
    @@ -1250,9 +1271,9 @@

    Declaration

  • @@ -1277,9 +1298,9 @@

    Declaration

  • @@ -1294,7 +1315,7 @@

    Declaration

    Declaration

    Swift

    -
    public static func from(status: PredicateStatus) -> NMBPredicateStatus
    +
    public static func from(status: MatcherStatus) -> NMBMatcherStatus
    @@ -1304,9 +1325,9 @@

    Declaration

  • @@ -1321,7 +1342,7 @@

    Declaration

    Declaration

    Swift

    -
    public static func from(bool success: Bool) -> NMBPredicateStatus
    +
    public static func from(bool success: Bool) -> NMBMatcherStatus
    @@ -1331,9 +1352,9 @@

    Declaration

  • @@ -1348,7 +1369,7 @@

    Declaration

    Declaration

    Swift

    -
    public func toSwift() -> PredicateStatus
    +
    public func toSwift() -> MatcherStatus
    @@ -1360,7 +1381,7 @@

    Declaration

  • diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBObjCBeCloseToPredicate.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBObjCBeCloseToMatcher.html similarity index 82% rename from docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBObjCBeCloseToPredicate.html rename to docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBObjCBeCloseToMatcher.html index 2fbae1078..f834fb95e 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBObjCBeCloseToPredicate.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBObjCBeCloseToMatcher.html @@ -1,7 +1,7 @@ - NMBObjCBeCloseToPredicate Class Reference + NMBObjCBeCloseToMatcher Class Reference @@ -13,11 +13,11 @@ - - + +
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -30,7 +30,7 @@
    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1125,11 +1146,11 @@
    -

    NMBObjCBeCloseToPredicate

    +

    NMBObjCBeCloseToMatcher

    -
    public class NMBObjCBeCloseToPredicate : NMBPredicate
    +
    public class NMBObjCBeCloseToMatcher : NMBMatcher
    @@ -1142,9 +1163,9 @@

    NMBObjCBeCloseToPredicate

  • - + - within + within
    @@ -1160,7 +1181,7 @@

    Declaration

    Swift

    @objc
    -public var within: (CDouble) -> NMBObjCBeCloseToPredicate { get }
    +public var within: (CDouble) -> NMBObjCBeCloseToMatcher { get }
    @@ -1172,7 +1193,7 @@

    Declaration

  • diff --git a/docs/Classes/NMBObjCRaiseExceptionPredicate.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBObjCRaiseExceptionMatcher.html similarity index 82% rename from docs/Classes/NMBObjCRaiseExceptionPredicate.html rename to docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBObjCRaiseExceptionMatcher.html index d36e2876b..9875c55c4 100644 --- a/docs/Classes/NMBObjCRaiseExceptionPredicate.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBObjCRaiseExceptionMatcher.html @@ -1,7 +1,7 @@ - NMBObjCRaiseExceptionPredicate Class Reference + NMBObjCRaiseExceptionMatcher Class Reference @@ -13,11 +13,11 @@ - - + +
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -30,7 +30,7 @@
    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1125,11 +1146,11 @@
    -

    NMBObjCRaiseExceptionPredicate

    +

    NMBObjCRaiseExceptionMatcher

    -
    public class NMBObjCRaiseExceptionPredicate : NMBPredicate
    +
    public class NMBObjCRaiseExceptionMatcher : NMBMatcher
    @@ -1142,9 +1163,9 @@

    NMBObjCRaiseExceptionPredicate

  • - + - named + named
    @@ -1160,7 +1181,7 @@

    Declaration

    Swift

    @objc
    -public var named: (_ name: String) -> NMBObjCRaiseExceptionPredicate { get }
    +public var named: (_ name: String) -> NMBObjCRaiseExceptionMatcher { get }
    @@ -1170,9 +1191,9 @@

    Declaration

  • - + - reason + reason
    @@ -1188,7 +1209,7 @@

    Declaration

    Swift

    @objc
    -public var reason: (_ reason: String?) -> NMBObjCRaiseExceptionPredicate { get }
    +public var reason: (_ reason: String?) -> NMBObjCRaiseExceptionMatcher { get }
    @@ -1198,9 +1219,9 @@

    Declaration

  • - + - userInfo + userInfo
    @@ -1216,7 +1237,7 @@

    Declaration

    Swift

    @objc
    -public var userInfo: (_ userInfo: NSDictionary?) -> NMBObjCRaiseExceptionPredicate { get }
    +public var userInfo: (_ userInfo: NSDictionary?) -> NMBObjCRaiseExceptionMatcher { get }
    @@ -1226,9 +1247,9 @@

    Declaration

  • @@ -1244,7 +1265,7 @@

    Declaration

    Swift

    @objc
    -public var satisfyingBlock: (_ block: ((NSException) -> Void)?) -> NMBObjCRaiseExceptionPredicate { get }
    +public var satisfyingBlock: (_ block: ((NSException) -> Void)?) -> NMBObjCRaiseExceptionMatcher { get }
    @@ -1256,7 +1277,7 @@

    Declaration

  • diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBStringer.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBStringer.html index 18e3e6655..d125bd5b8 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBStringer.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBStringer.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1173,7 +1194,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBWait.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBWait.html index 21de8b15b..706183bd3 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBWait.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NMBWait.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1289,7 +1310,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NimbleShortXCTestHandler.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NimbleShortXCTestHandler.html index 656343241..9735d9b48 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NimbleShortXCTestHandler.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NimbleShortXCTestHandler.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1172,7 +1193,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NimbleXCTestHandler.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NimbleXCTestHandler.html index 08792cccb..9d40b73b9 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NimbleXCTestHandler.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/NimbleXCTestHandler.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1172,7 +1193,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/SourceLocation.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/SourceLocation.html index 86c34d140..7e8276b92 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/SourceLocation.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Classes/SourceLocation.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1225,7 +1246,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums.html index 5f375680c..fda7b3380 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1201,7 +1222,7 @@

    Declaration

    -

    Undocumented

    +

    The Expectation style intended for comparison to a MatcherStatus.

    See more
    @@ -1219,9 +1240,9 @@

    Declaration

  • @@ -1229,15 +1250,15 @@

    Declaration

    -

    PredicateStatus is a trinary that indicates if a Predicate matches a given value or not

    +

    MatcherStatus is a trinary that indicates if a Matcher matches a given value or not

    - See more + See more

    Declaration

    Swift

    -
    public enum PredicateStatus
    +
    public enum MatcherStatus
    @@ -1308,7 +1329,7 @@

    Declaration

  • diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/ExpectationMessage.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/ExpectationMessage.html index b1b074cf4..5108733ec 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/ExpectationMessage.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/ExpectationMessage.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1554,7 +1575,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/ExpectationStatus.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/ExpectationStatus.html index 8450c1bdf..87b5cdf19 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/ExpectationStatus.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/ExpectationStatus.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1152,7 +1173,7 @@

    ExpectationStatus

    -

    No predicates have been performed.

    +

    No matchers have been performed.

    @@ -1179,7 +1200,7 @@

    Declaration

    -

    All predicates have passed.

    +

    All matchers have passed.

    @@ -1206,7 +1227,7 @@

    Declaration

    -

    All predicates have failed.

    +

    All matchers have failed.

    @@ -1233,7 +1254,7 @@

    Declaration

    -

    Multiple predicates have been peformed, with at least one passing and one failing.

    +

    Multiple matchers have been peformed, with at least one passing and one failing.

    @@ -1252,7 +1273,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/ExpectationStyle.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/ExpectationStyle.html index 04355abb8..743d134e9 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/ExpectationStyle.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/ExpectationStyle.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1133,7 +1154,7 @@

    ExpectationStyle

    -

    Undocumented

    +

    The Expectation style intended for comparison to a MatcherStatus.

    @@ -1198,7 +1219,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/PredicateStatus.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/MatcherStatus.html similarity index 82% rename from docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/PredicateStatus.html rename to docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/MatcherStatus.html index fe7bf4980..86baf5664 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/PredicateStatus.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/MatcherStatus.html @@ -1,7 +1,7 @@ - PredicateStatus Enumeration Reference + MatcherStatus Enumeration Reference @@ -13,11 +13,11 @@ - - + +
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -30,7 +30,7 @@
    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1125,15 +1146,15 @@
    -

    PredicateStatus

    +

    MatcherStatus

    -
    public enum PredicateStatus
    +
    public enum MatcherStatus
    -

    PredicateStatus is a trinary that indicates if a Predicate matches a given value or not

    +

    MatcherStatus is a trinary that indicates if a Matcher matches a given value or not

    @@ -1142,9 +1163,9 @@

    PredicateStatus

  • - + - matches + matches
    @@ -1152,7 +1173,7 @@

    PredicateStatus

    -

    Matches indicates if the predicate / matcher passes with the given value

    +

    Matches indicates if the matcher / matcher passes with the given value

    For example, equals(1) returns .matches for expect(1).to(equal(1)).

    @@ -1171,9 +1192,9 @@

    Declaration

  • @@ -1181,7 +1202,7 @@

    Declaration

    -

    DoesNotMatch indicates if the predicate / matcher fails with the given value, but would +

    DoesNotMatch indicates if the matcher fails with the given value, but would succeed if the expectation was inverted.

    For example, equals(2) returns .doesNotMatch for expect(1).toNot(equal(2)).

    @@ -1201,9 +1222,9 @@

    Declaration

  • - + - fail + fail
    @@ -1211,12 +1232,12 @@

    Declaration

    -

    Fail indicates the predicate will never satisfy with the given value in any case. +

    Fail indicates the matcher will never satisfy with the given value in any case. A perfect example is that most matchers fail whenever given nil.

    Using equal(1) fails both expect(nil).to(equal(1)) and expect(nil).toNot(equal(1)). -Note: Predicate’s requireNonNil property will also provide this feature mostly for free. - Your predicate will still need to guard against nils, but error messaging will be +Note: Matcher’s requireNonNil property will also provide this feature mostly for free. + Your matcher will still need to guard against nils, but error messaging will be handled for you.

    @@ -1234,9 +1255,9 @@

    Declaration

  • @@ -1261,9 +1282,9 @@

    Declaration

  • @@ -1278,7 +1299,7 @@

    Declaration

    Declaration

    Swift

    -
    public func toObjectiveC() -> NMBPredicateStatus
    +
    public func toObjectiveC() -> NMBMatcherStatus
    @@ -1290,7 +1311,7 @@

    Declaration

  • diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/NimbleTimeInterval.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/NimbleTimeInterval.html index 59230fa61..badc3069f 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/NimbleTimeInterval.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/NimbleTimeInterval.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1386,7 +1407,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/ToSucceedResult.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/ToSucceedResult.html index 8739551ef..c50ffd3e8 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/ToSucceedResult.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Enums/ToSucceedResult.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1200,7 +1221,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions.html index 633e812c7..3436a6bb3 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1900,7 +1921,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/AnySequence.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/AnySequence.html index e0a494d50..255c9c305 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/AnySequence.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/AnySequence.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1170,7 +1191,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Array.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Array.html index 232bb3929..261509ed6 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Array.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Array.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1170,7 +1191,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Data.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Data.html index 7ba3dd13d..940f986fd 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Data.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Data.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1170,7 +1191,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Date.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Date.html index b0515072b..7ebc9db5a 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Date.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Date.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1226,7 +1247,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Double.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Double.html index 8c3babc11..e7ee5d0a2 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Double.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Double.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1197,7 +1218,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Float.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Float.html index 0ddf494c1..5d5bb7354 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Float.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Float.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1197,7 +1218,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Int.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Int.html index f575292a3..59abaa093 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Int.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Int.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1169,7 +1190,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Int16.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Int16.html index 4ac664801..9e8150f2f 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Int16.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Int16.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1169,7 +1190,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Int32.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Int32.html index 000cd90f3..550798acd 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Int32.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Int32.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1169,7 +1190,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Int64.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Int64.html index 3d8459b35..9c378026b 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Int64.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Int64.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1169,7 +1190,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Int8.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Int8.html index 06ba7f2f6..1d63531f2 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Int8.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/Int8.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1169,7 +1190,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSArray.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSArray.html index a2d4f73c2..e5e7a7f0b 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSArray.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSArray.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1172,7 +1193,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSDate.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSDate.html index 2773ac6de..a235d42f5 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSDate.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSDate.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1198,7 +1219,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSException.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSException.html index 99711f423..57b60f000 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSException.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSException.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1170,7 +1191,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSIndexSet.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSIndexSet.html index 18a6d2a68..1f1dd3d7c 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSIndexSet.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSIndexSet.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1171,7 +1192,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSNumber.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSNumber.html index ef98bab7c..b6b834722 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSNumber.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSNumber.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1199,7 +1220,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSString.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSString.html index d5aee3472..114f9b768 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSString.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/NSString.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1170,7 +1191,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/String.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/String.html index 622cf0b71..9b344517f 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/String.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/String.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1170,7 +1191,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/TimeInterval.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/TimeInterval.html index 65b2c3252..36cf3116b 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/TimeInterval.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/TimeInterval.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1170,7 +1191,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/UInt.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/UInt.html index f22aee48d..3b5d9ce4a 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/UInt.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/UInt.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1169,7 +1190,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/UInt16.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/UInt16.html index fc1bfe839..83b6dcc0e 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/UInt16.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/UInt16.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1169,7 +1190,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/UInt32.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/UInt32.html index f2617ffcd..91c45e70f 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/UInt32.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/UInt32.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1169,7 +1190,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/UInt64.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/UInt64.html index 455a4866b..12246a37d 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/UInt64.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/UInt64.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1169,7 +1190,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/UInt8.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/UInt8.html index af7d3dbbb..5df8842cf 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/UInt8.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Extensions/UInt8.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1169,7 +1190,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Functions.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Functions.html index 044bd641d..5ce0b60a6 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Functions.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Functions.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -2155,9 +2176,9 @@

    Declaration

  • @@ -2174,7 +2195,7 @@

    Declaration

    Swift

    public func allPass<S: Sequence>(
         _ passFunc: @escaping (S.Element) throws -> Bool
    -) -> Predicate<S>
    +) -> Matcher<S>
  • @@ -2184,9 +2205,9 @@

    Declaration

  • @@ -2204,7 +2225,7 @@

    Declaration

    public func allPass<S: Sequence>(
         _ passName: String,
         _ passFunc: @escaping (S.Element) throws -> Bool
    -) -> Predicate<S>
    +) -> Matcher<S>
  • @@ -2214,9 +2235,9 @@

    Declaration

  • @@ -2231,7 +2252,7 @@

    Declaration

    Declaration

    Swift

    -
    public func allPass<S>(_ elementPredicate: Predicate<S.Element>) -> Predicate<S> where S : Sequence
    +
    public func allPass<S>(_ elementMatcher: Matcher<S.Element>) -> Matcher<S> where S : Sequence
    @@ -2241,9 +2262,9 @@

    Declaration

  • @@ -2260,7 +2281,7 @@

    Declaration

    Swift

    public func allPass<S: Sequence>(
         _ passFunc: @escaping (S.Element) async throws -> Bool
    -) -> AsyncPredicate<S>
    +) -> AsyncMatcher<S>
  • @@ -2270,9 +2291,9 @@

    Declaration

  • @@ -2290,7 +2311,7 @@

    Declaration

    public func allPass<S: Sequence>(
         _ passName: String,
         _ passFunc: @escaping (S.Element) async throws -> Bool
    -) -> AsyncPredicate<S>
    +) -> AsyncMatcher<S>
  • @@ -2300,9 +2321,9 @@

    Declaration

  • @@ -2317,7 +2338,7 @@

    Declaration

    Declaration

    Swift

    -
    public func allPass<S>(_ elementPredicate: AsyncPredicate<S.Element>) -> AsyncPredicate<S> where S : Sequence
    +
    public func allPass<S>(_ elementMatcher: AsyncMatcher<S.Element>) -> AsyncMatcher<S> where S : Sequence
    @@ -2327,9 +2348,9 @@

    Declaration

  • @@ -2344,7 +2365,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beAKindOf<T>(_ expectedType: T.Type) -> Predicate<Any>
    +
    public func beAKindOf<T>(_ expectedType: T.Type) -> Matcher<Any>
    @@ -2354,9 +2375,9 @@

    Declaration

  • @@ -2372,7 +2393,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beAKindOf(_ expectedClass: AnyClass) -> Predicate<NSObject>
    +
    public func beAKindOf(_ expectedClass: AnyClass) -> Matcher<NSObject>
    @@ -2382,9 +2403,9 @@

    Declaration

  • @@ -2399,7 +2420,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beAnInstanceOf<T>(_ expectedType: T.Type) -> Predicate<Any>
    +
    public func beAnInstanceOf<T>(_ expectedType: T.Type) -> Matcher<Any>
    @@ -2409,9 +2430,9 @@

    Declaration

  • @@ -2427,7 +2448,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beAnInstanceOf(_ expectedClass: AnyClass) -> Predicate<NSObject>
    +
    public func beAnInstanceOf(_ expectedClass: AnyClass) -> Matcher<NSObject>
    @@ -2464,9 +2485,9 @@

    Declaration

  • @@ -2487,7 +2508,7 @@

    Declaration

    public func beCloseTo<Value: FloatingPoint>(
         _ expectedValue: Value,
         within delta: Value = defaultDelta()
    -) -> Predicate<Value>
    +) -> Matcher<Value>
  • @@ -2497,9 +2518,9 @@

    Declaration

  • @@ -2520,7 +2541,7 @@

    Declaration

    public func beCloseTo<Value: NMBDoubleConvertible>(
         _ expectedValue: Value,
         within delta: Double = DefaultDelta
    -) -> Predicate<Value>
    +) -> Matcher<Value>
  • @@ -2530,9 +2551,9 @@

    Declaration

  • @@ -2550,7 +2571,7 @@

    Declaration

    public func beCloseTo<Value: FloatingPoint, Values: Collection>(
         _ expectedValues: Values,
         within delta: Value = defaultDelta()
    -) -> Predicate<Values> where Values.Element == Value
    +) -> Matcher<Values> where Values.Element == Value
  • @@ -3026,9 +3047,9 @@

    Declaration

  • @@ -3044,7 +3065,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beEmpty<S>() -> Predicate<S> where S : Sequence
    +
    public func beEmpty<S>() -> Matcher<S> where S : Sequence
    @@ -3054,9 +3075,9 @@

    Declaration

  • @@ -3072,7 +3093,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beEmpty<S>() -> Predicate<S> where S : SetAlgebra
    +
    public func beEmpty<S>() -> Matcher<S> where S : SetAlgebra
    @@ -3082,9 +3103,9 @@

    Declaration

  • @@ -3100,7 +3121,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beEmpty<S>() -> Predicate<S> where S : Sequence, S : SetAlgebra
    +
    public func beEmpty<S>() -> Matcher<S> where S : Sequence, S : SetAlgebra
    @@ -3110,9 +3131,9 @@

    Declaration

  • @@ -3128,7 +3149,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beEmpty() -> Predicate<String>
    +
    public func beEmpty() -> Matcher<String>
    @@ -3138,9 +3159,9 @@

    Declaration

  • @@ -3156,7 +3177,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beEmpty() -> Predicate<NSString>
    +
    public func beEmpty() -> Matcher<NSString>
    @@ -3166,9 +3187,9 @@

    Declaration

  • @@ -3184,7 +3205,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beEmpty() -> Predicate<NSDictionary>
    +
    public func beEmpty() -> Matcher<NSDictionary>
    @@ -3194,9 +3215,9 @@

    Declaration

  • @@ -3212,7 +3233,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beEmpty() -> Predicate<NSArray>
    +
    public func beEmpty() -> Matcher<NSArray>
    @@ -3222,9 +3243,9 @@

    Declaration

  • @@ -3240,7 +3261,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beEmpty() -> Predicate<NMBCollection>
    +
    public func beEmpty() -> Matcher<NMBCollection>
    @@ -3250,9 +3271,9 @@

    Declaration

  • @@ -3267,7 +3288,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beGreaterThan<T>(_ expectedValue: T?) -> Predicate<T> where T : Comparable
    +
    public func beGreaterThan<T>(_ expectedValue: T?) -> Matcher<T> where T : Comparable
    @@ -3334,9 +3355,9 @@

    Declaration

  • @@ -3351,7 +3372,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beGreaterThan<T>(_ expectedValue: T?) -> Predicate<T> where T : NMBComparable
    +
    public func beGreaterThan<T>(_ expectedValue: T?) -> Matcher<T> where T : NMBComparable
    @@ -3418,9 +3439,9 @@

    Declaration

  • @@ -3436,7 +3457,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beGreaterThanOrEqualTo<T>(_ expectedValue: T?) -> Predicate<T> where T : Comparable
    +
    public func beGreaterThanOrEqualTo<T>(_ expectedValue: T?) -> Matcher<T> where T : Comparable
    @@ -3503,9 +3524,9 @@

    Declaration

  • @@ -3521,7 +3542,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beGreaterThanOrEqualTo<T>(_ expectedValue: T?) -> Predicate<T> where T : NMBComparable
    +
    public func beGreaterThanOrEqualTo<T>(_ expectedValue: T?) -> Matcher<T> where T : NMBComparable
    @@ -3588,9 +3609,9 @@

    Declaration

  • @@ -3606,7 +3627,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beIdenticalTo(_ expected: AnyObject?) -> Predicate<AnyObject>
    +
    public func beIdenticalTo(_ expected: AnyObject?) -> Matcher<AnyObject>
    @@ -3730,9 +3751,9 @@

    Declaration

  • - + - be(_:) + be(_:)
    @@ -3750,7 +3771,7 @@

    Declaration

    Declaration

    Swift

    -
    public func be(_ expected: AnyObject?) -> Predicate<AnyObject>
    +
    public func be(_ expected: AnyObject?) -> Matcher<AnyObject>
    @@ -3760,9 +3781,9 @@

    Declaration

  • @@ -3777,7 +3798,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beLessThan<T>(_ expectedValue: T?) -> Predicate<T> where T : Comparable
    +
    public func beLessThan<T>(_ expectedValue: T?) -> Matcher<T> where T : Comparable
    @@ -3844,9 +3865,9 @@

    Declaration

  • @@ -3861,7 +3882,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beLessThan<T>(_ expectedValue: T?) -> Predicate<T> where T : NMBComparable
    +
    public func beLessThan<T>(_ expectedValue: T?) -> Matcher<T> where T : NMBComparable
    @@ -3928,9 +3949,9 @@

    Declaration

  • @@ -3946,7 +3967,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beLessThanOrEqualTo<T>(_ expectedValue: T?) -> Predicate<T> where T : Comparable
    +
    public func beLessThanOrEqualTo<T>(_ expectedValue: T?) -> Matcher<T> where T : Comparable
    @@ -4013,9 +4034,9 @@

    Declaration

  • @@ -4031,7 +4052,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beLessThanOrEqualTo<T>(_ expectedValue: T?) -> Predicate<T> where T : NMBComparable
    +
    public func beLessThanOrEqualTo<T>(_ expectedValue: T?) -> Matcher<T> where T : NMBComparable
    @@ -4111,9 +4132,9 @@

    beTrue() / beFalse()
  • - + - beTrue() + beTrue()
    @@ -4129,7 +4150,7 @@

    beTrue() / beFalse()

    Declaration

    Swift

    -
    public func beTrue() -> Predicate<Bool>
    +
    public func beTrue() -> Matcher<Bool>
    @@ -4139,9 +4160,9 @@

    Declaration

  • @@ -4157,7 +4178,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beFalse() -> Predicate<Bool>
    +
    public func beFalse() -> Matcher<Bool>
    @@ -4180,9 +4201,9 @@

    beTruthy() / beFalsy()
  • @@ -4197,7 +4218,7 @@

    beTruthy() / beFalsy()

    Declaration

    Swift

    -
    public func beTruthy<T>() -> Predicate<T> where T : Equatable, T : ExpressibleByBooleanLiteral
    +
    public func beTruthy<T>() -> Matcher<T> where T : Equatable, T : ExpressibleByBooleanLiteral
    @@ -4207,9 +4228,9 @@

    Declaration

  • @@ -4225,7 +4246,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beFalsy<T>() -> Predicate<T> where T : Equatable, T : ExpressibleByBooleanLiteral
    +
    public func beFalsy<T>() -> Matcher<T> where T : Equatable, T : ExpressibleByBooleanLiteral
    @@ -4235,9 +4256,9 @@

    Declaration

  • - + - beNil() + beNil()
    @@ -4252,7 +4273,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beNil<T>() -> Predicate<T>
    +
    public func beNil<T>() -> Matcher<T>
    @@ -4262,9 +4283,9 @@

    Declaration

  • @@ -4284,7 +4305,7 @@

    Declaration

    Swift

    public func beSuccess<Success, Failure>(
         test: ((Success) -> Void)? = nil
    -) -> Predicate<Result<Success, Failure>>
    +) -> Matcher<Result<Success, Failure>>
  • @@ -4294,9 +4315,9 @@

    Declaration

  • @@ -4316,7 +4337,7 @@

    Declaration

    Swift

    public func beFailure<Success, Failure>(
         test: ((Failure) -> Void)? = nil
    -) -> Predicate<Result<Success, Failure>>
    +) -> Matcher<Result<Success, Failure>>
  • @@ -4326,9 +4347,9 @@

    Declaration

  • - + - beVoid() + beVoid()
    @@ -4343,7 +4364,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beVoid() -> Predicate<()>
    +
    public func beVoid() -> Matcher<()>
    @@ -4467,9 +4488,9 @@

    Declaration

  • @@ -4484,7 +4505,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beWithin<T>(_ range: Range<T>) -> Predicate<T> where T : Comparable
    +
    public func beWithin<T>(_ range: Range<T>) -> Matcher<T> where T : Comparable
    @@ -4494,9 +4515,9 @@

    Declaration

  • @@ -4511,7 +4532,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beWithin<T>(_ range: ClosedRange<T>) -> Predicate<T> where T : Comparable
    +
    public func beWithin<T>(_ range: ClosedRange<T>) -> Matcher<T> where T : Comparable
    @@ -4521,9 +4542,9 @@

    Declaration

  • @@ -4539,7 +4560,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beginWith<S>(_ startingElement: S.Element) -> Predicate<S> where S : Sequence, S.Element : Equatable
    +
    public func beginWith<S>(_ startingElement: S.Element) -> Matcher<S> where S : Sequence, S.Element : Equatable
    @@ -4549,9 +4570,9 @@

    Declaration

  • @@ -4567,7 +4588,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beginWith(_ startingElement: Any) -> Predicate<NMBOrderedCollection>
    +
    public func beginWith(_ startingElement: Any) -> Matcher<NMBOrderedCollection>
    @@ -4577,9 +4598,9 @@

    Declaration

  • @@ -4595,7 +4616,7 @@

    Declaration

    Declaration

    Swift

    -
    public func beginWith(_ startingSubstring: String) -> Predicate<String>
    +
    public func beginWith(_ startingSubstring: String) -> Matcher<String>
    @@ -4605,9 +4626,9 @@

    Declaration

  • @@ -4625,7 +4646,7 @@

    Declaration

    Swift

    public func beginWith<Seq1: Sequence, Seq2: Sequence>(prefix expectedPrefix: Seq2?)
    -    -> Predicate<Seq1> where Seq1.Element: Equatable, Seq1.Element == Seq2.Element
    + -> Matcher<Seq1> where Seq1.Element: Equatable, Seq1.Element == Seq2.Element
    @@ -4635,9 +4656,9 @@

    Declaration

  • @@ -4645,7 +4666,7 @@

    Declaration

    -

    A Nimble matcher that succeeds when the expected sequence is the prefix of the actual sequence, using the given predicate as the equivalence test.

    +

    A Nimble matcher that succeeds when the expected sequence is the prefix of the actual sequence, using the given matcher as the equivalence test.

    This is a matcher abstraction for https://developer.apple.com/documentation/swift/sequence/2996828-starts

    @@ -4657,7 +4678,7 @@

    Declaration

    public func beginWith<Seq1: Sequence, Seq2: Sequence>(
         prefix expectedPrefix: Seq2?,
         by areEquivalent: @escaping (Seq1.Element, Seq2.Element) -> Bool
    -) -> Predicate<Seq1>
    +) -> Matcher<Seq1>
    @@ -4667,9 +4688,9 @@

    Declaration

  • @@ -4684,7 +4705,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain<S>(_ items: S.Element...) -> Predicate<S> where S : Sequence, S.Element : Equatable
    +
    public func contain<S>(_ items: S.Element...) -> Matcher<S> where S : Sequence, S.Element : Equatable
    @@ -4694,9 +4715,9 @@

    Declaration

  • @@ -4711,7 +4732,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain<S>(_ items: [S.Element]) -> Predicate<S> where S : Sequence, S.Element : Equatable
    +
    public func contain<S>(_ items: [S.Element]) -> Matcher<S> where S : Sequence, S.Element : Equatable
    @@ -4721,9 +4742,9 @@

    Declaration

  • @@ -4738,7 +4759,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain<S>(_ items: S.Element...) -> Predicate<S> where S : SetAlgebra, S.Element : Equatable
    +
    public func contain<S>(_ items: S.Element...) -> Matcher<S> where S : SetAlgebra, S.Element : Equatable
    @@ -4748,9 +4769,9 @@

    Declaration

  • @@ -4765,7 +4786,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain<S>(_ items: [S.Element]) -> Predicate<S> where S : SetAlgebra, S.Element : Equatable
    +
    public func contain<S>(_ items: [S.Element]) -> Matcher<S> where S : SetAlgebra, S.Element : Equatable
    @@ -4775,9 +4796,9 @@

    Declaration

  • @@ -4792,7 +4813,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain<S>(_ items: S.Element...) -> Predicate<S> where S : Sequence, S : SetAlgebra, S.Element : Equatable
    +
    public func contain<S>(_ items: S.Element...) -> Matcher<S> where S : Sequence, S : SetAlgebra, S.Element : Equatable
    @@ -4802,9 +4823,9 @@

    Declaration

  • @@ -4819,7 +4840,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain<S>(_ items: [S.Element]) -> Predicate<S> where S : Sequence, S : SetAlgebra, S.Element : Equatable
    +
    public func contain<S>(_ items: [S.Element]) -> Matcher<S> where S : Sequence, S : SetAlgebra, S.Element : Equatable
    @@ -4829,9 +4850,9 @@

    Declaration

  • @@ -4846,7 +4867,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain(_ substrings: String...) -> Predicate<String>
    +
    public func contain(_ substrings: String...) -> Matcher<String>
    @@ -4856,9 +4877,9 @@

    Declaration

  • @@ -4873,7 +4894,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain(_ substrings: [String]) -> Predicate<String>
    +
    public func contain(_ substrings: [String]) -> Matcher<String>
    @@ -4883,9 +4904,9 @@

    Declaration

  • @@ -4900,7 +4921,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain(_ substrings: NSString...) -> Predicate<NSString>
    +
    public func contain(_ substrings: NSString...) -> Matcher<NSString>
    @@ -4910,9 +4931,9 @@

    Declaration

  • @@ -4927,7 +4948,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain(_ substrings: [NSString]) -> Predicate<NSString>
    +
    public func contain(_ substrings: [NSString]) -> Matcher<NSString>
    @@ -4937,9 +4958,9 @@

    Declaration

  • @@ -4954,7 +4975,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain(_ items: Any?...) -> Predicate<NMBContainer>
    +
    public func contain(_ items: Any?...) -> Matcher<NMBContainer>
    @@ -4964,9 +4985,9 @@

    Declaration

  • @@ -4981,7 +5002,7 @@

    Declaration

    Declaration

    Swift

    -
    public func contain(_ items: [Any?]) -> Predicate<NMBContainer>
    +
    public func contain(_ items: [Any?]) -> Matcher<NMBContainer>
    @@ -4991,9 +5012,9 @@

    Declaration

  • @@ -5009,8 +5030,8 @@

    Declaration

    Swift

    public func containElementSatisfying<S: Sequence>(
    -    _ predicate: @escaping ((S.Element) -> Bool), _ predicateDescription: String = ""
    -) -> Predicate<S>
    + _ matcher: @escaping ((S.Element) -> Bool), _ matcherDescription: String = "" +) -> Matcher<S>
    @@ -5020,9 +5041,9 @@

    Declaration

  • @@ -5038,8 +5059,8 @@

    Declaration

    Swift

    public func containElementSatisfying<S: Sequence>(
    -    _ predicate: @escaping ((S.Element) async -> Bool), _ predicateDescription: String = ""
    -) -> AsyncPredicate<S>
    + _ matcher: @escaping ((S.Element) async -> Bool), _ matcherDescription: String = "" +) -> AsyncMatcher<S>
    @@ -5049,9 +5070,9 @@

    Declaration

  • @@ -5071,7 +5092,7 @@

    Declaration

    Swift

    public func elementsEqual<Seq1: Sequence, Seq2: Sequence>(
         _ expectedValue: Seq2?
    -) -> Predicate<Seq1> where Seq1.Element: Equatable, Seq1.Element == Seq2.Element
    +) -> Matcher<Seq1> where Seq1.Element: Equatable, Seq1.Element == Seq2.Element
  • @@ -5081,9 +5102,9 @@

    Declaration

  • @@ -5092,7 +5113,7 @@

    Declaration

    A Nimble matcher that succeeds when the actual sequence and the exepected sequence contain equivalent elements in -the same order, using the given predicate as the equivalence test.

    +the same order, using the given matcher as the equivalence test.

    This is a matcher abstraction for https://developer.apple.com/documentation/swift/sequence/2949668-elementsequal

    @@ -5104,7 +5125,7 @@

    Declaration

    public func elementsEqual<Seq1: Sequence, Seq2: Sequence>(
         _ expectedValue: Seq2?,
         by areEquivalent: @escaping (Seq1.Element, Seq2.Element) -> Bool
    -) -> Predicate<Seq1>
    +) -> Matcher<Seq1>
    @@ -5114,9 +5135,9 @@

    Declaration

  • @@ -5132,7 +5153,7 @@

    Declaration

    Declaration

    Swift

    -
    public func endWith<S>(_ endingElement: S.Element) -> Predicate<S> where S : Sequence, S.Element : Equatable
    +
    public func endWith<S>(_ endingElement: S.Element) -> Matcher<S> where S : Sequence, S.Element : Equatable
    @@ -5142,9 +5163,9 @@

    Declaration

  • @@ -5160,7 +5181,7 @@

    Declaration

    Declaration

    Swift

    -
    public func endWith(_ endingElement: Any) -> Predicate<NMBOrderedCollection>
    +
    public func endWith(_ endingElement: Any) -> Matcher<NMBOrderedCollection>
    @@ -5170,9 +5191,9 @@

    Declaration

  • @@ -5189,7 +5210,7 @@

    Declaration

    Declaration

    Swift

    -
    public func endWith(_ endingSubstring: String) -> Predicate<String>
    +
    public func endWith(_ endingSubstring: String) -> Matcher<String>
    @@ -5212,9 +5233,9 @@

    Tuple2
  • @@ -5232,7 +5253,7 @@

    Declaration

    Swift

    public func equal<T1: Equatable, T2: Equatable>(
         _ expectedValue: (T1, T2)?
    -) -> Predicate<(T1, T2)>
    +) -> Matcher<(T1, T2)>
  • @@ -5381,9 +5402,9 @@

    Tuple3
  • @@ -5401,7 +5422,7 @@

    Declaration

    Swift

    public func equal<T1: Equatable, T2: Equatable, T3: Equatable>(
         _ expectedValue: (T1, T2, T3)?
    -) -> Predicate<(T1, T2, T3)>
    +) -> Matcher<(T1, T2, T3)>
  • @@ -5550,9 +5571,9 @@

    Tuple4
  • @@ -5570,7 +5591,7 @@

    Declaration

    Swift

    public func equal<T1: Equatable, T2: Equatable, T3: Equatable, T4: Equatable>(
         _ expectedValue: (T1, T2, T3, T4)?
    -) -> Predicate<(T1, T2, T3, T4)>
    +) -> Matcher<(T1, T2, T3, T4)>
  • @@ -5719,9 +5740,9 @@

    Tuple5
  • @@ -5739,7 +5760,7 @@

    Declaration

    Swift

    public func equal<T1: Equatable, T2: Equatable, T3: Equatable, T4: Equatable, T5: Equatable>(
         _ expectedValue: (T1, T2, T3, T4, T5)?
    -) -> Predicate<(T1, T2, T3, T4, T5)>
    +) -> Matcher<(T1, T2, T3, T4, T5)>
  • @@ -5888,9 +5909,9 @@

    Tuple6
  • @@ -5908,7 +5929,7 @@

    Declaration

    Swift

    public func equal<T1: Equatable, T2: Equatable, T3: Equatable, T4: Equatable, T5: Equatable, T6: Equatable>(
         _ expectedValue: (T1, T2, T3, T4, T5, T6)?
    -) -> Predicate<(T1, T2, T3, T4, T5, T6)>
    +) -> Matcher<(T1, T2, T3, T4, T5, T6)>
  • @@ -6057,9 +6078,9 @@

    Tuple2 Array
  • @@ -6077,7 +6098,7 @@

    Declaration

    Swift

    public func equal<T1: Equatable, T2: Equatable>(
         _ expectedValue: [(T1, T2)]?
    -) -> Predicate<[(T1, T2)]>
    +) -> Matcher<[(T1, T2)]>
  • @@ -6226,9 +6247,9 @@

    Tuple3 Array
  • @@ -6246,7 +6267,7 @@

    Declaration

    Swift

    public func equal<T1: Equatable, T2: Equatable, T3: Equatable>(
         _ expectedValue: [(T1, T2, T3)]?
    -) -> Predicate<[(T1, T2, T3)]>
    +) -> Matcher<[(T1, T2, T3)]>
  • @@ -6395,9 +6416,9 @@

    Tuple4 Array
  • @@ -6415,7 +6436,7 @@

    Declaration

    Swift

    public func equal<T1: Equatable, T2: Equatable, T3: Equatable, T4: Equatable>(
         _ expectedValue: [(T1, T2, T3, T4)]?
    -) -> Predicate<[(T1, T2, T3, T4)]>
    +) -> Matcher<[(T1, T2, T3, T4)]>
  • @@ -6564,9 +6585,9 @@

    Tuple5 Array
  • @@ -6584,7 +6605,7 @@

    Declaration

    Swift

    public func equal<T1: Equatable, T2: Equatable, T3: Equatable, T4: Equatable, T5: Equatable>(
         _ expectedValue: [(T1, T2, T3, T4, T5)]?
    -) -> Predicate<[(T1, T2, T3, T4, T5)]>
    +) -> Matcher<[(T1, T2, T3, T4, T5)]>
  • @@ -6733,9 +6754,9 @@

    Tuple6 Array
  • @@ -6753,7 +6774,7 @@

    Declaration

    Swift

    public func equal<T1: Equatable, T2: Equatable, T3: Equatable, T4: Equatable, T5: Equatable, T6: Equatable>(
         _ expectedValue: [(T1, T2, T3, T4, T5, T6)]?
    -) -> Predicate<[(T1, T2, T3, T4, T5, T6)]>
    +) -> Matcher<[(T1, T2, T3, T4, T5, T6)]>
  • @@ -6889,9 +6910,9 @@

    Declaration

  • @@ -6909,7 +6930,7 @@

    Declaration

    Declaration

    Swift

    -
    public func equal<T>(_ expectedValue: T) -> Predicate<T> where T : Equatable
    +
    public func equal<T>(_ expectedValue: T) -> Matcher<T> where T : Equatable
    @@ -6919,9 +6940,9 @@

    Declaration

  • @@ -6936,7 +6957,7 @@

    Declaration

    Declaration

    Swift

    -
    public func equal<T>(_ expectedValue: [T?]) -> Predicate<[T?]> where T : Equatable
    +
    public func equal<T>(_ expectedValue: [T?]) -> Matcher<[T?]> where T : Equatable
    @@ -6946,9 +6967,9 @@

    Declaration

  • @@ -6966,7 +6987,7 @@

    Declaration

    Declaration

    Swift

    -
    public func equal<T>(_ expectedValue: T?) -> Predicate<T> where T : Equatable
    +
    public func equal<T>(_ expectedValue: T?) -> Matcher<T> where T : Equatable
    @@ -6976,9 +6997,9 @@

    Declaration

  • @@ -6993,7 +7014,7 @@

    Declaration

    Declaration

    Swift

    -
    public func equal<T>(_ expectedValue: Set<T>) -> Predicate<Set<T>> where T : Hashable
    +
    public func equal<T>(_ expectedValue: Set<T>) -> Matcher<Set<T>> where T : Hashable
    @@ -7003,9 +7024,9 @@

    Declaration

  • @@ -7020,7 +7041,7 @@

    Declaration

    Declaration

    Swift

    -
    public func equal<T>(_ expectedValue: Set<T>?) -> Predicate<Set<T>> where T : Hashable
    +
    public func equal<T>(_ expectedValue: Set<T>?) -> Matcher<Set<T>> where T : Hashable
    @@ -7030,9 +7051,9 @@

    Declaration

  • @@ -7047,7 +7068,7 @@

    Declaration

    Declaration

    Swift

    -
    public func equal<T>(_ expectedValue: Set<T>) -> Predicate<Set<T>> where T : Comparable, T : Hashable
    +
    public func equal<T>(_ expectedValue: Set<T>) -> Matcher<Set<T>> where T : Comparable, T : Hashable
    @@ -7057,9 +7078,9 @@

    Declaration

  • @@ -7074,7 +7095,7 @@

    Declaration

    Declaration

    Swift

    -
    public func equal<T>(_ expectedValue: Set<T>?) -> Predicate<Set<T>> where T : Comparable, T : Hashable
    +
    public func equal<T>(_ expectedValue: Set<T>?) -> Matcher<Set<T>> where T : Comparable, T : Hashable
    @@ -7084,9 +7105,9 @@

    Declaration

  • @@ -7101,7 +7122,7 @@

    Declaration

    Declaration

    Swift

    -
    public func equal<K, V>(_ expectedValue: [K : V?]) -> Predicate<[K : V]> where K : Hashable, V : Equatable
    +
    public func equal<K, V>(_ expectedValue: [K : V?]) -> Matcher<[K : V]> where K : Hashable, V : Equatable
    @@ -8023,9 +8044,9 @@

    Declaration

  • @@ -8041,7 +8062,7 @@

    Declaration

    Declaration

    Swift

    -
    public func haveCount<T>(_ expectedValue: Int) -> Predicate<T> where T : Collection
    +
    public func haveCount<T>(_ expectedValue: Int) -> Matcher<T> where T : Collection
    @@ -8051,9 +8072,9 @@

    Declaration

  • @@ -8069,7 +8090,7 @@

    Declaration

    Declaration

    Swift

    -
    public func haveCount(_ expectedValue: Int) -> Predicate<NMBCollection>
    +
    public func haveCount(_ expectedValue: Int) -> Matcher<NMBCollection>
    @@ -8079,9 +8100,9 @@

    Declaration

  • @@ -8097,7 +8118,7 @@

    Declaration

    Declaration

    Swift

    -
    public func match(_ expectedValue: String?) -> Predicate<String>
    +
    public func match(_ expectedValue: String?) -> Matcher<String>
    @@ -8107,9 +8128,9 @@

    Declaration

  • @@ -8128,7 +8149,7 @@

    Declaration

    Declaration

    Swift

    -
    public func matchError<T>(_ error: T) -> Predicate<Error> where T : Error
    +
    public func matchError<T>(_ error: T) -> Matcher<Error> where T : Error
    @@ -8138,9 +8159,9 @@

    Declaration

  • @@ -8159,7 +8180,7 @@

    Declaration

    Declaration

    Swift

    -
    public func matchError<T>(_ error: T) -> Predicate<Error> where T : Equatable, T : Error
    +
    public func matchError<T>(_ error: T) -> Matcher<Error> where T : Equatable, T : Error
    @@ -8169,9 +8190,9 @@

    Declaration

  • @@ -8187,7 +8208,7 @@

    Declaration

    Declaration

    Swift

    -
    public func matchError<T>(_ errorType: T.Type) -> Predicate<Error> where T : Error
    +
    public func matchError<T>(_ errorType: T.Type) -> Matcher<Error> where T : Error
    @@ -8197,9 +8218,9 @@

    Declaration

  • @@ -8215,9 +8236,9 @@

    Declaration

    Swift

    public func postNotifications<Out>(
    -    _ predicate: Predicate<[Notification]>,
    +    _ matcher: Matcher<[Notification]>,
         from center: NotificationCenter = .default
    -) -> Predicate<Out>
    +) -> Matcher<Out>
    @@ -8227,9 +8248,9 @@

    Declaration

  • @@ -8245,10 +8266,10 @@

    Declaration

    Swift

    public func postDistributedNotifications<Out>(
    -    _ predicate: Predicate<[Notification]>,
    +    _ matcher: Matcher<[Notification]>,
         from center: DistributedNotificationCenter = .default(),
         names: Set<Notification.Name>
    -) -> Predicate<Out>
    +) -> Matcher<Out>
    @@ -8258,9 +8279,9 @@

    Declaration

  • @@ -8288,7 +8309,7 @@

    Declaration

    reason: String? = nil, userInfo: NSDictionary? = nil, closure: ((NSException) -> Void)? = nil -) -> Predicate<Out> +) -> Matcher<Out>
  • @@ -8298,9 +8319,9 @@

    Declaration

  • @@ -8328,7 +8349,7 @@

    Declaration

    reason: String? = nil, userInfo: NSDictionary? = nil, closure: ((NSException) -> Void)? = nil -) -> Predicate<Out> +) -> Matcher<Out>
  • @@ -8338,9 +8359,9 @@

    Declaration

  • @@ -8356,7 +8377,7 @@

    Declaration

    Declaration

    Swift

    -
    public func satisfyAllOf<T>(_ predicates: Predicate<T>...) -> Predicate<T>
    +
    public func satisfyAllOf<T>(_ matchers: Matcher<T>...) -> Matcher<T>
    @@ -8366,9 +8387,9 @@

    Declaration

  • @@ -8384,7 +8405,7 @@

    Declaration

    Declaration

    Swift

    -
    public func satisfyAllOf<T>(_ predicates: [Predicate<T>]) -> Predicate<T>
    +
    public func satisfyAllOf<T>(_ matchers: [Matcher<T>]) -> Matcher<T>
    @@ -8394,9 +8415,9 @@

    Declaration

  • - + - &&(_:_:) + &&(_:_:)
    @@ -8411,7 +8432,7 @@

    Declaration

    Declaration

    Swift

    -
    public func && <T>(left: Predicate<T>, right: Predicate<T>) -> Predicate<T>
    +
    public func && <T>(left: Matcher<T>, right: Matcher<T>) -> Matcher<T>
    @@ -8421,9 +8442,9 @@

    Declaration

  • @@ -8440,7 +8461,7 @@

    Declaration

    Swift

    @available(macOS 13.0.0, iOS 16.0.0, tvOS 16.0.0, watchOS 9.0.0, *)
    -public func satisfyAllOf<T>(_ predicates: any AsyncablePredicate<T>...) -> AsyncPredicate<T>
    +public func satisfyAllOf<T>(_ matchers: any AsyncableMatcher<T>...) -> AsyncMatcher<T>
    @@ -8450,9 +8471,9 @@

    Declaration

  • @@ -8469,7 +8490,7 @@

    Declaration

    Swift

    @available(macOS 13.0.0, iOS 16.0.0, tvOS 16.0.0, watchOS 9.0.0, *)
    -public func satisfyAllOf<T>(_ predicates: [any AsyncablePredicate<T>]) -> AsyncPredicate<T>
    +public func satisfyAllOf<T>(_ matchers: [any AsyncableMatcher<T>]) -> AsyncMatcher<T>
    @@ -8479,9 +8500,9 @@

    Declaration

  • - + - &&(_:_:) + &&(_:_:)
    @@ -8496,7 +8517,7 @@

    Declaration

    Declaration

    Swift

    -
    public func && <T>(left: some AsyncablePredicate<T>, right: some AsyncablePredicate<T>) -> AsyncPredicate<T>
    +
    public func && <T>(left: some AsyncableMatcher<T>, right: some AsyncableMatcher<T>) -> AsyncMatcher<T>
    @@ -8506,9 +8527,9 @@

    Declaration

  • @@ -8524,7 +8545,7 @@

    Declaration

    Declaration

    Swift

    -
    public func satisfyAnyOf<T>(_ predicates: Predicate<T>...) -> Predicate<T>
    +
    public func satisfyAnyOf<T>(_ matchers: Matcher<T>...) -> Matcher<T>
    @@ -8534,9 +8555,9 @@

    Declaration

  • @@ -8552,7 +8573,7 @@

    Declaration

    Declaration

    Swift

    -
    public func satisfyAnyOf<T>(_ predicates: [Predicate<T>]) -> Predicate<T>
    +
    public func satisfyAnyOf<T>(_ matchers: [Matcher<T>]) -> Matcher<T>
    @@ -8562,9 +8583,9 @@

    Declaration

  • - + - ||(_:_:) + ||(_:_:)
    @@ -8579,7 +8600,7 @@

    Declaration

    Declaration

    Swift

    -
    public func || <T>(left: Predicate<T>, right: Predicate<T>) -> Predicate<T>
    +
    public func || <T>(left: Matcher<T>, right: Matcher<T>) -> Matcher<T>
    @@ -8589,9 +8610,9 @@

    Declaration

  • @@ -8608,7 +8629,7 @@

    Declaration

    Swift

    @available(macOS 13.0.0, iOS 16.0.0, tvOS 16.0.0, watchOS 9.0.0, *)
    -public func satisfyAnyOf<T>(_ predicates: any AsyncablePredicate<T>...) -> AsyncPredicate<T>
    +public func satisfyAnyOf<T>(_ matchers: any AsyncableMatcher<T>...) -> AsyncMatcher<T>
    @@ -8618,9 +8639,9 @@

    Declaration

  • @@ -8637,7 +8658,7 @@

    Declaration

    Swift

    @available(macOS 13.0.0, iOS 16.0.0, tvOS 16.0.0, watchOS 9.0.0, *)
    -public func satisfyAnyOf<T>(_ predicates: [any AsyncablePredicate<T>]) -> AsyncPredicate<T>
    +public func satisfyAnyOf<T>(_ matchers: [any AsyncableMatcher<T>]) -> AsyncMatcher<T>
    @@ -8647,9 +8668,9 @@

    Declaration

  • - + - ||(_:_:) + ||(_:_:)
    @@ -8664,7 +8685,7 @@

    Declaration

    Declaration

    Swift

    -
    public func || <T>(left: some AsyncablePredicate<T>, right: some AsyncablePredicate<T>) -> AsyncPredicate<T>
    +
    public func || <T>(left: some AsyncableMatcher<T>, right: some AsyncableMatcher<T>) -> AsyncMatcher<T>
    @@ -8694,9 +8715,9 @@

    Declaration

  • @@ -8711,7 +8732,7 @@

    Declaration

    Declaration

    Swift

    -
    public func throwAssertion<Out>() -> Predicate<Out>
    +
    public func throwAssertion<Out>() -> Matcher<Out>
    @@ -8721,9 +8742,9 @@

    Declaration

  • @@ -8748,7 +8769,7 @@

    Declaration

    Declaration

    Swift

    -
    public func throwError<Out>() -> Predicate<Out>
    +
    public func throwError<Out>() -> Matcher<Out>
    @@ -8758,9 +8779,9 @@

    Declaration

  • @@ -8785,7 +8806,7 @@

    Declaration

    Declaration

    Swift

    -
    public func throwError<T, Out>(_ error: T, closure: ((Error) -> Void)? = nil) -> Predicate<Out> where T : Error
    +
    public func throwError<T, Out>(_ error: T, closure: ((Error) -> Void)? = nil) -> Matcher<Out> where T : Error
    @@ -8795,9 +8816,9 @@

    Declaration

  • @@ -8822,7 +8843,7 @@

    Declaration

    Declaration

    Swift

    -
    public func throwError<T, Out>(_ error: T, closure: ((T) -> Void)? = nil) -> Predicate<Out> where T : Equatable, T : Error
    +
    public func throwError<T, Out>(_ error: T, closure: ((T) -> Void)? = nil) -> Matcher<Out> where T : Equatable, T : Error
    @@ -8832,9 +8853,9 @@

    Declaration

  • @@ -8862,7 +8883,7 @@

    Declaration

    public func throwError<T: Error, Out>(
         errorType: T.Type,
         closure: ((T) -> Void)? = nil
    -) -> Predicate<Out>
    +) -> Matcher<Out>
  • @@ -8872,9 +8893,9 @@

    Declaration

  • @@ -8895,7 +8916,7 @@

    Declaration

    Declaration

    Swift

    -
    public func throwError<Out>(closure: @escaping ((Error) -> Void)) -> Predicate<Out>
    +
    public func throwError<Out>(closure: @escaping ((Error) -> Void)) -> Matcher<Out>
    @@ -8905,9 +8926,9 @@

    Declaration

  • @@ -8928,7 +8949,7 @@

    Declaration

    Declaration

    Swift

    -
    public func throwError<T, Out>(closure: @escaping ((T) -> Void)) -> Predicate<Out> where T : Error
    +
    public func throwError<T, Out>(closure: @escaping ((T) -> Void)) -> Matcher<Out> where T : Error
    @@ -8938,9 +8959,9 @@

    Declaration

  • @@ -8958,7 +8979,7 @@

    Declaration

    Declaration

    Swift

    -
    public func succeed() -> Predicate<ToSucceedResult>
    +
    public func succeed() -> Matcher<ToSucceedResult>
    @@ -9152,7 +9173,7 @@

    Return Value

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Global Variables.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Global Variables.html index 47c48896e..6a35d4a3f 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Global Variables.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Global Variables.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage
  • - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1162,9 +1183,9 @@

    Declaration

  • @@ -1172,7 +1193,16 @@

    Declaration

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let nativeThreadState: Int32
    + +
    @@ -1180,9 +1210,9 @@

    Declaration

  • @@ -1190,7 +1220,16 @@

    Declaration

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let nativeThreadStateCount: UInt32
    + +
    @@ -1198,9 +1237,9 @@

    Declaration

  • @@ -1208,7 +1247,16 @@

    Declaration

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let nativeMachExceptionMask: exception_mask_t
    + +
    @@ -1216,9 +1264,9 @@

    Declaration

  • @@ -1226,16 +1274,7 @@

    Declaration

    -

    Undocumented

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let nativeThreadState: Int32
    - -
    +
    @@ -1243,9 +1282,9 @@

    Declaration

  • @@ -1253,16 +1292,7 @@

    Declaration

    -

    Undocumented

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let nativeThreadStateCount: UInt32
    - -
    +
    @@ -1270,9 +1300,9 @@

    Declaration

  • @@ -1280,16 +1310,7 @@

    Declaration

    -

    Undocumented

    - -
    -
    -

    Declaration

    -
    -

    Swift

    -
    public let nativeMachExceptionMask: exception_mask_t
    - -
    +
    @@ -1386,7 +1407,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols.html index b0916dc20..1d15bc177 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage
  • - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1191,9 +1212,9 @@

    Declaration

  • @@ -1203,13 +1224,13 @@

    Declaration

    Undocumented

    - See more + See more

    Declaration

    Swift

    -
    public protocol AsyncablePredicate<Value>
    +
    public protocol AsyncableMatcher<Value>
    @@ -1402,7 +1423,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/AssertionHandler.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/AssertionHandler.html index 5116179e5..db5eb20e4 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/AssertionHandler.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/AssertionHandler.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage
  • - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1171,7 +1192,7 @@

    Declaration

    diff --git a/docs/Protocols/AsyncablePredicate.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/AsyncableMatcher.html similarity index 82% rename from docs/Protocols/AsyncablePredicate.html rename to docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/AsyncableMatcher.html index 00a04d122..8d6d0740c 100644 --- a/docs/Protocols/AsyncablePredicate.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/AsyncableMatcher.html @@ -1,7 +1,7 @@ - AsyncablePredicate Protocol Reference + AsyncableMatcher Protocol Reference @@ -13,11 +13,11 @@ - - + +
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -30,7 +30,7 @@
    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1125,11 +1146,11 @@
    -

    AsyncablePredicate

    +

    AsyncableMatcher

    -
    public protocol AsyncablePredicate<Value>
    +
    public protocol AsyncableMatcher<Value>
    @@ -1142,9 +1163,9 @@

    AsyncablePredicate

  • - + - Value + Value
    @@ -1169,9 +1190,9 @@

    Declaration

  • - + - satisfies(_:) + satisfies(_:) Asynchronous @@ -1189,7 +1210,7 @@

    Declaration

    Declaration

    Swift

    -
    func satisfies(_ expression: AsyncExpression<Value>) async throws -> PredicateResult
    +
    func satisfies(_ expression: AsyncExpression<Value>) async throws -> MatcherResult
    @@ -1201,7 +1222,7 @@

    Declaration

  • diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/Expectation.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/Expectation.html index 27a46b024..9b75a41d8 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/Expectation.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/Expectation.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1179,7 +1200,7 @@

    Declaration

    -

    The status of the test after predicates have been evaluated.

    +

    The status of the test after matchers have been evaluated.

    This property can be used for changing test behavior based whether an expectation has passed.

    @@ -1270,7 +1291,7 @@

    Return Value

    Warning

    -

    This method MUST be called after a predicate method like to or not. +

    This method MUST be called after a matcher method like to or not. Otherwise, this expectation will be in an indeterminate state and will unconditionally log an error.

    @@ -1297,7 +1318,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/NMBCollection.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/NMBCollection.html index 45b56c6ad..7bb22f64f 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/NMBCollection.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/NMBCollection.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1171,7 +1192,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/NMBComparable.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/NMBComparable.html index 64defb686..0540fc966 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/NMBComparable.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/NMBComparable.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1175,7 +1196,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/NMBContainer.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/NMBContainer.html index 2e05c069b..602a0e9c5 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/NMBContainer.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/NMBContainer.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1171,7 +1192,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/NMBDoubleConvertible.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/NMBDoubleConvertible.html index 5a8a08d2f..70904f4d1 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/NMBDoubleConvertible.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/NMBDoubleConvertible.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1171,7 +1192,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/NMBOrderedCollection.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/NMBOrderedCollection.html index 9bc4a8ff1..594239272 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/NMBOrderedCollection.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/NMBOrderedCollection.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1171,7 +1192,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/TestOutputStringConvertible.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/TestOutputStringConvertible.html index 0645f7331..4ff2b0e7f 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/TestOutputStringConvertible.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Protocols/TestOutputStringConvertible.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1180,7 +1201,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs.html index 8fe3dea90..876e27304 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1333,9 +1354,9 @@

    Declaration

  • - - - Predicate + + + Matcher
    @@ -1343,7 +1364,7 @@

    Declaration

    -

    A Predicate is part of the new matcher API that provides assertions to expectations.

    +

    A Matcher is part of the new matcher API that provides assertions to expectations.

    Given a code snippet:

    @@ -1351,22 +1372,24 @@

    Declaration

    ^^^^^^^^ Called a “matcher”

    -

    A matcher consists of two parts a constructor function and the Predicate. The term Predicate -is used as a separate name from Matcher to help transition custom matchers to the new Nimble -matcher API.

    +

    A matcher consists of two parts a constructor function and the Matcher.

    -

    The Predicate provide the heavy lifting on how to assert against a given value. Internally, -predicates are simple wrappers around closures to provide static type information and +

    The Matcher provide the heavy lifting on how to assert against a given value. Internally, +matchers are simple wrappers around closures to provide static type information and allow composition and wrapping of existing behaviors.

    - See more +

    In the 2023 Apple Platform releases (macOS 14, iOS 17, watchOS 10, tvOS 17, visionOS 1), Apple +renamed NSMatcher to Matcher. In response, we decided to rename Matcher to +Matcher.

    + + See more

    Declaration

    Swift

    -
    public struct Predicate<T>
    -
    extension Predicate: AsyncablePredicate
    +
    public struct Matcher<T>
    +
    extension Matcher: AsyncableMatcher
    @@ -1376,9 +1399,9 @@

    Declaration

  • @@ -1386,7 +1409,7 @@

    Declaration

    -

    An AsyncPredicate is part of the new matcher API that provides assertions to expectations.

    +

    An AsyncMatcher is part of the new matcher API that provides assertions to expectations.

    Given a code snippet:

    @@ -1394,26 +1417,24 @@

    Declaration

    ^^^^^^^^ Called a “matcher”

    -

    A matcher consists of two parts a constructor function and the Predicate. The term Predicate -is used as a separate name from Matcher to help transition custom matchers to the new Nimble -matcher API.

    +

    A matcher consists of two parts a constructor function and the Matcher.

    -

    The Predicate provide the heavy lifting on how to assert against a given value. Internally, -predicates are simple wrappers around closures to provide static type information and +

    The Matcher provide the heavy lifting on how to assert against a given value. Internally, +matchers are simple wrappers around closures to provide static type information and allow composition and wrapping of existing behaviors.

    -

    AsyncPredicates serve to allow writing matchers that must be run in async contexts. +

    AsyncMatchers serve to allow writing matchers that must be run in async contexts. These can also be used with either Expectations or AsyncExpectations. But these can only be used from async contexts, and are unavailable in Objective-C. -You can, however, call regular Predicates from an AsyncPredicate, if you wish to compose one like that.

    +You can, however, call regular Matchers from an AsyncMatcher, if you wish to compose one like that.

    - See more + See more

    Declaration

    Swift

    -
    public struct AsyncPredicate<T> : AsyncablePredicate
    +
    public struct AsyncMatcher<T> : AsyncableMatcher
    @@ -1451,9 +1472,9 @@

    Declaration

  • @@ -1461,54 +1482,16 @@

    Declaration

    -

    The value that a Predicates return to describe if the given (actual) value matches the -predicate.

    +

    The value that a Matcher returns to describe if the given (actual) value matches the +matcher.

    - See more + See more

    Declaration

    Swift

    -
    public struct PredicateResult
    - -
    -
    -
    -
    -
  • -
  • -
    - - - - AsyncDefaults - -
    -
    -
    -
    -
    -
    -

    If you are running on a slower machine, it could be useful to increase the default timeout value -or slow down poll interval. Default timeout interval is 1, and poll interval is 0.01.

    -
    -

    Warning

    - This has been renamed to PollingDefaults. Starting in Nimble 13, the deprecation warning will change to a compiler error (removed). In Nimble 14, AsyncDefaults will be removed entirely. - -
    - -

    For the time being, AsyncDefaults will function the same. -However, AsyncDefaults will be removed in a future release.

    - - See more -
    -
    -

    Declaration

    -
    -

    Swift

    -
    @available(*, deprecated, renamed: "PollingDefaults")
    -public struct AsyncDefaults
    +
    public struct MatcherResult
    @@ -1530,8 +1513,11 @@

    Declaration

    If you are running on a slower machine, it could be useful to increase the default timeout value or slow down poll interval. Default timeout interval is 1, and poll interval is 0.01.

    +
    +

    Note

    + This used to be known as AsyncDefaults. -

    Note: This used to be known as AsyncDefaults.

    +
    See more
    @@ -1551,7 +1537,7 @@

    Declaration

  • diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/AssertionRecord.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/AssertionRecord.html index a28a12c07..7aa4bc050 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/AssertionRecord.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/AssertionRecord.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage
  • - @@ -1081,7 +1078,7 @@ AsyncExpression
  • @@ -1255,7 +1276,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/AsyncDefaults.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/AsyncDefaults.html deleted file mode 100644 index 06a3ddd02..000000000 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/AsyncDefaults.html +++ /dev/null @@ -1,1217 +0,0 @@ - - - - AsyncDefaults Structure Reference - - - - - - - - - - - - - -
    -
    -

    Nimble 12.3.0 Docs (46% documented)

    -

    GitHubView on GitHub

    -
    - - - -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -

    AsyncDefaults

    -
    -
    - -
    @available(*, deprecated, renamed: "PollingDefaults")
    -public struct AsyncDefaults
    - -
    -
    -

    If you are running on a slower machine, it could be useful to increase the default timeout value -or slow down poll interval. Default timeout interval is 1, and poll interval is 0.01.

    -
    -

    Warning

    - This has been renamed to PollingDefaults. Starting in Nimble 13, the deprecation warning will change to a compiler error (removed). In Nimble 14, AsyncDefaults will be removed entirely. - -
    - -

    For the time being, AsyncDefaults will function the same. -However, AsyncDefaults will be removed in a future release.

    - -
    -
    -
    -
      -
    • -
      - - - - timeout - -
      -
      -
      -
      -
      -
      -

      Undocumented

      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public static var timeout: NimbleTimeInterval { get set }
      - -
      -
      -
      -
      -
    • -
    • -
      - - - - pollInterval - -
      -
      -
      -
      -
      -
      -

      Undocumented

      - -
      -
      -

      Declaration

      -
      -

      Swift

      -
      public static var pollInterval: NimbleTimeInterval { get set }
      - -
      -
      -
      -
      -
    • -
    -
    -
    -
    - -
    -
    - - diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/AsyncExpectation.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/AsyncExpectation.html index 6d1cb9c62..4961b1d73 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/AsyncExpectation.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/AsyncExpectation.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1179,7 +1200,7 @@

    Declaration

    -

    The status of the test after predicates have been evaluated.

    +

    The status of the test after matchers have been evaluated.

    This property can be used for changing test behavior based whether an expectation has passed.

    @@ -1298,9 +1319,9 @@

    Return Value

  • - + - to(_:description:) + to(_:description:) Asynchronous @@ -1319,7 +1340,7 @@

    Declaration

    Swift

    @discardableResult
    -public func to(_ predicate: Predicate<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    +public func to(_ matcher: Matcher<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1329,9 +1350,9 @@

    Declaration

  • - + - toNot(_:description:) + toNot(_:description:) Asynchronous @@ -1350,7 +1371,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNot(_ predicate: Predicate<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toNot(_ matcher: Matcher<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1360,9 +1381,9 @@

    Declaration

  • - + - notTo(_:description:) + notTo(_:description:) Asynchronous @@ -1383,7 +1404,7 @@

    Declaration

    Swift

    @discardableResult
    -public func notTo(_ predicate: Predicate<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    +public func notTo(_ matcher: Matcher<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1393,9 +1414,9 @@

    Declaration

  • - + - to(_:description:) + to(_:description:) Asynchronous @@ -1414,7 +1435,7 @@

    Declaration

    Swift

    @discardableResult
    -public func to(_ predicate: AsyncPredicate<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    +public func to(_ matcher: AsyncMatcher<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1424,9 +1445,9 @@

    Declaration

  • - + - toNot(_:description:) + toNot(_:description:) Asynchronous @@ -1445,7 +1466,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNot(_ predicate: AsyncPredicate<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toNot(_ matcher: AsyncMatcher<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1455,9 +1476,9 @@

    Declaration

  • - + - notTo(_:description:) + notTo(_:description:) Asynchronous @@ -1478,7 +1499,7 @@

    Declaration

    Swift

    @discardableResult
    -public func notTo(_ predicate: AsyncPredicate<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    +public func notTo(_ matcher: AsyncMatcher<Value>, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1549,11 +1570,11 @@

    Declaration

  • - - + +
    - -

    With Synchronous Predicates + +

    With Synchronous Matchers

    @@ -1561,9 +1582,9 @@

    With Synchronous Predicates
  • - + - toEventually(_:timeout:pollInterval:description:) + toEventually(_:timeout:pollInterval:description:) Asynchronous @@ -1583,7 +1604,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toEventually(_ predicate: Predicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toEventually(_ matcher: Matcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1593,9 +1614,9 @@

    Declaration

  • - + - toEventuallyNot(_:timeout:pollInterval:description:) + toEventuallyNot(_:timeout:pollInterval:description:) Asynchronous @@ -1615,7 +1636,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toEventuallyNot(_ predicate: Predicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toEventuallyNot(_ matcher: Matcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1625,9 +1646,9 @@

    Declaration

  • - + - toNotEventually(_:timeout:pollInterval:description:) + toNotEventually(_:timeout:pollInterval:description:) Asynchronous @@ -1649,7 +1670,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNotEventually(_ predicate: Predicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toNotEventually(_ matcher: Matcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1659,9 +1680,9 @@

    Declaration

  • - + - toNever(_:until:pollInterval:description:) + toNever(_:until:pollInterval:description:) Asynchronous @@ -1681,7 +1702,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNever(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toNever(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1691,9 +1712,9 @@

    Declaration

  • - + - neverTo(_:until:pollInterval:description:) + neverTo(_:until:pollInterval:description:) Asynchronous @@ -1715,7 +1736,7 @@

    Declaration

    Swift

    @discardableResult
    -public func neverTo(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func neverTo(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1725,9 +1746,9 @@

    Declaration

  • - + - toAlways(_:until:pollInterval:description:) + toAlways(_:until:pollInterval:description:) Asynchronous @@ -1747,7 +1768,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toAlways(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toAlways(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1757,9 +1778,9 @@

    Declaration

  • - + - alwaysTo(_:until:pollInterval:description:) + alwaysTo(_:until:pollInterval:description:) Asynchronous @@ -1781,7 +1802,7 @@

    Declaration

    Swift

    @discardableResult
    -public func alwaysTo(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func alwaysTo(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1792,11 +1813,11 @@

    Declaration

  • - - + +
    - -

    With AsyncPredicates + +

    With AsyncMatchers

    @@ -1804,9 +1825,9 @@

    With AsyncPredicates
  • - + - toEventually(_:timeout:pollInterval:description:) + toEventually(_:timeout:pollInterval:description:) Asynchronous @@ -1826,7 +1847,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toEventually(_ predicate: AsyncPredicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toEventually(_ matcher: AsyncMatcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1836,9 +1857,9 @@

    Declaration

  • - + - toEventuallyNot(_:timeout:pollInterval:description:) + toEventuallyNot(_:timeout:pollInterval:description:) Asynchronous @@ -1858,7 +1879,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toEventuallyNot(_ predicate: AsyncPredicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toEventuallyNot(_ matcher: AsyncMatcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1868,9 +1889,9 @@

    Declaration

  • - + - toNotEventually(_:timeout:pollInterval:description:) + toNotEventually(_:timeout:pollInterval:description:) Asynchronous @@ -1892,7 +1913,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNotEventually(_ predicate: AsyncPredicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toNotEventually(_ matcher: AsyncMatcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1902,9 +1923,9 @@

    Declaration

  • - + - toNever(_:until:pollInterval:description:) + toNever(_:until:pollInterval:description:) Asynchronous @@ -1924,7 +1945,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNever(_ predicate: AsyncPredicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toNever(_ matcher: AsyncMatcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1934,9 +1955,9 @@

    Declaration

  • - + - neverTo(_:until:pollInterval:description:) + neverTo(_:until:pollInterval:description:) Asynchronous @@ -1958,7 +1979,7 @@

    Declaration

    Swift

    @discardableResult
    -public func neverTo(_ predicate: AsyncPredicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func neverTo(_ matcher: AsyncMatcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -1968,9 +1989,9 @@

    Declaration

  • - + - toAlways(_:until:pollInterval:description:) + toAlways(_:until:pollInterval:description:) Asynchronous @@ -1990,7 +2011,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toAlways(_ predicate: AsyncPredicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func toAlways(_ matcher: AsyncMatcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -2000,9 +2021,9 @@

    Declaration

  • - + - alwaysTo(_:until:pollInterval:description:) + alwaysTo(_:until:pollInterval:description:) Asynchronous @@ -2024,7 +2045,7 @@

    Declaration

    Swift

    @discardableResult
    -public func alwaysTo(_ predicate: AsyncPredicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    +public func alwaysTo(_ matcher: AsyncMatcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> AsyncExpectation<Value>
    @@ -2036,7 +2057,7 @@

    Declaration

  • diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/AsyncExpression.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/AsyncExpression.html index 8eb58a687..57741ad66 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/AsyncExpression.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/AsyncExpression.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1388,7 +1409,7 @@

    Parameters

    -

    Creates a new synchronous expression, for use in Predicates.

    +

    Creates a new synchronous expression, for use in Matchers.

    @@ -1542,7 +1563,7 @@

    Declaration

    diff --git a/docs/Structs/AsyncPredicate.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/AsyncMatcher.html similarity index 79% rename from docs/Structs/AsyncPredicate.html rename to docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/AsyncMatcher.html index 2f2f0dc08..a24d4af67 100644 --- a/docs/Structs/AsyncPredicate.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/AsyncMatcher.html @@ -1,7 +1,7 @@ - AsyncPredicate Structure Reference + AsyncMatcher Structure Reference @@ -13,11 +13,11 @@ - - + +
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -30,7 +30,7 @@
    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1125,15 +1146,15 @@
    -

    AsyncPredicate

    +

    AsyncMatcher

    -
    public struct AsyncPredicate<T> : AsyncablePredicate
    +
    public struct AsyncMatcher<T> : AsyncableMatcher
    -

    An AsyncPredicate is part of the new matcher API that provides assertions to expectations.

    +

    An AsyncMatcher is part of the new matcher API that provides assertions to expectations.

    Given a code snippet:

    @@ -1141,18 +1162,16 @@

    AsyncPredicate

    ^^^^^^^^ Called a “matcher”

    -

    A matcher consists of two parts a constructor function and the Predicate. The term Predicate -is used as a separate name from Matcher to help transition custom matchers to the new Nimble -matcher API.

    +

    A matcher consists of two parts a constructor function and the Matcher.

    -

    The Predicate provide the heavy lifting on how to assert against a given value. Internally, -predicates are simple wrappers around closures to provide static type information and +

    The Matcher provide the heavy lifting on how to assert against a given value. Internally, +matchers are simple wrappers around closures to provide static type information and allow composition and wrapping of existing behaviors.

    -

    AsyncPredicates serve to allow writing matchers that must be run in async contexts. +

    AsyncMatchers serve to allow writing matchers that must be run in async contexts. These can also be used with either Expectations or AsyncExpectations. But these can only be used from async contexts, and are unavailable in Objective-C. -You can, however, call regular Predicates from an AsyncPredicate, if you wish to compose one like that.

    +You can, however, call regular Matchers from an AsyncMatcher, if you wish to compose one like that.

    @@ -1161,9 +1180,9 @@

    AsyncPredicate

  • - + - init(_:) + init(_:)
    @@ -1178,7 +1197,7 @@

    AsyncPredicate

    Declaration

    Swift

    -
    public init(_ matcher: @escaping (AsyncExpression<T>) async throws -> PredicateResult)
    +
    public init(_ matcher: @escaping (AsyncExpression<T>) async throws -> MatcherResult)
    @@ -1188,9 +1207,9 @@

    Declaration

  • - + - satisfies(_:) + satisfies(_:) Asynchronous @@ -1201,17 +1220,17 @@

    Declaration

    -

    Uses a predicate on a given value to see if it passes the predicate.

    +

    Uses a matcher on a given value to see if it passes the matcher.

    -

    @param expression The value to run the predicate’s logic against -@returns A predicate result indicate passing or failing and an associated error message.

    +

    @param expression The value to run the matcher’s logic against +@returns A matcher result indicate passing or failing and an associated error message.

    Declaration

    Swift

    -
    public func satisfies(_ expression: AsyncExpression<T>) async throws -> PredicateResult
    +
    public func satisfies(_ expression: AsyncExpression<T>) async throws -> MatcherResult
    @@ -1221,9 +1240,9 @@

    Declaration

  • @@ -1231,14 +1250,14 @@

    Declaration

    -

    Like Predicate() constructor, but automatically guard against nil (actual) values

    +

    Like Matcher() constructor, but automatically guard against nil (actual) values

    Declaration

    Swift

    -
    public static func define(matcher: @escaping (AsyncExpression<T>) async throws -> PredicateResult) -> AsyncPredicate<T>
    +
    public static func define(matcher: @escaping (AsyncExpression<T>) async throws -> MatcherResult) -> AsyncMatcher<T>
    @@ -1248,9 +1267,9 @@

    Declaration

  • @@ -1258,15 +1277,15 @@

    Declaration

    -

    Defines a predicate with a default message that can be returned in the closure -Also ensures the predicate’s actual value cannot pass with nil given.

    +

    Defines a matcher with a default message that can be returned in the closure +Also ensures the matcher’s actual value cannot pass with nil given.

    Declaration

    Swift

    -
    public static func define(_ message: String = "match", matcher: @escaping (AsyncExpression<T>, ExpectationMessage) async throws -> PredicateResult) -> AsyncPredicate<T>
    +
    public static func define(_ message: String = "match", matcher: @escaping (AsyncExpression<T>, ExpectationMessage) async throws -> MatcherResult) -> AsyncMatcher<T>
    @@ -1276,9 +1295,9 @@

    Declaration

  • @@ -1286,7 +1305,7 @@

    Declaration

    -

    Defines a predicate with a default message that can be returned in the closure +

    Defines a matcher with a default message that can be returned in the closure Unlike define, this allows nil values to succeed if the given closure chooses to.

    @@ -1294,7 +1313,7 @@

    Declaration

    Declaration

    Swift

    -
    public static func defineNilable(_ message: String = "match", matcher: @escaping (AsyncExpression<T>, ExpectationMessage) async throws -> PredicateResult) -> AsyncPredicate<T>
    +
    public static func defineNilable(_ message: String = "match", matcher: @escaping (AsyncExpression<T>, ExpectationMessage) async throws -> MatcherResult) -> AsyncMatcher<T>
    @@ -1304,9 +1323,9 @@

    Declaration

  • @@ -1314,17 +1333,17 @@

    Declaration

    -

    Provides a simple predicate definition that provides no control over the predefined +

    Provides a simple matcher definition that provides no control over the predefined error message.

    -

    Also ensures the predicate’s actual value cannot pass with nil given.

    +

    Also ensures the matcher’s actual value cannot pass with nil given.

    Declaration

    Swift

    -
    public static func simple(_ message: String = "match", matcher: @escaping (AsyncExpression<T>) async throws -> PredicateStatus) -> AsyncPredicate<T>
    +
    public static func simple(_ message: String = "match", matcher: @escaping (AsyncExpression<T>) async throws -> MatcherStatus) -> AsyncMatcher<T>
    @@ -1334,9 +1353,9 @@

    Declaration

  • @@ -1344,7 +1363,7 @@

    Declaration

    -

    Provides a simple predicate definition that provides no control over the predefined +

    Provides a simple matcher definition that provides no control over the predefined error message.

    Unlike simple, this allows nil values to succeed if the given closure chooses to.

    @@ -1354,7 +1373,7 @@

    Declaration

    Declaration

    Swift

    -
    public static func simpleNilable(_ message: String = "match", matcher: @escaping (AsyncExpression<T>) async throws -> PredicateStatus) -> AsyncPredicate<T>
    +
    public static func simpleNilable(_ message: String = "match", matcher: @escaping (AsyncExpression<T>) async throws -> MatcherStatus) -> AsyncMatcher<T>
    @@ -1364,9 +1383,9 @@

    Declaration

  • @@ -1374,7 +1393,7 @@

    Declaration

    -

    Returns a new Predicate based on the current one that always fails if nil is given as +

    Returns a new Matcher based on the current one that always fails if nil is given as the actual value.

    @@ -1382,7 +1401,7 @@

    Declaration

    Declaration

    Swift

    -
    public var requireNonNil: AsyncPredicate<T> { get }
    +
    public var requireNonNil: AsyncMatcher<T> { get }
    @@ -1394,7 +1413,7 @@

    Declaration

  • diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/ExpectationNil.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/ExpectationNil.html index 343a85ae9..b66991a99 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/ExpectationNil.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/ExpectationNil.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1170,7 +1191,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/Expression.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/Expression.html index 6e7e7a420..7f7befdec 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/Expression.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/Expression.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1536,7 +1557,7 @@

    Declaration

    diff --git a/docs/Structs/Predicate.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/Matcher.html similarity index 79% rename from docs/Structs/Predicate.html rename to docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/Matcher.html index 4c62c5464..6c045b75c 100644 --- a/docs/Structs/Predicate.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/Matcher.html @@ -1,7 +1,7 @@ - Predicate Structure Reference + Matcher Structure Reference @@ -13,11 +13,11 @@ - - + +
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -30,7 +30,7 @@
    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1125,16 +1146,16 @@
    -

    Predicate

    +

    Matcher

    -
    public struct Predicate<T>
    -
    extension Predicate: AsyncablePredicate
    +
    public struct Matcher<T>
    +
    extension Matcher: AsyncableMatcher
    -

    A Predicate is part of the new matcher API that provides assertions to expectations.

    +

    A Matcher is part of the new matcher API that provides assertions to expectations.

    Given a code snippet:

    @@ -1142,14 +1163,16 @@

    Predicate

    ^^^^^^^^ Called a “matcher”

    -

    A matcher consists of two parts a constructor function and the Predicate. The term Predicate -is used as a separate name from Matcher to help transition custom matchers to the new Nimble -matcher API.

    +

    A matcher consists of two parts a constructor function and the Matcher.

    -

    The Predicate provide the heavy lifting on how to assert against a given value. Internally, -predicates are simple wrappers around closures to provide static type information and +

    The Matcher provide the heavy lifting on how to assert against a given value. Internally, +matchers are simple wrappers around closures to provide static type information and allow composition and wrapping of existing behaviors.

    +

    In the 2023 Apple Platform releases (macOS 14, iOS 17, watchOS 10, tvOS 17, visionOS 1), Apple +renamed NSMatcher to Matcher. In response, we decided to rename Matcher to +Matcher.

    +
    @@ -1157,9 +1180,9 @@

    Predicate

  • - + - init(_:) + init(_:)
    @@ -1167,14 +1190,14 @@

    Predicate

    -

    Constructs a predicate that knows how take a given value

    +

    Constructs a matcher that knows how take a given value

    Declaration

    Swift

    -
    public init(_ matcher: @escaping (Expression<T>) throws -> PredicateResult)
    +
    public init(_ matcher: @escaping (Expression<T>) throws -> MatcherResult)
    @@ -1184,9 +1207,9 @@

    Declaration

  • @@ -1194,17 +1217,17 @@

    Declaration

    -

    Uses a predicate on a given value to see if it passes the predicate.

    +

    Uses a matcher on a given value to see if it passes the matcher.

    -

    @param expression The value to run the predicate’s logic against -@returns A predicate result indicate passing or failing and an associated error message.

    +

    @param expression The value to run the matcher’s logic against +@returns A matcher result indicate passing or failing and an associated error message.

    Declaration

    Swift

    -
    public func satisfies(_ expression: Expression<T>) throws -> PredicateResult
    +
    public func satisfies(_ expression: Expression<T>) throws -> MatcherResult
    @@ -1214,9 +1237,9 @@

    Declaration

  • - + - satisfies(_:) + satisfies(_:) Asynchronous @@ -1234,7 +1257,7 @@

    Declaration

    Declaration

    Swift

    -
    public func satisfies(_ expression: AsyncExpression<T>) async throws -> PredicateResult
    +
    public func satisfies(_ expression: AsyncExpression<T>) async throws -> MatcherResult
    @@ -1244,9 +1267,9 @@

    Declaration

  • @@ -1254,14 +1277,14 @@

    Declaration

    -

    Like Predicate() constructor, but automatically guard against nil (actual) values

    +

    Like Matcher() constructor, but automatically guard against nil (actual) values

    Declaration

    Swift

    -
    public static func define(matcher: @escaping (Expression<T>) throws -> PredicateResult) -> Predicate<T>
    +
    public static func define(matcher: @escaping (Expression<T>) throws -> MatcherResult) -> Matcher<T>
    @@ -1271,9 +1294,9 @@

    Declaration

  • @@ -1281,15 +1304,15 @@

    Declaration

    -

    Defines a predicate with a default message that can be returned in the closure -Also ensures the predicate’s actual value cannot pass with nil given.

    +

    Defines a matcher with a default message that can be returned in the closure +Also ensures the matcher’s actual value cannot pass with nil given.

    Declaration

    Swift

    -
    public static func define(_ message: String = "match", matcher: @escaping (Expression<T>, ExpectationMessage) throws -> PredicateResult) -> Predicate<T>
    +
    public static func define(_ message: String = "match", matcher: @escaping (Expression<T>, ExpectationMessage) throws -> MatcherResult) -> Matcher<T>
    @@ -1299,9 +1322,9 @@

    Declaration

  • @@ -1309,7 +1332,7 @@

    Declaration

    -

    Defines a predicate with a default message that can be returned in the closure +

    Defines a matcher with a default message that can be returned in the closure Unlike define, this allows nil values to succeed if the given closure chooses to.

    @@ -1317,7 +1340,7 @@

    Declaration

    Declaration

    Swift

    -
    public static func defineNilable(_ message: String = "match", matcher: @escaping (Expression<T>, ExpectationMessage) throws -> PredicateResult) -> Predicate<T>
    +
    public static func defineNilable(_ message: String = "match", matcher: @escaping (Expression<T>, ExpectationMessage) throws -> MatcherResult) -> Matcher<T>
    @@ -1327,9 +1350,9 @@

    Declaration

  • @@ -1337,17 +1360,17 @@

    Declaration

    -

    Provides a simple predicate definition that provides no control over the predefined +

    Provides a simple matcher definition that provides no control over the predefined error message.

    -

    Also ensures the predicate’s actual value cannot pass with nil given.

    +

    Also ensures the matcher’s actual value cannot pass with nil given.

    Declaration

    Swift

    -
    public static func simple(_ message: String = "match", matcher: @escaping (Expression<T>) throws -> PredicateStatus) -> Predicate<T>
    +
    public static func simple(_ message: String = "match", matcher: @escaping (Expression<T>) throws -> MatcherStatus) -> Matcher<T>
    @@ -1357,9 +1380,9 @@

    Declaration

  • @@ -1367,7 +1390,7 @@

    Declaration

    -

    Provides a simple predicate definition that provides no control over the predefined +

    Provides a simple matcher definition that provides no control over the predefined error message.

    Unlike simple, this allows nil values to succeed if the given closure chooses to.

    @@ -1377,7 +1400,7 @@

    Declaration

    Declaration

    Swift

    -
    public static func simpleNilable(_ message: String = "match", matcher: @escaping (Expression<T>) throws -> PredicateStatus) -> Predicate<T>
    +
    public static func simpleNilable(_ message: String = "match", matcher: @escaping (Expression<T>) throws -> MatcherStatus) -> Matcher<T>
    @@ -1387,9 +1410,9 @@

    Declaration

  • @@ -1397,7 +1420,7 @@

    Declaration

    -

    Returns a new Predicate based on the current one that always fails if nil is given as +

    Returns a new Matcher based on the current one that always fails if nil is given as the actual value.

    @@ -1405,7 +1428,7 @@

    Declaration

    Declaration

    Swift

    -
    public var requireNonNil: Predicate<T> { get }
    +
    public var requireNonNil: Matcher<T> { get }
    @@ -1417,7 +1440,7 @@

    Declaration

  • diff --git a/docs/Structs/PredicateResult.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/MatcherResult.html similarity index 81% rename from docs/Structs/PredicateResult.html rename to docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/MatcherResult.html index 0a5e7225a..9a6e1a3dc 100644 --- a/docs/Structs/PredicateResult.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/MatcherResult.html @@ -1,7 +1,7 @@ - PredicateResult Structure Reference + MatcherResult Structure Reference @@ -13,11 +13,11 @@ - - + +
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -30,7 +30,7 @@
    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1125,16 +1146,16 @@
    -

    PredicateResult

    +

    MatcherResult

    -
    public struct PredicateResult
    +
    public struct MatcherResult
    -

    The value that a Predicates return to describe if the given (actual) value matches the -predicate.

    +

    The value that a Matcher returns to describe if the given (actual) value matches the +matcher.

    @@ -1143,9 +1164,9 @@

    PredicateResult

  • - + - status + status
    @@ -1153,14 +1174,14 @@

    PredicateResult

    -

    Status indicates if the predicate matches, does not match, or fails.

    +

    Status indicates if the matcher matches, does not match, or fails.

    Declaration

    Swift

    -
    public var status: PredicateStatus
    +
    public var status: MatcherStatus
    @@ -1170,9 +1191,9 @@

    Declaration

  • - + - message + message
    @@ -1197,9 +1218,9 @@

    Declaration

  • @@ -1207,14 +1228,14 @@

    Declaration

    -

    Constructs a new PredicateResult with a given status and error message

    +

    Constructs a new MatcherResult with a given status and error message

    Declaration

    Swift

    -
    public init(status: PredicateStatus, message: ExpectationMessage)
    +
    public init(status: MatcherStatus, message: ExpectationMessage)
    @@ -1224,9 +1245,9 @@

    Declaration

  • @@ -1234,7 +1255,7 @@

    Declaration

    -

    Shorthand to PredicateResult(status: PredicateStatus(bool: bool), message: message)

    +

    Shorthand to MatcherResult(status: MatcherStatus(bool: bool), message: message)

    @@ -1251,9 +1272,9 @@

    Declaration

  • @@ -1278,9 +1299,9 @@

    Declaration

  • @@ -1295,7 +1316,7 @@

    Declaration

    Declaration

    Swift

    -
    public func toObjectiveC() -> NMBPredicateResult
    +
    public func toObjectiveC() -> NMBMatcherResult
    @@ -1307,7 +1328,7 @@

    Declaration

  • diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/PollingDefaults.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/PollingDefaults.html index f3f71c0f7..3250271c7 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/PollingDefaults.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/PollingDefaults.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1135,8 +1156,11 @@

    PollingDefaults

    If you are running on a slower machine, it could be useful to increase the default timeout value or slow down poll interval. Default timeout interval is 1, and poll interval is 0.01.

    +
    +

    Note

    + This used to be known as AsyncDefaults. -

    Note: This used to be known as AsyncDefaults.

    +
    @@ -1201,7 +1225,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/SyncExpectation.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/SyncExpectation.html index b8226e9b2..5181bd433 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/SyncExpectation.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/SyncExpectation.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1179,7 +1200,7 @@

    Declaration

    -

    The status of the test after predicates have been evaluated.

    +

    The status of the test after matchers have been evaluated.

    This property can be used for changing test behavior based whether an expectation has passed.

    @@ -1298,9 +1319,9 @@

    Declaration

  • @@ -1316,7 +1337,7 @@

    Declaration

    Swift

    @discardableResult
    -public func to(_ predicate: Predicate<Value>, description: String? = nil) -> SyncExpectation<Value>
    +public func to(_ matcher: Matcher<Value>, description: String? = nil) -> SyncExpectation<Value>
    @@ -1326,9 +1347,9 @@

    Declaration

  • @@ -1344,7 +1365,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNot(_ predicate: Predicate<Value>, description: String? = nil) -> SyncExpectation<Value>
    +public func toNot(_ matcher: Matcher<Value>, description: String? = nil) -> SyncExpectation<Value>
    @@ -1354,9 +1375,9 @@

    Declaration

  • @@ -1374,7 +1395,7 @@

    Declaration

    Swift

    @discardableResult
    -public func notTo(_ predicate: Predicate<Value>, description: String? = nil) -> SyncExpectation<Value>
    +public func notTo(_ matcher: Matcher<Value>, description: String? = nil) -> SyncExpectation<Value>
    @@ -1385,11 +1406,11 @@

    Declaration

  • - - + +
    - -

    AsyncPredicates + +

    AsyncMatchers

    @@ -1397,9 +1418,9 @@

    AsyncPredicates
  • - + - to(_:description:) + to(_:description:) Asynchronous @@ -1418,7 +1439,7 @@

    Declaration

    Swift

    @discardableResult
    -public func to(_ predicate: AsyncPredicate<Value>, description: String? = nil) async -> SyncExpectation<Value>
    +public func to(_ matcher: AsyncMatcher<Value>, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1428,9 +1449,9 @@

    Declaration

  • - + - toNot(_:description:) + toNot(_:description:) Asynchronous @@ -1449,7 +1470,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNot(_ predicate: AsyncPredicate<Value>, description: String? = nil) async -> SyncExpectation<Value>
    +public func toNot(_ matcher: AsyncMatcher<Value>, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1459,9 +1480,9 @@

    Declaration

  • - + - notTo(_:description:) + notTo(_:description:) Asynchronous @@ -1482,7 +1503,7 @@

    Declaration

    Swift

    @discardableResult
    -public func notTo(_ predicate: AsyncPredicate<Value>, description: String? = nil) async -> SyncExpectation<Value>
    +public func notTo(_ matcher: AsyncMatcher<Value>, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1547,11 +1568,11 @@

    Declaration

  • - - + +
    - -

    With Synchronous Predicates + +

    With Synchronous Matchers

    @@ -1559,9 +1580,9 @@

    With Synchronous Predicates
  • - + - toEventually(_:timeout:pollInterval:description:) + toEventually(_:timeout:pollInterval:description:) Asynchronous @@ -1581,7 +1602,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toEventually(_ predicate: Predicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func toEventually(_ matcher: Matcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1591,9 +1612,9 @@

    Declaration

  • - + - toEventuallyNot(_:timeout:pollInterval:description:) + toEventuallyNot(_:timeout:pollInterval:description:) Asynchronous @@ -1613,7 +1634,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toEventuallyNot(_ predicate: Predicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func toEventuallyNot(_ matcher: Matcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1623,9 +1644,9 @@

    Declaration

  • - + - toNotEventually(_:timeout:pollInterval:description:) + toNotEventually(_:timeout:pollInterval:description:) Asynchronous @@ -1647,7 +1668,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNotEventually(_ predicate: Predicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func toNotEventually(_ matcher: Matcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1657,9 +1678,9 @@

    Declaration

  • - + - toNever(_:until:pollInterval:description:) + toNever(_:until:pollInterval:description:) Asynchronous @@ -1679,7 +1700,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNever(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func toNever(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1689,9 +1710,9 @@

    Declaration

  • - + - neverTo(_:until:pollInterval:description:) + neverTo(_:until:pollInterval:description:) Asynchronous @@ -1713,7 +1734,7 @@

    Declaration

    Swift

    @discardableResult
    -public func neverTo(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func neverTo(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1723,9 +1744,9 @@

    Declaration

  • - + - toAlways(_:until:pollInterval:description:) + toAlways(_:until:pollInterval:description:) Asynchronous @@ -1745,7 +1766,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toAlways(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func toAlways(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1755,9 +1776,9 @@

    Declaration

  • - + - alwaysTo(_:until:pollInterval:description:) + alwaysTo(_:until:pollInterval:description:) Asynchronous @@ -1779,7 +1800,7 @@

    Declaration

    Swift

    @discardableResult
    -public func alwaysTo(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func alwaysTo(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1790,11 +1811,11 @@

    Declaration

  • - - + +
    - -

    With AsyncPredicates + +

    With AsyncMatchers

    @@ -1802,9 +1823,9 @@

    With AsyncPredicates
  • - + - toEventually(_:timeout:pollInterval:description:) + toEventually(_:timeout:pollInterval:description:) Asynchronous @@ -1824,7 +1845,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toEventually(_ predicate: AsyncPredicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func toEventually(_ matcher: AsyncMatcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1834,9 +1855,9 @@

    Declaration

  • - + - toEventuallyNot(_:timeout:pollInterval:description:) + toEventuallyNot(_:timeout:pollInterval:description:) Asynchronous @@ -1856,7 +1877,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toEventuallyNot(_ predicate: AsyncPredicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func toEventuallyNot(_ matcher: AsyncMatcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1866,9 +1887,9 @@

    Declaration

  • - + - toNotEventually(_:timeout:pollInterval:description:) + toNotEventually(_:timeout:pollInterval:description:) Asynchronous @@ -1890,7 +1911,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNotEventually(_ predicate: AsyncPredicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func toNotEventually(_ matcher: AsyncMatcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1900,9 +1921,9 @@

    Declaration

  • - + - toNever(_:until:pollInterval:description:) + toNever(_:until:pollInterval:description:) Asynchronous @@ -1922,7 +1943,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toNever(_ predicate: AsyncPredicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func toNever(_ matcher: AsyncMatcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1932,9 +1953,9 @@

    Declaration

  • - + - neverTo(_:until:pollInterval:description:) + neverTo(_:until:pollInterval:description:) Asynchronous @@ -1956,7 +1977,7 @@

    Declaration

    Swift

    @discardableResult
    -public func neverTo(_ predicate: AsyncPredicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func neverTo(_ matcher: AsyncMatcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1966,9 +1987,9 @@

    Declaration

  • - + - toAlways(_:until:pollInterval:description:) + toAlways(_:until:pollInterval:description:) Asynchronous @@ -1988,7 +2009,7 @@

    Declaration

    Swift

    @discardableResult
    -public func toAlways(_ predicate: AsyncPredicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func toAlways(_ matcher: AsyncMatcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -1998,9 +2019,9 @@

    Declaration

  • - + - alwaysTo(_:until:pollInterval:description:) + alwaysTo(_:until:pollInterval:description:) Asynchronous @@ -2022,7 +2043,7 @@

    Declaration

    Swift

    @discardableResult
    -public func alwaysTo(_ predicate: AsyncPredicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    +public func alwaysTo(_ matcher: AsyncMatcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) async -> SyncExpectation<Value>
    @@ -2032,9 +2053,9 @@

    Declaration

  • @@ -2059,7 +2080,7 @@

    Declaration

    Swift

    @available(*, noasync, message: "the sync variant of `toEventually` does not work in async contexts. Use the async variant as a drop-in replacement")
     @discardableResult
    -public func toEventually(_ predicate: Predicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
    +public func toEventually(_ matcher: Matcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
  • @@ -2069,9 +2090,9 @@

    Declaration

  • @@ -2097,7 +2118,7 @@

    Declaration

    Swift

    @available(*, noasync, message: "the sync variant of `toEventuallyNot` does not work in async contexts. Use the async variant as a drop-in replacement")
     @discardableResult
    -public func toEventuallyNot(_ predicate: Predicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
    +public func toEventuallyNot(_ matcher: Matcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
  • @@ -2107,9 +2128,9 @@

    Declaration

  • @@ -2137,7 +2158,7 @@

    Declaration

    Swift

    @available(*, noasync, message: "the sync variant of `toNotEventually` does not work in async contexts. Use the async variant as a drop-in replacement")
     @discardableResult
    -public func toNotEventually(_ predicate: Predicate<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
    +public func toNotEventually(_ matcher: Matcher<Value>, timeout: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
  • @@ -2147,9 +2168,9 @@

    Declaration

  • @@ -2175,7 +2196,7 @@

    Declaration

    Swift

    @available(*, noasync, message: "the sync variant of `toNever` does not work in async contexts. Use the async variant as a drop-in replacement")
     @discardableResult
    -public func toNever(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
    +public func toNever(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
  • @@ -2185,9 +2206,9 @@

    Declaration

  • @@ -2215,7 +2236,7 @@

    Declaration

    Swift

    @available(*, noasync, message: "the sync variant of `neverTo` does not work in async contexts. Use the async variant as a drop-in replacement")
     @discardableResult
    -public func neverTo(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
    +public func neverTo(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
  • @@ -2225,9 +2246,9 @@

    Declaration

  • @@ -2253,7 +2274,7 @@

    Declaration

    Swift

    @available(*, noasync, message: "the sync variant of `toAlways` does not work in async contexts. Use the async variant as a drop-in replacement")
     @discardableResult
    -public func toAlways(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
    +public func toAlways(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
  • @@ -2263,9 +2284,9 @@

    Declaration

  • @@ -2293,7 +2314,7 @@

    Declaration

    Swift

    @available(*, noasync, message: "the sync variant of `alwaysTo` does not work in async contexts. Use the async variant as a drop-in replacement")
     @discardableResult
    -public func alwaysTo(_ predicate: Predicate<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
    +public func alwaysTo(_ matcher: Matcher<Value>, until: NimbleTimeInterval = PollingDefaults.timeout, pollInterval: NimbleTimeInterval = PollingDefaults.pollInterval, description: String? = nil) -> SyncExpectation<Value>
  • @@ -2305,7 +2326,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/execTypesCountTuple.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/execTypesCountTuple.html index c6f1cf6de..144742751 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/execTypesCountTuple.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Structs/execTypesCountTuple.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1198,7 +1219,7 @@

    Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Typealiases.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Typealiases.html index 5928f7723..9311e1168 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/Typealiases.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/Typealiases.html @@ -17,7 +17,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -64,19 +64,19 @@ NMBExpectationMessage - @@ -1081,7 +1078,7 @@ AsyncExpression @@ -1132,6 +1153,144 @@

    Type Aliases

      +
    • +
      + + + + AsyncPredicate + +
      +
      +
      +
      +
      +
      +

      Undocumented

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public typealias AsyncPredicate = AsyncMatcher
      + +
      +
      +
      +
      +
    • +
    • +
      + + + + Predicate + +
      +
      +
      +
      +
      +
      +

      Provides an easy upgrade path for custom Matchers to be renamed to Matchers

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      @available(*, deprecated, renamed: "Matcher")
      +public typealias Predicate = Matcher
      + +
      +
      +
      +
      +
    • +
    • +
      + + + + PredicateResult + +
      +
      +
      +
      +
      +
      +

      Provides an easy upgrade path for custom Matchers to be renamed to Matchers

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      @available(*, deprecated, renamed: "MatcherResult")
      +public typealias PredicateResult = MatcherResult
      + +
      +
      +
      +
      +
    • +
    • +
      + + + + PredicateStatus + +
      +
      +
      +
      +
      +
      +

      Provides an easy upgrade path for custom Matchers to be renamed to Matchers

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      @available(*, deprecated, renamed: "MatcherStatus")
      +public typealias PredicateStatus = MatcherStatus
      + +
      +
      +
      +
      +
    • +
    • +
      + + + + MatcherBlock + +
      +
      +
      +
      +
      +
      +

      Undocumented

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public typealias MatcherBlock = (_ actualExpression: Expression<NSObject>) throws -> NMBMatcherResult
      + +
      +
      +
      +
      +
    • @@ -1145,14 +1304,99 @@

      Type Aliases

      -

      Undocumented

      +

      Provides an easy upgrade path for custom Matchers to be renamed to Matchers

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      @available(*, deprecated, renamed: "MatcherBlock")
      +public typealias PredicateBlock = MatcherBlock
      + +
      +
      +
      +
      +
    • +
    • +
      + + + + NMBPredicate + +
      +
      +
      +
      +
      +
      +

      Provides an easy upgrade path for custom Matchers to be renamed to Matchers

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      @available(*, deprecated, renamed: "NMBMatcher")
      +public typealias NMBPredicate = NMBMatcher
      + +
      +
      +
      +
      +
    • +
    • +
      + + + + NMBPredicateResult + +
      +
      +
      +
      +
      +
      +

      Provides an easy upgrade path for custom Matchers to be renamed to Matchers

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      @available(*, deprecated, renamed: "NMBMatcherResult")
      +public typealias NMBPredicateResult = NMBMatcherResult
      + +
      +
      +
      +
      +
    • +
    • +
      + + + + NMBPredicateStatus + +
      +
      +
      +
      +
      +
      +

      Provides an easy upgrade path for custom Matchers to be renamed to Matchers

      Declaration

      Swift

      -
      public typealias PredicateBlock = (_ actualExpression: Expression<NSObject>) throws -> NMBPredicateResult
      +
      @available(*, deprecated, renamed: "NMBMatcherStatus")
      +public typealias NMBPredicateStatus = NMBMatcherStatus
      @@ -1209,7 +1453,7 @@

      Declaration

    diff --git a/docs/docsets/Nimble.docset/Contents/Resources/Documents/index.html b/docs/docsets/Nimble.docset/Contents/Resources/Documents/index.html index b6c9eb584..143a1441f 100644 --- a/docs/docsets/Nimble.docset/Contents/Resources/Documents/index.html +++ b/docs/docsets/Nimble.docset/Contents/Resources/Documents/index.html @@ -16,7 +16,7 @@
    -

    Nimble 12.3.0 Docs (46% documented)

    +

    Nimble 13.0.0-rc.1 Docs (47% documented)

    GitHubView on GitHub

    @@ -63,19 +63,19 @@ NMBExpectationMessage - @@ -1080,7 +1077,7 @@ AsyncExpression @@ -1190,7 +1211,7 @@

    How to Use Nimble

  • Writing Your Own Matchers