Searched refs:TestRecord (Results 1 – 7 of 7) sorted by relevance
| /expo/packages/expo-modules-core/ios/Tests/ |
| H A D | RecordSpec.swift | 10 struct TestRecord: Record { } in spec() struct 11 _ = try TestRecord(from: [:], appContext: appContext) in spec() 15 struct TestRecord: Record { in spec() struct 19 let record = try TestRecord(from: dict, appContext: appContext) in spec() 26 struct TestRecord: Record { in spec() struct 30 let record = try TestRecord(from: dict, appContext: appContext) in spec() 37 struct TestRecord: Record { in spec() struct 41 expect { try TestRecord(from: [:], appContext: appContext) }.to(throwError { error in in spec() 47 struct TestRecord: Record { in spec() struct 52 expect { try TestRecord(from: dict, appContext: appContext) }.to(throwError { error in in spec()
|
| H A D | FunctionSpec.swift | 84 struct TestRecord: Record { in spec() struct 97 AsyncFunction(functionName) { (a: TestRecord) in in spec() 115 AsyncFunction(functionName) { (a: TestRecord) in in spec() 130 let result = try Function(functionName) { (record: TestRecord) in record } in spec() 131 .call(by: nil, withArguments: [dict], appContext: appContext) as? TestRecord in spec() 133 …sult = Conversions.convertFunctionResult(result, appContext: appContext) as? TestRecord.Dict else { in spec() 145 AsyncFunction(functionName) { (a: TestRecord) in in spec()
|
| H A D | EitherSpec.swift | 63 struct TestRecord: Record { in spec() struct 67 … let either = try Either<String, TestRecord>.convert(from: ["foo": "bar"], appContext: appContext) in spec() 68 let record: TestRecord? = either.get() in spec() 70 expect(either.is(TestRecord.self)) == true in spec()
|
| /expo/ios/versioned/sdk49/ExpoModulesCore/ios/Tests/ |
| H A D | RecordSpec.swift | 10 struct TestRecord: Record { } in spec() struct 11 _ = try TestRecord(from: [:], appContext: appContext) in spec() 15 struct TestRecord: Record { in spec() struct 19 let record = try TestRecord(from: dict, appContext: appContext) in spec() 26 struct TestRecord: Record { in spec() struct 30 let record = try TestRecord(from: dict, appContext: appContext) in spec() 37 struct TestRecord: Record { in spec() struct 41 expect { try TestRecord(from: [:], appContext: appContext) }.to(throwError { error in in spec() 47 struct TestRecord: Record { in spec() struct 52 expect { try TestRecord(from: dict, appContext: appContext) }.to(throwError { error in in spec()
|
| H A D | FunctionSpec.swift | 84 struct TestRecord: Record { in spec() struct 97 AsyncFunction(functionName) { (a: TestRecord) in in spec() 115 AsyncFunction(functionName) { (a: TestRecord) in in spec() 130 let result = try Function(functionName) { (record: TestRecord) in record } in spec() 131 .call(by: nil, withArguments: [dict], appContext: appContext) as? TestRecord in spec() 133 …sult = Conversions.convertFunctionResult(result, appContext: appContext) as? TestRecord.Dict else { in spec() 145 AsyncFunction(functionName) { (a: TestRecord) in in spec()
|
| H A D | EitherSpec.swift | 63 struct TestRecord: Record { in spec() struct 67 … let either = try Either<String, TestRecord>.convert(from: ["foo": "bar"], appContext: appContext) in spec() 68 let record: TestRecord? = either.get() in spec() 70 expect(either.is(TestRecord.self)) == true in spec()
|
| /expo/packages/expo-modules-core/android/src/test/java/expo/modules/kotlin/ |
| H A D | KotlinInteropModuleRegistryTest.kt | 23 private class TestRecord : Record { in <lambda>() class 34 AsyncFunction<Int, TestRecord>("f2") { in <lambda>()
|