XCTestCase

Overview

Location

  • Reference:
    • 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
    • RemObjects.Elements.EUnit.dll  .NET, .NET Standard 2.0
    • remobjects.elements.eunit.jar  Cooper
    • 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_) Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, macOS

 

method addTeardownBlock(aBlock: $Delegate_)

 

void addTeardownBlock($Delegate_ aBlock)

 

func addTeardownBlock(_ aBlock: $Delegate_)

 

Sub addTeardownBlock(aBlock As $Delegate_)

Parameters:

  • aBlock:

addTeardownBlock (eunit$$) Cooper

 

void addTeardownBlock(eunit$$ aBlock)

Parameters:

  • aBlock:

addTeardownBlock (Action) .NET, .NET Standard 2.0

 

method addTeardownBlock(aBlock: Action)

 

void addTeardownBlock(Action aBlock)

 

func addTeardownBlock(_ aBlock: Action)

 

Sub addTeardownBlock(aBlock As Action)

Parameters:

  • aBlock:

addTeardownBlock (block())  virtual Toffee

 

func addTeardownBlock(_ aBlock: () -> ())

Parameters:

  • aBlock:

defaultPerformanceMetrics  virtual

 

// 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
property defaultPerformanceMetrics: List<String> read write;

 

// 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
List<String> defaultPerformanceMetrics { get; set; }

 

// macOS
var defaultPerformanceMetrics: List<String> { 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{} }

 

List<String> defaultPerformanceMetrics { __get; __set; }

 

// macOS
Property defaultPerformanceMetrics() As List<String>
// .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>

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

 

// 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
method expectation for(aNotificationName: String) object(aObject: nullable Object) handler(aHandler: Handler): XCTestExpectation

 

