XCTKVOExpectation

Overview

Location

  • Reference:
    • EUnit.fx  Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator, macOS
    • libEUnit.fx  Toffee
  • Namespace: RemObjects.Elements.EUnit.XCTest
  • Platforms: Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator, macOS, Toffee
  • Ancestry: XCTestExpectation | XCTKVOExpectation

 

constructor withObject(not nullable NSObject) keyPath(String) expectedValue(nullable Object)  protected

 

constructor withObject(aObject: not nullable NSObject) keyPath(aKeyPath: String) expectedValue(aExpectedValue: nullable Object)

 

XCTKVOExpectation withObject(NSObject! aObject) keyPath(String aKeyPath) expectedValue(Object? aExpectedValue)

 

init(withObject aObject: NSObject, keyPath aKeyPath: String, expectedValue aExpectedValue: NSObject?)

 

Sub New withObject(aObject As NSObject) keyPath(aKeyPath As String) expectedValue(aExpectedValue As Object?)

Parameters:

  • aObject:
  • aKeyPath:
  • aExpectedValue:

constructor withObject(not nullable NSObject) keyPath(String) handler(Handler)  protected

 

// macOS
constructor withObject(aObject: not nullable NSObject) keyPath(aKeyPath: String) handler(aHandler: XCTKVOExpectation.Handler)
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
constructor withObject(aObject: not nullable NSObject) keyPath(aKeyPath: String) handler(aHandler: Handler)

 

// macOS
XCTKVOExpectation withObject(NSObject! aObject) keyPath(String aKeyPath) handler(XCTKVOExpectation.Handler aHandler)
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
XCTKVOExpectation withObject(NSObject! aObject) keyPath(String aKeyPath) handler(Handler aHandler)

 

init(withObject aObject: NSObject, keyPath aKeyPath: String, handler aHandler: Handler)

 

// macOS
Sub New withObject(aObject As NSObject) keyPath(aKeyPath As String) handler(aHandler As XCTKVOExpectation.Handler)
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
Sub New withObject(aObject As NSObject) keyPath(aKeyPath As String) handler(aHandler As Handler)

Parameters:

  • aObject:
  • aKeyPath:
  • aHandler:

dispose  protected virtual    (declared in XCTestExpectation) Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator, macOS

 

method dispose

 

void dispose()

 

func dispose()

 

Sub dispose()

dispose dispose()  protected virtual    (declared in XCTestExpectation) Toffee

 

func dispose(dispose )

Parameters:

  • :

dofulfill  protected virtual    (declared in XCTestExpectation)

 

method dofulfill(aFile: String; aLine: Int32; aClass: String; aMethod: String)

 

void dofulfill(String aFile, Int32 aLine, String aClass, String aMethod)

 

func dofulfill(_ aFile: String, _ aLine: Int32, _ aClass: String, _ aMethod: String)

 

Sub dofulfill(aFile As String, aLine As Int32, aClass As String, aMethod As String)

Parameters:

  • aFile:
  • aLine:
  • aClass:
  • aMethod:

fulfill  virtual    (declared in XCTestExpectation)

 

method fulfill(aFile: String; aLine: Int32; aClass: String; aMethod: String)

 

void fulfill(String aFile, Int32 aLine, String aClass, String aMethod)

 

func fulfill(_ aFile: String, _ aLine: Int32, _ aClass: String, _ aMethod: String)

 

Sub fulfill(aFile As String, aLine As Int32, aClass As String, aMethod As String)

Parameters:

  • aFile:
  • aLine:
  • aClass:
  • aMethod:

isFulfilled  protected override

 

property isFulfilled: Boolean read;

 

Boolean isFulfilled { get; }

 

var isFulfilled: Boolean { get{} }

 

ReadOnly Property isFulfilled() As Boolean

observeValueForKeyPath  override

 

method observeValueForKeyPath(keyPath: NSString) ofObject(object: nullable id) change(aChanges: NSDictionary<NSString, id>) context(context: ^void)

 

void observeValueForKeyPath(NSString keyPath) ofObject(id? object) change(NSDictionary<NSString, id> aChanges) context(void* context)

 

func observeValueForKeyPath(_ keyPath: NSString, ofObject object: id?, change aChanges: NSDictionary<NSString, id>, context: UnsafeMutablePointer<void>)

 

Sub observeValueForKeyPath(keyPath As NSString) ofObject(object As id?) change(aChanges As NSDictionary<NSString, id>) context(context As Ptr(Of Void))

Parameters:

  • keyPath:
  • object:
  • aChanges:
  • context:

waitFor  protected override

 

method waitFor(aTimeout: TimeInterval): Boolean

 

Boolean waitFor(TimeInterval aTimeout)

 

func waitFor(_ aTimeout: TimeInterval) -> Boolean

 

Function waitFor(aTimeout As TimeInterval) As Boolean

Parameters:

  • aTimeout:

 

isFulfilled  protected override

 

property isFulfilled: Boolean read;

 

Boolean isFulfilled { get; }

 

var isFulfilled: Boolean { get{} }

 

ReadOnly Property isFulfilled() As Boolean

 

constructor withObject(not nullable NSObject) keyPath(String) expectedValue(nullable Object)  protected

 

constructor withObject(aObject: not nullable NSObject) keyPath(aKeyPath: String) expectedValue(aExpectedValue: nullable Object)

 

XCTKVOExpectation withObject(NSObject! aObject) keyPath(String aKeyPath) expectedValue(Object? aExpectedValue)

 

init(withObject aObject: NSObject, keyPath aKeyPath: String, expectedValue aExpectedValue: NSObject?)

 

Sub New withObject(aObject As NSObject) keyPath(aKeyPath As String) expectedValue(aExpectedValue As Object?)

Parameters:

  • aObject:
  • aKeyPath:
  • aExpectedValue:

constructor withObject(not nullable NSObject) keyPath(String) handler(Handler)  protected

 

// macOS
constructor withObject(aObject: not nullable NSObject) keyPath(aKeyPath: String) handler(aHandler: XCTKVOExpectation.Handler)
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
constructor withObject(aObject: not nullable NSObject) keyPath(aKeyPath: String) handler(aHandler: Handler)

 

// macOS
XCTKVOExpectation withObject(NSObject! aObject) keyPath(String aKeyPath) handler(XCTKVOExpectation.Handler aHandler)
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
XCTKVOExpectation withObject(NSObject! aObject) keyPath(String aKeyPath) handler(Handler aHandler)

 

init(withObject aObject: NSObject, keyPath aKeyPath: String, handler aHandler: Handler)

 

// macOS
Sub New withObject(aObject As NSObject) keyPath(aKeyPath As String) handler(aHandler As XCTKVOExpectation.Handler)
// Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
Sub New withObject(aObject As NSObject) keyPath(aKeyPath As String) handler(aHandler As Handler)

Parameters:

  • aObject:
  • aKeyPath:
  • aHandler:

dispose  protected virtual    (declared in XCTestExpectation) Island-iOS, Island-iOS Simulator, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator, macOS

 

method dispose

 

void dispose()

 

func dispose()

 

Sub dispose()

dispose dispose()  protected virtual    (declared in XCTestExpectation) Toffee

 

func dispose(dispose )

Parameters:

  • :

dofulfill  protected virtual    (declared in XCTestExpectation)

 

method dofulfill(aFile: String; aLine: Int32; aClass: String; aMethod: String)

 

void dofulfill(String aFile, Int32 aLine, String aClass, String aMethod)

 

func dofulfill(_ aFile: String, _ aLine: Int32, _ aClass: String, _ aMethod: String)

 

Sub dofulfill(aFile As String, aLine As Int32, aClass As String, aMethod As String)

Parameters:

  • aFile:
  • aLine:
  • aClass:
  • aMethod:

fulfill  virtual    (declared in XCTestExpectation)

 

method fulfill(aFile: String; aLine: Int32; aClass: String; aMethod: String)

 

void fulfill(String aFile, Int32 aLine, String aClass, String aMethod)

 

func fulfill(_ aFile: String, _ aLine: Int32, _ aClass: String, _ aMethod: String)

 

Sub fulfill(aFile As String, aLine As Int32, aClass As String, aMethod As String)

Parameters:

  • aFile:
  • aLine:
  • aClass:
  • aMethod:

observeValueForKeyPath  override

 

method observeValueForKeyPath(keyPath: NSString) ofObject(object: nullable id) change(aChanges: NSDictionary<NSString, id>) context(context: ^void)

 

void observeValueForKeyPath(NSString keyPath) ofObject(id? object) change(NSDictionary<NSString, id> aChanges) context(void* context)

 

func observeValueForKeyPath(_ keyPath: NSString, ofObject object: id?, change aChanges: NSDictionary<NSString, id>, context: UnsafeMutablePointer<void>)

 

Sub observeValueForKeyPath(keyPath As NSString) ofObject(object As id?) change(aChanges As NSDictionary<NSString, id>) context(context As Ptr(Of Void))

Parameters:

  • keyPath:
  • object:
  • aChanges:
  • context:

waitFor  protected override

 

method waitFor(aTimeout: TimeInterval): Boolean

 

Boolean waitFor(TimeInterval aTimeout)

 

func waitFor(_ aTimeout: TimeInterval) -> Boolean

 

Function waitFor(aTimeout As TimeInterval) As Boolean

Parameters:

  • aTimeout: