Sha256: ff844484850d38d56d8c6615a875301f479b917737618c1a9b6725c541bc20b8

Contents?: true

Size: 1 KB

Versions: 2

Compression:

Stored size: 1 KB

Contents

// MARK: Example Hooks

/**
    A closure executed before an example is run.
*/
public typealias BeforeExampleClosure = () -> ()

/**
    A closure executed before an example is run. The closure is given example metadata,
    which contains information about the example that is about to be run.
*/
public typealias BeforeExampleWithMetadataClosure = (exampleMetadata: ExampleMetadata) -> ()

/**
    A closure executed after an example is run.
*/
public typealias AfterExampleClosure = BeforeExampleClosure

/**
    A closure executed after an example is run. The closure is given example metadata,
    which contains information about the example that has just finished running.
*/
public typealias AfterExampleWithMetadataClosure = BeforeExampleWithMetadataClosure

// MARK: Suite Hooks

/**
    A closure executed before any examples are run.
*/
public typealias BeforeSuiteClosure = () -> ()

/**
    A closure executed after all examples have finished running.
*/
public typealias AfterSuiteClosure = BeforeSuiteClosure

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cocoapods-deintegrate-0.2.1 spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Hooks/Closures.swift
cocoapods-deintegrate-0.2.0 spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Hooks/Closures.swift