// macOS
XCTestExpectation expectation for(String aNotificationName) object(Object? aObject) handler(XCTNSNotificationExpectation.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
XCTestExpectation expectation for(String aNotificationName) object(Object? aObject) handler(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)

 

// macOS
Function expectation for(aNotificationName As String) object(aObject As Object?) handler(aHandler As XCTNSNotificationExpectation.Handler) As 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
Function expectation for(aNotificationName As String) object(aObject As Object?) handler(aHandler As 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

 

// 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
method expectation for(aPredicate: NSPredicate) evaluatedWith(aEvaluatedWith: nullable NSObject) handler(aHandler: Handler): XCTestExpectation

 

// macOS
XCTestExpectation expectation for(NSPredicate aPredicate) evaluatedWith(NSObject? aEvaluatedWith) handler(XCTNSPredicateExpectation.Handler aHandler)
// 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)

 

func expectation(for aPredicate: NSPredicate, evaluatedWith aEvaluatedWith: NSObject?, handler aHandler: Handler) -> XCTestExpectation

 

// macOS
Function expectation for(aPredicate As NSPredicate) evaluatedWith(aEvaluatedWith As NSObject?) handler(aHandler As XCTNSPredicateExpectation.Handler) As 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

Parameters:

  • aPredicate:
  • aEvaluatedWith:
  • aHandler:

expectationForNotification  virtual

 

// 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
method expectationForNotification(aNotificationName: String) object(aObject: nullable Object) handler(aHandler: Handler): XCTestExpectation

 

// macOS
XCTestExpectation expectationForNotification(String aNotificationName) object(Object? aObject) handler(XCTNSNotificationExpectation.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
XCTestExpectation expectationForNotification(String aNotificationName) object(Object? aObject) handler(Handler aHandler)

 

func expectationForNotification(_ aNotificationName: String, object aObject: NSObject?, handler aHandler: Handler) -> XCTestExpectation

 

XCTestExpectation expectationForNotification(String aNotificationName) object(Object aObject) handler(Handler aHandler)

 

// macOS
Function expectationForNotification(aNotificationName As String) object(aObject As Object?) handler(aHandler As XCTNSNotificationExpectation.Handler) As 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
Function expectationForNotification(aNotificationName As String) object(aObject As Object?) handler(aHandler As 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

 

// 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
method expectationForPredicate(aPredicate: NSPredicate) evaluatedWith(aEvaluatedWith: nullable NSObject) handler(aHandler: Handler): XCTestExpectation

 

// macOS
XCTestExpectation expectationForPredicate(NSPredicate aPredicate) evaluatedWith(NSObject? aEvaluatedWith) handler(XCTNSPredicateExpectation.Handler aHandler)
// 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)

 

func expectationForPredicate(_ aPredicate: NSPredicate, evaluatedWith aEvaluatedWith: NSObject?, handler aHandler: Handler) -> XCTestExpectation

 

// macOS
Function expectationForPredicate(aPredicate As NSPredicate) evaluatedWith(aEvaluatedWith As NSObject?) handler(aHandler As XCTNSPredicateExpectation.Handler) As 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

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

 

// 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
method keyValueObservingExpectation for(aObject: Object) keyPath(aKeyPath: String) handler(handler: Handler): XCTestExpectation

 

// macOS
XCTestExpectation keyValueObservingExpectation for(Object aObject) keyPath(String aKeyPath) handler(XCTKVOExpectation.Handler handler)
// 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)

 

func keyValueObservingExpectation(for aObject: NSObject, keyPath aKeyPath: String, handler: Handler) -> XCTestExpectation

 

// macOS
Function keyValueObservingExpectation for(aObject As Object) keyPath(aKeyPath As String) handler(handler As XCTKVOExpectation.Handler) As 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

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

 

// 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
method keyValueObservingExpectationForObject(aObject: Object) keyPath(aKeyPath: String) handler(handler: Handler): XCTestExpectation

 

// macOS
XCTestExpectation keyValueObservingExpectationForObject(Object aObject) keyPath(String aKeyPath) handler(XCTKVOExpectation.Handler handler)
// 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)

 

func keyValueObservingExpectationForObject(_ aObject: NSObject, keyPath aKeyPath: String, handler: Handler) -> XCTestExpectation

 

// macOS
Function keyValueObservingExpectationForObject(aObject As Object) keyPath(aKeyPath As String) handler(handler As XCTKVOExpectation.Handler) As 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

Parameters:

  • aObject:
  • aKeyPath:
  • handler:

measure ($Delegate_) Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, macOS

 

method measure(aBlock: $Delegate_)

 

void measure($Delegate_ aBlock)

 

func measure(_ aBlock: $Delegate_)

 

Sub measure(aBlock As $Delegate_)

Parameters:

  • aBlock:

measure (eunit$$) Cooper

 

void measure(eunit$$ aBlock)

Parameters:

  • aBlock:

measure (Action) .NET, .NET Standard 2.0

 

method measure(aBlock: Action)

 

void measure(Action aBlock)

 

func measure(_ aBlock: Action)

 

Sub measure(aBlock As Action)

Parameters:

  • aBlock:

measure (block())  virtual Toffee

 

func measure(_ aBlock: () -> ())

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)

 

// 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
method wait for(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval)

 

// macOS
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
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)

 

// macOS
Sub wait for(aExpectations As List<XCTestExpectation>) timeout(aTimeout As 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
Sub wait for(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval)

Parameters:

  • aExpectations:
  • aTimeout:

wait for(List<XCTestExpectation>) timeout(TimeInterval) enforceOrder(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
method wait for(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval) enforceOrder(aEnforceOrder: Boolean)

 

// macOS
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
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)

 

// macOS
Sub wait for(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval) enforceOrder(aEnforceOrder As 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
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

 

// 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
method waitForExpectations(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval)

 

// macOS
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
void waitForExpectations(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout)

 

func waitForExpectations(_ aExpectations: List<XCTestExpectation>, timeout aTimeout: TimeInterval)

 

void waitForExpectations(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout)

 

// macOS
Sub waitForExpectations(aExpectations As List<XCTestExpectation>) timeout(aTimeout As 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
Sub waitForExpectations(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval)

Parameters:

  • aExpectations:
  • aTimeout:

waitForExpectations (List<XCTestExpectation>) timeout(TimeInterval) enforceOrder(Boolean)  virtual

 

// 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
method waitForExpectations(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval) enforceOrder(aEnforceOrder: Boolean)

 

// macOS
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
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)

 

// macOS
Sub waitForExpectations(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval) enforceOrder(aEnforceOrder As 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
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

 

// 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
property defaultPerformanceMetrics: List<String> read write;

 

// 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
List<String> defaultPerformanceMetrics { get; set; }

 

// macOS
var defaultPerformanceMetrics: List<String> { 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{} }

 

List<String> defaultPerformanceMetrics { __get; __set; }

 

// macOS
Property defaultPerformanceMetrics() As List<String>
// .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>

 

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_) Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, macOS

 

method addTeardownBlock(aBlock: $Delegate_)

 

void addTeardownBlock($Delegate_ aBlock)

 

func addTeardownBlock(_ aBlock: $Delegate_)

 

Sub addTeardownBlock(aBlock As $Delegate_)

Parameters:

  • aBlock:

addTeardownBlock (eunit$$) Cooper

 

void addTeardownBlock(eunit$$ aBlock)

Parameters:

  • aBlock:

addTeardownBlock (Action) .NET, .NET Standard 2.0

 

method addTeardownBlock(aBlock: Action)

 

void addTeardownBlock(Action aBlock)

 

func addTeardownBlock(_ aBlock: Action)

 

Sub addTeardownBlock(aBlock As Action)

Parameters:

  • aBlock:

addTeardownBlock (block())  virtual Toffee

 

func addTeardownBlock(_ aBlock: () -> ())

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

 

// 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
method expectation for(aNotificationName: String) object(aObject: nullable Object) handler(aHandler: Handler): XCTestExpectation

 

// macOS
XCTestExpectation expectation for(String aNotificationName) object(Object? aObject) handler(XCTNSNotificationExpectation.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
XCTestExpectation expectation for(String aNotificationName) object(Object? aObject) handler(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)

 

// macOS
Function expectation for(aNotificationName As String) object(aObject As Object?) handler(aHandler As XCTNSNotificationExpectation.Handler) As 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
Function expectation for(aNotificationName As String) object(aObject As Object?) handler(aHandler As 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

 

// 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
method expectation for(aPredicate: NSPredicate) evaluatedWith(aEvaluatedWith: nullable NSObject) handler(aHandler: Handler): XCTestExpectation

 

// macOS
XCTestExpectation expectation for(NSPredicate aPredicate) evaluatedWith(NSObject? aEvaluatedWith) handler(XCTNSPredicateExpectation.Handler aHandler)
// 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)

 

func expectation(for aPredicate: NSPredicate, evaluatedWith aEvaluatedWith: NSObject?, handler aHandler: Handler) -> XCTestExpectation

 

// macOS
Function expectation for(aPredicate As NSPredicate) evaluatedWith(aEvaluatedWith As NSObject?) handler(aHandler As XCTNSPredicateExpectation.Handler) As 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

Parameters:

  • aPredicate:
  • aEvaluatedWith:
  • aHandler:

expectationForNotification  virtual

 

// 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
method expectationForNotification(aNotificationName: String) object(aObject: nullable Object) handler(aHandler: Handler): XCTestExpectation

 

// macOS
XCTestExpectation expectationForNotification(String aNotificationName) object(Object? aObject) handler(XCTNSNotificationExpectation.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
XCTestExpectation expectationForNotification(String aNotificationName) object(Object? aObject) handler(Handler aHandler)

 

func expectationForNotification(_ aNotificationName: String, object aObject: NSObject?, handler aHandler: Handler) -> XCTestExpectation

 

XCTestExpectation expectationForNotification(String aNotificationName) object(Object aObject) handler(Handler aHandler)

 

// macOS
Function expectationForNotification(aNotificationName As String) object(aObject As Object?) handler(aHandler As XCTNSNotificationExpectation.Handler) As 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
Function expectationForNotification(aNotificationName As String) object(aObject As Object?) handler(aHandler As 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

 

// 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
method expectationForPredicate(aPredicate: NSPredicate) evaluatedWith(aEvaluatedWith: nullable NSObject) handler(aHandler: Handler): XCTestExpectation

 

// macOS
XCTestExpectation expectationForPredicate(NSPredicate aPredicate) evaluatedWith(NSObject? aEvaluatedWith) handler(XCTNSPredicateExpectation.Handler aHandler)
// 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)

 

func expectationForPredicate(_ aPredicate: NSPredicate, evaluatedWith aEvaluatedWith: NSObject?, handler aHandler: Handler) -> XCTestExpectation

 

// macOS
Function expectationForPredicate(aPredicate As NSPredicate) evaluatedWith(aEvaluatedWith As NSObject?) handler(aHandler As XCTNSPredicateExpectation.Handler) As 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

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

 

// 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
method keyValueObservingExpectation for(aObject: Object) keyPath(aKeyPath: String) handler(handler: Handler): XCTestExpectation

 

// macOS
XCTestExpectation keyValueObservingExpectation for(Object aObject) keyPath(String aKeyPath) handler(XCTKVOExpectation.Handler handler)
// 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)

 

func keyValueObservingExpectation(for aObject: NSObject, keyPath aKeyPath: String, handler: Handler) -> XCTestExpectation

 

// macOS
Function keyValueObservingExpectation for(aObject As Object) keyPath(aKeyPath As String) handler(handler As XCTKVOExpectation.Handler) As 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

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

 

// 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
method keyValueObservingExpectationForObject(aObject: Object) keyPath(aKeyPath: String) handler(handler: Handler): XCTestExpectation

 

// macOS
XCTestExpectation keyValueObservingExpectationForObject(Object aObject) keyPath(String aKeyPath) handler(XCTKVOExpectation.Handler handler)
// 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)

 

func keyValueObservingExpectationForObject(_ aObject: NSObject, keyPath aKeyPath: String, handler: Handler) -> XCTestExpectation

 

// macOS
Function keyValueObservingExpectationForObject(aObject As Object) keyPath(aKeyPath As String) handler(handler As XCTKVOExpectation.Handler) As 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

Parameters:

  • aObject:
  • aKeyPath:
  • handler:

measure ($Delegate_) Island-Android, Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, macOS

 

method measure(aBlock: $Delegate_)

 

void measure($Delegate_ aBlock)

 

func measure(_ aBlock: $Delegate_)

 

Sub measure(aBlock As $Delegate_)

Parameters:

  • aBlock:

measure (eunit$$) Cooper

 

void measure(eunit$$ aBlock)

Parameters:

  • aBlock:

measure (Action) .NET, .NET Standard 2.0

 

method measure(aBlock: Action)

 

void measure(Action aBlock)

 

func measure(_ aBlock: Action)

 

Sub measure(aBlock As Action)

Parameters:

  • aBlock:

measure (block())  virtual Toffee

 

func measure(_ aBlock: () -> ())

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)

 

// 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
method wait for(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval)

 

// macOS
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
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)

 

// macOS
Sub wait for(aExpectations As List<XCTestExpectation>) timeout(aTimeout As 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
Sub wait for(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval)

Parameters:

  • aExpectations:
  • aTimeout:

wait for(List<XCTestExpectation>) timeout(TimeInterval) enforceOrder(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
method wait for(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval) enforceOrder(aEnforceOrder: Boolean)

 

// macOS
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
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)

 

// macOS
Sub wait for(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval) enforceOrder(aEnforceOrder As 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
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

 

// 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
method waitForExpectations(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval)

 

// macOS
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
void waitForExpectations(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout)

 

func waitForExpectations(_ aExpectations: List<XCTestExpectation>, timeout aTimeout: TimeInterval)

 

void waitForExpectations(List<XCTestExpectation> aExpectations) timeout(TimeInterval aTimeout)

 

// macOS
Sub waitForExpectations(aExpectations As List<XCTestExpectation>) timeout(aTimeout As 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
Sub waitForExpectations(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval)

Parameters:

  • aExpectations:
  • aTimeout:

waitForExpectations (List<XCTestExpectation>) timeout(TimeInterval) enforceOrder(Boolean)  virtual

 

// 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
method waitForExpectations(aExpectations: List<XCTestExpectation>) timeout(aTimeout: TimeInterval) enforceOrder(aEnforceOrder: Boolean)

 

// macOS
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
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)

 

// macOS
Sub waitForExpectations(aExpectations As List<XCTestExpectation>) timeout(aTimeout As TimeInterval) enforceOrder(aEnforceOrder As 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
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: