testing library

Test support for native-api-bindgen packages: parses the synthetic Objective-C fixtures against the installed iOS simulator SDK. Not for production use.

Properties

testSdk → AppleSdk?
The iOS simulator SDK, or null when Xcode is unavailable (tests skip).
no setter

Functions

extractObjCFixtures(AppleSdk sdk) → ApiModule
Parses the synthetic fixtures and extracts the NABFixtures module.
findRepoRoot([String? start]) → String
Repository root, located by walking up to the Objective-C fixtures.
fixtureHeader(String root) → String
Path of fixtures/objective-c/basic/NABFixtures.h under root.
fixtureOnly(ApiModule module) → ApiModule
module restricted to the fixture's own types, so snapshots do not depend on the installed SDK version.