XCTestCase
Overview
Location
-
Reference:
- RemObjects.Elements.EUnit.dll .NET, .NET Standard 2.0
- remobjects.elements.eunit.jar Cooper
- EUnit.fx Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, macOS
- libEUnit.fx Toffee
- Namespace: RemObjects.Elements.EUnit.XCTest
- Platforms: .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, macOS, Toffee
- Ancestry: Test | XCTestCase
constructor .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, macOS
constructor
XCTestCase()
init()
XCTestCase()
Sub New()
addTeardownBlock ($Delegate_) macOS
method addTeardownBlock(aBlock: $Delegate_)
void addTeardownBlock($Delegate_ aBlock)
func addTeardownBlock(_ aBlock: $Delegate_)
void addTeardownBlock($Delegate_ aBlock)
Sub addTeardownBlock(aBlock As $Delegate_)
Parameters:
- aBlock:
addTeardownBlock (Action) virtual .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee
// .NET, .NET Standard 2.0
method addTeardownBlock(aBlock: Action)
// Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method addTeardownBlock(aBlock: $Delegate_)
// .NET, .NET Standard 2.0
void addTeardownBlock(Action aBlock)
// Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
void addTeardownBlock($Delegate_ aBlock)
func addTeardownBlock(_ aBlock: () -> ())
void addTeardownBlock(eunit$$ aBlock)
// .NET, .NET Standard 2.0
Sub addTeardownBlock(aBlock As Action)
// Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Sub addTeardownBlock(aBlock As $Delegate_)
Parameters:
- aBlock:
defaultPerformanceMetrics virtual
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
property defaultPerformanceMetrics: List<String> read write;
// macOS
property defaultPerformanceMetrics: List<String> read write;
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
List<String> defaultPerformanceMetrics { get; set; }
// macOS
List<String> defaultPerformanceMetrics { get; set; }
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee
var defaultPerformanceMetrics: List<String> { get{} set{} }
// macOS
var defaultPerformanceMetrics: List<String> { get{} set{} }
List<String> defaultPerformanceMetrics { __get; __set; }
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Property defaultPerformanceMetrics() As List<String>
// macOS
Property defaultPerformanceMetrics() As List<String>
expectation description(String): XCTestExpectation
method expectation description(aDescription: String): XCTestExpectation
XCTestExpectation expectation description(String aDescription)
func expectation(description aDescription: String) -> XCTestExpectation
XCTestExpectation expectation description(String aDescription)
Function expectation description(aDescription As String) As XCTestExpectation
Parameters:
- aDescription:
expectation for(String) object(nullable Object) handler(Handler): XCTestExpectation
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method expectation for(aNotificationName: String) object(aObject: nullable Object) handler(aHandler: Handler): XCTestExpectation
// macOS
method expectation for(aNotificationName: String) object(aObject: nullable Object) handler(aHandler: XCTNSNotificationExpectation.Handler): XCTestExpectation
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
XCTestExpectation expectation for(String aNotificationName) object(Object? aObject) handler(Handler aHandler)
// macOS
XCTestExpectation expectation for(String aNotificationName) object(Object? aObject) handler(XCTNSNotificationExpectation.Handler aHandler)
func expectation(for aNotificationName: String, object aObject: NSObject?, handler aHandler: Handler) -> XCTestExpectation
XCTestExpectation expectation for(String aNotificationName) object(Object aObject) handler(Handler aHandler)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Function expectation for(aNotificationName As String) object(aObject As Object?) handler(aHandler As Handler) As XCTestExpectation
// macOS
Function expectation for(aNotificationName As String) object(aObject As Object?) handler(aHandler As XCTNSNotificationExpectation.Handler) As XCTestExpectation
Parameters:
- aNotificationName:
- aObject:
- aHandler:
expectation for(NSPredicate) evaluatedWith(nullable NSObject) handler(Handler): XCTestExpectation Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator, macOS, Toffee
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
method expectation for(aPredicate: NSPredicate) evaluatedWith(aEvaluatedWith: nullable NSObject) handler(aHandler: Handler): XCTestExpectation
// macOS
method expectation for(aPredicate: NSPredicate) evaluatedWith(aEvaluatedWith: nullable NSObject) handler(aHandler: XCTNSPredicateExpectation.Handler): XCTestExpectation
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
XCTestExpectation expectation for(NSPredicate aPredicate) evaluatedWith(NSObject? aEvaluatedWith) handler(Handler aHandler)
// macOS
XCTestExpectation expectation for(NSPredicate aPredicate) evaluatedWith(NSObject? aEvaluatedWith) handler(XCTNSPredicateExpectation.Handler aHandler)
func expectation(for aPredicate: NSPredicate, evaluatedWith aEvaluatedWith: NSObject?, handler aHandler: Handler) -> XCTestExpectation
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
Function expectation for(aPredicate As NSPredicate) evaluatedWith(aEvaluatedWith As NSObject?) handler(aHandler As Handler) As XCTestExpectation
// macOS
Function expectation for(aPredicate As NSPredicate) evaluatedWith(aEvaluatedWith As NSObject?) handler(aHandler As XCTNSPredicateExpectation.Handler) As XCTestExpectation
Parameters:
- aPredicate:
- aEvaluatedWith:
- aHandler:
expectationForNotification virtual
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method expectationForNotification(aNotificationName: String) object(aObject: nullable Object) handler(aHandler: Handler): XCTestExpectation
// macOS
method expectationForNotification(aNotificationName: String) object(aObject: nullable Object) handler(aHandler: XCTNSNotificationExpectation.Handler): XCTestExpectation
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
XCTestExpectation expectationForNotification(String aNotificationName) object(Object? aObject) handler(Handler aHandler)
// macOS
XCTestExpectation expectationForNotification(String aNotificationName) object(Object? aObject) handler(XCTNSNotificationExpectation.Handler aHandler)
func expectationForNotification(_ aNotificationName: String, object aObject: NSObject?, handler aHandler: Handler) -> XCTestExpectation
XCTestExpectation expectationForNotification(String aNotificationName) object(Object aObject) handler(Handler aHandler)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Function expectationForNotification(aNotificationName As String) object(aObject As Object?) handler(aHandler As Handler) As XCTestExpectation
// macOS
Function expectationForNotification(aNotificationName As String) object(aObject As Object?) handler(aHandler As XCTNSNotificationExpectation.Handler) As XCTestExpectation
Parameters:
- aNotificationName:
- aObject:
- aHandler:
expectationForPredicate virtual Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator, macOS, Toffee
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
method expectationForPredicate(aPredicate: NSPredicate) evaluatedWith(aEvaluatedWith: nullable NSObject) handler(aHandler: Handler): XCTestExpectation
// macOS
method expectationForPredicate(aPredicate: NSPredicate) evaluatedWith(aEvaluatedWith: nullable NSObject) handler(aHandler: XCTNSPredicateExpectation.Handler): XCTestExpectation
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
XCTestExpectation expectationForPredicate(NSPredicate aPredicate) evaluatedWith(NSObject? aEvaluatedWith) handler(Handler aHandler)
// macOS
XCTestExpectation expectationForPredicate(NSPredicate aPredicate) evaluatedWith(NSObject? aEvaluatedWith) handler(XCTNSPredicateExpectation.Handler aHandler)
func expectationForPredicate(_ aPredicate: NSPredicate, evaluatedWith aEvaluatedWith: NSObject?, handler aHandler: Handler) -> XCTestExpectation
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
Function expectationForPredicate(aPredicate As NSPredicate) evaluatedWith(aEvaluatedWith As NSObject?) handler(aHandler As Handler) As XCTestExpectation
// macOS
Function expectationForPredicate(aPredicate As NSPredicate) evaluatedWith(aEvaluatedWith As NSObject?) handler(aHandler As XCTNSPredicateExpectation.Handler) As XCTestExpectation
Parameters:
- aPredicate:
- aEvaluatedWith:
- aHandler:
expectationWithDescription virtual
method expectationWithDescription(aDescription: String): XCTestExpectation
XCTestExpectation expectationWithDescription(String aDescription)
func expectationWithDescription(_ aDescription: String) -> XCTestExpectation
XCTestExpectation expectationWithDescription(String aDescription)
Function expectationWithDescription(aDescription As String) As XCTestExpectation
Parameters:
- aDescription:
keyValueObservingExpectation for(NSObject) keyPath(String) expectedValue(nullable Object): XCTestExpectation Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator, macOS, Toffee
method keyValueObservingExpectation for(aObject: NSObject) keyPath(aKeyPath: String) expectedValue(aExpectedValue: nullable Object): XCTestExpectation
XCTestExpectation keyValueObservingExpectation for(NSObject aObject) keyPath(String aKeyPath) expectedValue(Object? aExpectedValue)
func keyValueObservingExpectation(for aObject: NSObject, keyPath aKeyPath: String, expectedValue aExpectedValue: NSObject?) -> XCTestExpectation
Function keyValueObservingExpectation for(aObject As NSObject) keyPath(aKeyPath As String) expectedValue(aExpectedValue As Object?) As XCTestExpectation
Parameters:
- aObject:
- aKeyPath:
- aExpectedValue:
keyValueObservingExpectation for(Object) keyPath(String) handler(Handler): XCTestExpectation Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator, macOS, Toffee
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
method keyValueObservingExpectation for(aObject: Object) keyPath(aKeyPath: String) handler(handler: Handler): XCTestExpectation
// macOS
method keyValueObservingExpectation for(aObject: Object) keyPath(aKeyPath: String) handler(handler: XCTKVOExpectation.Handler): XCTestExpectation
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
XCTestExpectation keyValueObservingExpectation for(Object aObject) keyPath(String aKeyPath) handler(Handler handler)
// macOS
XCTestExpectation keyValueObservingExpectation for(Object aObject) keyPath(String aKeyPath) handler(XCTKVOExpectation.Handler handler)
func keyValueObservingExpectation(for aObject: NSObject, keyPath aKeyPath: String, handler: Handler) -> XCTestExpectation
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
Function keyValueObservingExpectation for(aObject As Object) keyPath(aKeyPath As String) handler(handler As Handler) As XCTestExpectation
// macOS
Function keyValueObservingExpectation for(aObject As Object) keyPath(aKeyPath As String) handler(handler As XCTKVOExpectation.Handler) As XCTestExpectation
Parameters:
- aObject:
- aKeyPath:
- handler:
keyValueObservingExpectationForObject (NSObject) keyPath(String) expectedValue(nullable Object): XCTestExpectation virtual Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator, macOS, Toffee
method keyValueObservingExpectationForObject(aObject: NSObject) keyPath(aKeyPath: String) expectedValue(aExpectedValue: nullable Object): XCTestExpectation
XCTestExpectation keyValueObservingExpectationForObject(NSObject aObject) keyPath(String aKeyPath) expectedValue(Object? aExpectedValue)
func keyValueObservingExpectationForObject(_ aObject: NSObject, keyPath aKeyPath: String, expectedValue aExpectedValue: NSObject?) -> XCTestExpectation
Function keyValueObservingExpectationForObject(aObject As NSObject) keyPath(aKeyPath As String) expectedValue(aExpectedValue As Object?) As XCTestExpectation
Parameters:
- aObject:
- aKeyPath:
- aExpectedValue:
keyValueObservingExpectationForObject (Object) keyPath(String) handler(Handler): XCTestExpectation virtual Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator, macOS, Toffee
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
method keyValueObservingExpectationForObject(aObject: Object) keyPath(aKeyPath: String) handler(handler: Handler): XCTestExpectation
// macOS
method keyValueObservingExpectationForObject(aObject: Object) keyPath(aKeyPath: String) handler(handler: XCTKVOExpectation.Handler): XCTestExpectation
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
XCTestExpectation keyValueObservingExpectationForObject(Object aObject) keyPath(String aKeyPath) handler(Handler handler)
// macOS
XCTestExpectation keyValueObservingExpectationForObject(Object aObject) keyPath(String aKeyPath) handler(XCTKVOExpectation.Handler handler)
func keyValueObservingExpectationForObject(_ aObject: NSObject, keyPath aKeyPath: String, handler: Handler) -> XCTestExpectation
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
Function keyValueObservingExpectationForObject(aObject As Object) keyPath(aKeyPath As String) handler(handler As Handler) As XCTestExpectation
// macOS
Function keyValueObservingExpectationForObject(aObject As Object) keyPath(aKeyPath As String) handler(handler As XCTKVOExpectation.Handler) As XCTestExpectation
Parameters:
- aObject:
- aKeyPath:
- handler:
measure ($Delegate_) macOS
method measure(aBlock: $Delegate_)
void measure($Delegate_ aBlock)
func measure(_ aBlock: $Delegate_)
void measure($Delegate_ aBlock)
Sub measure(aBlock As $Delegate_)
Parameters:
- aBlock:
measure (Action) virtual .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee
// .NET, .NET Standard 2.0
method measure(aBlock: Action)
// Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method measure(aBlock: $Delegate_)
// .NET, .NET Standard 2.0
void measure(Action aBlock)
// Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
void measure($Delegate_ aBlock)
func measure(_ aBlock: () -> ())
void measure(eunit$$ aBlock)
// .NET, .NET Standard 2.0
Sub measure(aBlock As Action)
// Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Sub measure(aBlock As $Delegate_)
Parameters:
- aBlock:
measureMetrics virtual
method measureMetrics(aMetris: array of XCTPerformanceMetric) automaticallyStartMeasuring(aAutoStart: Boolean) forBlock(aBlock: $Delegate_)
void measureMetrics(XCTPerformanceMetric[] aMetris) automaticallyStartMeasuring(Boolean aAutoStart) forBlock($Delegate_ aBlock)
func measureMetrics(_ aMetris: XCTPerformanceMetric..., automaticallyStartMeasuring aAutoStart: Boolean, forBlock aBlock: () -> ())
void measureMetrics(XCTPerformanceMetric[] aMetris) automaticallyStartMeasuring(Boolean aAutoStart) forBlock(eunit$$ aBlock)
Sub measureMetrics(aMetris As XCTPerformanceMetric()) automaticallyStartMeasuring(aAutoStart As Boolean) forBlock(aBlock As $Delegate_)
Parameters:
- aMetris:
- aAutoStart:
- aBlock:
setup .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method setup
void setup()
func setup()
void setup()
Sub setup()
setup setup() Toffee
func setup(setup )
Parameters:
- :
SetupTest virtual (declared in Test) .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, macOS
When overriden in a child this method is called before first test method.
method SetupTest
void SetupTest()
func SetupTest()
void SetupTest()
Sub SetupTest()
SetupTest SetupTest() virtual (declared in Test) Toffee
func SetupTest(SetupTest )
Parameters:
- :
startMeasuring virtual
method startMeasuring(aIgnoreThisParameter: Boolean)
void startMeasuring(Boolean aIgnoreThisParameter)
func startMeasuring(_ aIgnoreThisParameter: Boolean)
void startMeasuring(Boolean aIgnoreThisParameter)
Sub startMeasuring(aIgnoreThisParameter As Boolean)
Parameters:
- aIgnoreThisParameter:
stopMeasuring virtual
method stopMeasuring(aIgnoreThisParameter: Boolean)
void stopMeasuring(Boolean aIgnoreThisParameter)
func stopMeasuring(_ aIgnoreThisParameter: Boolean)
void stopMeasuring(Boolean aIgnoreThisParameter)
Sub stopMeasuring(aIgnoreThisParameter As Boolean)
Parameters:
- aIgnoreThisParameter:
tearDown .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method tearDown
void tearDown()
func tearDown()
void tearDown()
Sub tearDown()
tearDown tearDown() Toffee
func tearDown(tearDown )
Parameters:
- :
TeardownTest virtual (declared in Test) .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, macOS
When overriden in a child this method is called after last test method.
method TeardownTest
void TeardownTest()
func TeardownTest()
void TeardownTest()
Sub TeardownTest()
TeardownTest TeardownTest() virtual (declared in Test) Toffee
func TeardownTest(TeardownTest )
Parameters:
- :
wait for(List<XCTestExpectation>) timeout(TimeInterval)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method wait for(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval)
// macOS
method wait for(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
void wait for(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout)
// macOS
void wait for(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout)
func wait(for aExpectations: List<XCTestExpectation>, timeout aTimeout: TimeInterval)
void wait for(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Sub wait for(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval)
// macOS
Sub wait for(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval)
Parameters:
- aExpectations:
- aTimeout:
wait for(List<XCTestExpectation>) timeout(TimeInterval) enforceOrder(Boolean)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method wait for(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval) enforceOrder(aEnforceOrder: Boolean)
// macOS
method wait for(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval) enforceOrder(aEnforceOrder: Boolean)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
void wait for(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout) enforceOrder(Boolean aEnforceOrder)
// macOS
void wait for(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout) enforceOrder(Boolean aEnforceOrder)
func wait(for aExpectations: List<XCTestExpectation>, timeout aTimeout: TimeInterval, enforceOrder aEnforceOrder: Boolean)
void wait for(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout) enforceOrder(Boolean aEnforceOrder)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Sub wait for(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval) enforceOrder(aEnforceOrder As Boolean)
// macOS
Sub wait for(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval) enforceOrder(aEnforceOrder As Boolean)
Parameters:
- aExpectations:
- aTimeout:
- aEnforceOrder:
waitForExpectations (List<XCTestExpectation>) timeout(TimeInterval) virtual
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method waitForExpectations(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval)
// macOS
method waitForExpectations(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
void waitForExpectations(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout)
// macOS
void waitForExpectations(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout)
func waitForExpectations(_ aExpectations: List<XCTestExpectation>, timeout aTimeout: TimeInterval)
void waitForExpectations(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Sub waitForExpectations(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval)
// macOS
Sub waitForExpectations(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval)
Parameters:
- aExpectations:
- aTimeout:
waitForExpectations (List<XCTestExpectation>) timeout(TimeInterval) enforceOrder(Boolean) virtual
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method waitForExpectations(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval) enforceOrder(aEnforceOrder: Boolean)
// macOS
method waitForExpectations(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval) enforceOrder(aEnforceOrder: Boolean)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
void waitForExpectations(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout) enforceOrder(Boolean aEnforceOrder)
// macOS
void waitForExpectations(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout) enforceOrder(Boolean aEnforceOrder)
func waitForExpectations(_ aExpectations: List<XCTestExpectation>, timeout aTimeout: TimeInterval, enforceOrder aEnforceOrder: Boolean)
void waitForExpectations(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout) enforceOrder(Boolean aEnforceOrder)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Sub waitForExpectations(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval) enforceOrder(aEnforceOrder As Boolean)
// macOS
Sub waitForExpectations(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval) enforceOrder(aEnforceOrder As Boolean)
Parameters:
- aExpectations:
- aTimeout:
- aEnforceOrder:
waitForExpectations timeout(TimeInterval) handler(XCWaitCompletionHandler)
method waitForExpectations timeout(aTimeout: TimeInterval) handler(aHandler: XCWaitCompletionHandler)
void waitForExpectations timeout(TimeInterval aTimeout) handler(XCWaitCompletionHandler aHandler)
func waitForExpectations(timeout aTimeout: TimeInterval, handler aHandler: XCWaitCompletionHandler)
void waitForExpectations timeout(TimeInterval aTimeout) handler(XCWaitCompletionHandler aHandler)
Sub waitForExpectations timeout(aTimeout As TimeInterval) handler(aHandler As XCWaitCompletionHandler)
Parameters:
- aTimeout:
- aHandler:
waitForExpectationsWithTimeout virtual
method waitForExpectationsWithTimeout(aTimeout: TimeInterval) handler(aHandler: XCWaitCompletionHandler)
void waitForExpectationsWithTimeout(TimeInterval aTimeout) handler(XCWaitCompletionHandler aHandler)
func waitForExpectationsWithTimeout(_ aTimeout: TimeInterval, handler aHandler: XCWaitCompletionHandler)
void waitForExpectationsWithTimeout(TimeInterval aTimeout) handler(XCWaitCompletionHandler aHandler)
Sub waitForExpectationsWithTimeout(aTimeout As TimeInterval) handler(aHandler As XCWaitCompletionHandler)
Parameters:
- aTimeout:
- aHandler:
defaultPerformanceMetrics virtual
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
property defaultPerformanceMetrics: List<String> read write;
// macOS
property defaultPerformanceMetrics: List<String> read write;
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
List<String> defaultPerformanceMetrics { get; set; }
// macOS
List<String> defaultPerformanceMetrics { get; set; }
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee
var defaultPerformanceMetrics: List<String> { get{} set{} }
// macOS
var defaultPerformanceMetrics: List<String> { get{} set{} }
List<String> defaultPerformanceMetrics { __get; __set; }
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Property defaultPerformanceMetrics() As List<String>
// macOS
Property defaultPerformanceMetrics() As List<String>
constructor .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, macOS
constructor
XCTestCase()
init()
XCTestCase()
Sub New()
addTeardownBlock ($Delegate_) macOS
method addTeardownBlock(aBlock: $Delegate_)
void addTeardownBlock($Delegate_ aBlock)
func addTeardownBlock(_ aBlock: $Delegate_)
void addTeardownBlock($Delegate_ aBlock)
Sub addTeardownBlock(aBlock As $Delegate_)
Parameters:
- aBlock:
addTeardownBlock (Action) virtual .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee
// .NET, .NET Standard 2.0
method addTeardownBlock(aBlock: Action)
// Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method addTeardownBlock(aBlock: $Delegate_)
// .NET, .NET Standard 2.0
void addTeardownBlock(Action aBlock)
// Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
void addTeardownBlock($Delegate_ aBlock)
func addTeardownBlock(_ aBlock: () -> ())
void addTeardownBlock(eunit$$ aBlock)
// .NET, .NET Standard 2.0
Sub addTeardownBlock(aBlock As Action)
// Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Sub addTeardownBlock(aBlock As $Delegate_)
Parameters:
- aBlock:
expectation description(String): XCTestExpectation
method expectation description(aDescription: String): XCTestExpectation
XCTestExpectation expectation description(String aDescription)
func expectation(description aDescription: String) -> XCTestExpectation
XCTestExpectation expectation description(String aDescription)
Function expectation description(aDescription As String) As XCTestExpectation
Parameters:
- aDescription:
expectation for(String) object(nullable Object) handler(Handler): XCTestExpectation
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method expectation for(aNotificationName: String) object(aObject: nullable Object) handler(aHandler: Handler): XCTestExpectation
// macOS
method expectation for(aNotificationName: String) object(aObject: nullable Object) handler(aHandler: XCTNSNotificationExpectation.Handler): XCTestExpectation
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
XCTestExpectation expectation for(String aNotificationName) object(Object? aObject) handler(Handler aHandler)
// macOS
XCTestExpectation expectation for(String aNotificationName) object(Object? aObject) handler(XCTNSNotificationExpectation.Handler aHandler)
func expectation(for aNotificationName: String, object aObject: NSObject?, handler aHandler: Handler) -> XCTestExpectation
XCTestExpectation expectation for(String aNotificationName) object(Object aObject) handler(Handler aHandler)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Function expectation for(aNotificationName As String) object(aObject As Object?) handler(aHandler As Handler) As XCTestExpectation
// macOS
Function expectation for(aNotificationName As String) object(aObject As Object?) handler(aHandler As XCTNSNotificationExpectation.Handler) As XCTestExpectation
Parameters:
- aNotificationName:
- aObject:
- aHandler:
expectation for(NSPredicate) evaluatedWith(nullable NSObject) handler(Handler): XCTestExpectation Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator, macOS, Toffee
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
method expectation for(aPredicate: NSPredicate) evaluatedWith(aEvaluatedWith: nullable NSObject) handler(aHandler: Handler): XCTestExpectation
// macOS
method expectation for(aPredicate: NSPredicate) evaluatedWith(aEvaluatedWith: nullable NSObject) handler(aHandler: XCTNSPredicateExpectation.Handler): XCTestExpectation
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
XCTestExpectation expectation for(NSPredicate aPredicate) evaluatedWith(NSObject? aEvaluatedWith) handler(Handler aHandler)
// macOS
XCTestExpectation expectation for(NSPredicate aPredicate) evaluatedWith(NSObject? aEvaluatedWith) handler(XCTNSPredicateExpectation.Handler aHandler)
func expectation(for aPredicate: NSPredicate, evaluatedWith aEvaluatedWith: NSObject?, handler aHandler: Handler) -> XCTestExpectation
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
Function expectation for(aPredicate As NSPredicate) evaluatedWith(aEvaluatedWith As NSObject?) handler(aHandler As Handler) As XCTestExpectation
// macOS
Function expectation for(aPredicate As NSPredicate) evaluatedWith(aEvaluatedWith As NSObject?) handler(aHandler As XCTNSPredicateExpectation.Handler) As XCTestExpectation
Parameters:
- aPredicate:
- aEvaluatedWith:
- aHandler:
expectationForNotification virtual
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method expectationForNotification(aNotificationName: String) object(aObject: nullable Object) handler(aHandler: Handler): XCTestExpectation
// macOS
method expectationForNotification(aNotificationName: String) object(aObject: nullable Object) handler(aHandler: XCTNSNotificationExpectation.Handler): XCTestExpectation
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
XCTestExpectation expectationForNotification(String aNotificationName) object(Object? aObject) handler(Handler aHandler)
// macOS
XCTestExpectation expectationForNotification(String aNotificationName) object(Object? aObject) handler(XCTNSNotificationExpectation.Handler aHandler)
func expectationForNotification(_ aNotificationName: String, object aObject: NSObject?, handler aHandler: Handler) -> XCTestExpectation
XCTestExpectation expectationForNotification(String aNotificationName) object(Object aObject) handler(Handler aHandler)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Function expectationForNotification(aNotificationName As String) object(aObject As Object?) handler(aHandler As Handler) As XCTestExpectation
// macOS
Function expectationForNotification(aNotificationName As String) object(aObject As Object?) handler(aHandler As XCTNSNotificationExpectation.Handler) As XCTestExpectation
Parameters:
- aNotificationName:
- aObject:
- aHandler:
expectationForPredicate virtual Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator, macOS, Toffee
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
method expectationForPredicate(aPredicate: NSPredicate) evaluatedWith(aEvaluatedWith: nullable NSObject) handler(aHandler: Handler): XCTestExpectation
// macOS
method expectationForPredicate(aPredicate: NSPredicate) evaluatedWith(aEvaluatedWith: nullable NSObject) handler(aHandler: XCTNSPredicateExpectation.Handler): XCTestExpectation
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
XCTestExpectation expectationForPredicate(NSPredicate aPredicate) evaluatedWith(NSObject? aEvaluatedWith) handler(Handler aHandler)
// macOS
XCTestExpectation expectationForPredicate(NSPredicate aPredicate) evaluatedWith(NSObject? aEvaluatedWith) handler(XCTNSPredicateExpectation.Handler aHandler)
func expectationForPredicate(_ aPredicate: NSPredicate, evaluatedWith aEvaluatedWith: NSObject?, handler aHandler: Handler) -> XCTestExpectation
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
Function expectationForPredicate(aPredicate As NSPredicate) evaluatedWith(aEvaluatedWith As NSObject?) handler(aHandler As Handler) As XCTestExpectation
// macOS
Function expectationForPredicate(aPredicate As NSPredicate) evaluatedWith(aEvaluatedWith As NSObject?) handler(aHandler As XCTNSPredicateExpectation.Handler) As XCTestExpectation
Parameters:
- aPredicate:
- aEvaluatedWith:
- aHandler:
expectationWithDescription virtual
method expectationWithDescription(aDescription: String): XCTestExpectation
XCTestExpectation expectationWithDescription(String aDescription)
func expectationWithDescription(_ aDescription: String) -> XCTestExpectation
XCTestExpectation expectationWithDescription(String aDescription)
Function expectationWithDescription(aDescription As String) As XCTestExpectation
Parameters:
- aDescription:
keyValueObservingExpectation for(NSObject) keyPath(String) expectedValue(nullable Object): XCTestExpectation Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator, macOS, Toffee
method keyValueObservingExpectation for(aObject: NSObject) keyPath(aKeyPath: String) expectedValue(aExpectedValue: nullable Object): XCTestExpectation
XCTestExpectation keyValueObservingExpectation for(NSObject aObject) keyPath(String aKeyPath) expectedValue(Object? aExpectedValue)
func keyValueObservingExpectation(for aObject: NSObject, keyPath aKeyPath: String, expectedValue aExpectedValue: NSObject?) -> XCTestExpectation
Function keyValueObservingExpectation for(aObject As NSObject) keyPath(aKeyPath As String) expectedValue(aExpectedValue As Object?) As XCTestExpectation
Parameters:
- aObject:
- aKeyPath:
- aExpectedValue:
keyValueObservingExpectation for(Object) keyPath(String) handler(Handler): XCTestExpectation Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator, macOS, Toffee
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
method keyValueObservingExpectation for(aObject: Object) keyPath(aKeyPath: String) handler(handler: Handler): XCTestExpectation
// macOS
method keyValueObservingExpectation for(aObject: Object) keyPath(aKeyPath: String) handler(handler: XCTKVOExpectation.Handler): XCTestExpectation
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
XCTestExpectation keyValueObservingExpectation for(Object aObject) keyPath(String aKeyPath) handler(Handler handler)
// macOS
XCTestExpectation keyValueObservingExpectation for(Object aObject) keyPath(String aKeyPath) handler(XCTKVOExpectation.Handler handler)
func keyValueObservingExpectation(for aObject: NSObject, keyPath aKeyPath: String, handler: Handler) -> XCTestExpectation
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
Function keyValueObservingExpectation for(aObject As Object) keyPath(aKeyPath As String) handler(handler As Handler) As XCTestExpectation
// macOS
Function keyValueObservingExpectation for(aObject As Object) keyPath(aKeyPath As String) handler(handler As XCTKVOExpectation.Handler) As XCTestExpectation
Parameters:
- aObject:
- aKeyPath:
- handler:
keyValueObservingExpectationForObject (NSObject) keyPath(String) expectedValue(nullable Object): XCTestExpectation virtual Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator, macOS, Toffee
method keyValueObservingExpectationForObject(aObject: NSObject) keyPath(aKeyPath: String) expectedValue(aExpectedValue: nullable Object): XCTestExpectation
XCTestExpectation keyValueObservingExpectationForObject(NSObject aObject) keyPath(String aKeyPath) expectedValue(Object? aExpectedValue)
func keyValueObservingExpectationForObject(_ aObject: NSObject, keyPath aKeyPath: String, expectedValue aExpectedValue: NSObject?) -> XCTestExpectation
Function keyValueObservingExpectationForObject(aObject As NSObject) keyPath(aKeyPath As String) expectedValue(aExpectedValue As Object?) As XCTestExpectation
Parameters:
- aObject:
- aKeyPath:
- aExpectedValue:
keyValueObservingExpectationForObject (Object) keyPath(String) handler(Handler): XCTestExpectation virtual Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator, macOS, Toffee
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
method keyValueObservingExpectationForObject(aObject: Object) keyPath(aKeyPath: String) handler(handler: Handler): XCTestExpectation
// macOS
method keyValueObservingExpectationForObject(aObject: Object) keyPath(aKeyPath: String) handler(handler: XCTKVOExpectation.Handler): XCTestExpectation
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
XCTestExpectation keyValueObservingExpectationForObject(Object aObject) keyPath(String aKeyPath) handler(Handler handler)
// macOS
XCTestExpectation keyValueObservingExpectationForObject(Object aObject) keyPath(String aKeyPath) handler(XCTKVOExpectation.Handler handler)
func keyValueObservingExpectationForObject(_ aObject: NSObject, keyPath aKeyPath: String, handler: Handler) -> XCTestExpectation
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
Function keyValueObservingExpectationForObject(aObject As Object) keyPath(aKeyPath As String) handler(handler As Handler) As XCTestExpectation
// macOS
Function keyValueObservingExpectationForObject(aObject As Object) keyPath(aKeyPath As String) handler(handler As XCTKVOExpectation.Handler) As XCTestExpectation
Parameters:
- aObject:
- aKeyPath:
- handler:
measure ($Delegate_) macOS
method measure(aBlock: $Delegate_)
void measure($Delegate_ aBlock)
func measure(_ aBlock: $Delegate_)
void measure($Delegate_ aBlock)
Sub measure(aBlock As $Delegate_)
Parameters:
- aBlock:
measure (Action) virtual .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee
// .NET, .NET Standard 2.0
method measure(aBlock: Action)
// Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method measure(aBlock: $Delegate_)
// .NET, .NET Standard 2.0
void measure(Action aBlock)
// Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
void measure($Delegate_ aBlock)
func measure(_ aBlock: () -> ())
void measure(eunit$$ aBlock)
// .NET, .NET Standard 2.0
Sub measure(aBlock As Action)
// Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Sub measure(aBlock As $Delegate_)
Parameters:
- aBlock:
measureMetrics virtual
method measureMetrics(aMetris: array of XCTPerformanceMetric) automaticallyStartMeasuring(aAutoStart: Boolean) forBlock(aBlock: $Delegate_)
void measureMetrics(XCTPerformanceMetric[] aMetris) automaticallyStartMeasuring(Boolean aAutoStart) forBlock($Delegate_ aBlock)
func measureMetrics(_ aMetris: XCTPerformanceMetric..., automaticallyStartMeasuring aAutoStart: Boolean, forBlock aBlock: () -> ())
void measureMetrics(XCTPerformanceMetric[] aMetris) automaticallyStartMeasuring(Boolean aAutoStart) forBlock(eunit$$ aBlock)
Sub measureMetrics(aMetris As XCTPerformanceMetric()) automaticallyStartMeasuring(aAutoStart As Boolean) forBlock(aBlock As $Delegate_)
Parameters:
- aMetris:
- aAutoStart:
- aBlock:
setup .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method setup
void setup()
func setup()
void setup()
Sub setup()
setup setup() Toffee
func setup(setup )
Parameters:
- :
SetupTest virtual (declared in Test) .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, macOS
When overriden in a child this method is called before first test method.
method SetupTest
void SetupTest()
func SetupTest()
void SetupTest()
Sub SetupTest()
SetupTest SetupTest() virtual (declared in Test) Toffee
func SetupTest(SetupTest )
Parameters:
- :
startMeasuring virtual
method startMeasuring(aIgnoreThisParameter: Boolean)
void startMeasuring(Boolean aIgnoreThisParameter)
func startMeasuring(_ aIgnoreThisParameter: Boolean)
void startMeasuring(Boolean aIgnoreThisParameter)
Sub startMeasuring(aIgnoreThisParameter As Boolean)
Parameters:
- aIgnoreThisParameter:
stopMeasuring virtual
method stopMeasuring(aIgnoreThisParameter: Boolean)
void stopMeasuring(Boolean aIgnoreThisParameter)
func stopMeasuring(_ aIgnoreThisParameter: Boolean)
void stopMeasuring(Boolean aIgnoreThisParameter)
Sub stopMeasuring(aIgnoreThisParameter As Boolean)
Parameters:
- aIgnoreThisParameter:
tearDown .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method tearDown
void tearDown()
func tearDown()
void tearDown()
Sub tearDown()
tearDown tearDown() Toffee
func tearDown(tearDown )
Parameters:
- :
TeardownTest virtual (declared in Test) .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, macOS
When overriden in a child this method is called after last test method.
method TeardownTest
void TeardownTest()
func TeardownTest()
void TeardownTest()
Sub TeardownTest()
TeardownTest TeardownTest() virtual (declared in Test) Toffee
func TeardownTest(TeardownTest )
Parameters:
- :
wait for(List<XCTestExpectation>) timeout(TimeInterval)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method wait for(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval)
// macOS
method wait for(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
void wait for(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout)
// macOS
void wait for(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout)
func wait(for aExpectations: List<XCTestExpectation>, timeout aTimeout: TimeInterval)
void wait for(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Sub wait for(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval)
// macOS
Sub wait for(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval)
Parameters:
- aExpectations:
- aTimeout:
wait for(List<XCTestExpectation>) timeout(TimeInterval) enforceOrder(Boolean)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method wait for(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval) enforceOrder(aEnforceOrder: Boolean)
// macOS
method wait for(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval) enforceOrder(aEnforceOrder: Boolean)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
void wait for(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout) enforceOrder(Boolean aEnforceOrder)
// macOS
void wait for(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout) enforceOrder(Boolean aEnforceOrder)
func wait(for aExpectations: List<XCTestExpectation>, timeout aTimeout: TimeInterval, enforceOrder aEnforceOrder: Boolean)
void wait for(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout) enforceOrder(Boolean aEnforceOrder)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Sub wait for(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval) enforceOrder(aEnforceOrder As Boolean)
// macOS
Sub wait for(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval) enforceOrder(aEnforceOrder As Boolean)
Parameters:
- aExpectations:
- aTimeout:
- aEnforceOrder:
waitForExpectations (List<XCTestExpectation>) timeout(TimeInterval) virtual
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method waitForExpectations(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval)
// macOS
method waitForExpectations(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
void waitForExpectations(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout)
// macOS
void waitForExpectations(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout)
func waitForExpectations(_ aExpectations: List<XCTestExpectation>, timeout aTimeout: TimeInterval)
void waitForExpectations(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Sub waitForExpectations(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval)
// macOS
Sub waitForExpectations(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval)
Parameters:
- aExpectations:
- aTimeout:
waitForExpectations (List<XCTestExpectation>) timeout(TimeInterval) enforceOrder(Boolean) virtual
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
method waitForExpectations(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval) enforceOrder(aEnforceOrder: Boolean)
// macOS
method waitForExpectations(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval) enforceOrder(aEnforceOrder: Boolean)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
void waitForExpectations(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout) enforceOrder(Boolean aEnforceOrder)
// macOS
void waitForExpectations(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout) enforceOrder(Boolean aEnforceOrder)
func waitForExpectations(_ aExpectations: List<XCTestExpectation>, timeout aTimeout: TimeInterval, enforceOrder aEnforceOrder: Boolean)
void waitForExpectations(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout) enforceOrder(Boolean aEnforceOrder)
// .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
Sub waitForExpectations(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval) enforceOrder(aEnforceOrder As Boolean)
// macOS
Sub waitForExpectations(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval) enforceOrder(aEnforceOrder As Boolean)
Parameters:
- aExpectations:
- aTimeout:
- aEnforceOrder:
waitForExpectations timeout(TimeInterval) handler(XCWaitCompletionHandler)
method waitForExpectations timeout(aTimeout: TimeInterval) handler(aHandler: XCWaitCompletionHandler)
void waitForExpectations timeout(TimeInterval aTimeout) handler(XCWaitCompletionHandler aHandler)
func waitForExpectations(timeout aTimeout: TimeInterval, handler aHandler: XCWaitCompletionHandler)
void waitForExpectations timeout(TimeInterval aTimeout) handler(XCWaitCompletionHandler aHandler)
Sub waitForExpectations timeout(aTimeout As TimeInterval) handler(aHandler As XCWaitCompletionHandler)
Parameters:
- aTimeout:
- aHandler:
waitForExpectationsWithTimeout virtual
method waitForExpectationsWithTimeout(aTimeout: TimeInterval) handler(aHandler: XCWaitCompletionHandler)
void waitForExpectationsWithTimeout(TimeInterval aTimeout) handler(XCWaitCompletionHandler aHandler)
func waitForExpectationsWithTimeout(_ aTimeout: TimeInterval, handler aHandler: XCWaitCompletionHandler)
void waitForExpectationsWithTimeout(TimeInterval aTimeout) handler(XCWaitCompletionHandler aHandler)
Sub waitForExpectationsWithTimeout(aTimeout As TimeInterval) handler(aHandler As XCWaitCompletionHandler)
Parameters:
- aTimeout:
- aHandler: