Home
last modified time | relevance | path

Searched refs:expected (Results 1 – 25 of 261) sorted by relevance

1234567891011

/expo/packages/expo-router/src/testing-library/
H A Dexpect.ts6 toHavePathname(screen, expected) {
7 return matchers.toEqual(screen.getPathname(), expected);
9 toHaveSegments(screen, expected) {
10 return matchers.toEqual(screen.getSegments(), expected);
12 toHaveSearchParams(screen, expected) {
13 return matchers.toEqual(screen.getSearchParams(), expected);
/expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/manifest/
H A DLegacyUpdateManifestTest.kt25 expected, in testGetAssetsUrlBase_ExpoDomain()
29 expected, in testGetAssetsUrlBase_ExpoDomain()
33 expected, in testGetAssetsUrlBase_ExpoDomain()
45 expected, in testGetAssetsUrlBase_ExpoSubdomain()
52 expected, in testGetAssetsUrlBase_ExpoSubdomain()
56 expected, in testGetAssetsUrlBase_ExpoSubdomain()
75 Assert.assertEquals(expected, actual) in testGetAssetsUrlBase_AssetUrlOverride_AbsoluteUrl()
181 @Test(expected = Exception::class)
190 @Test(expected = Exception::class)
199 @Test(expected = Exception::class)
[all …]
/expo/packages/expo-updates/ios/Tests/
H A DResponseHeaderDataSpec.swift12 let expected: [String : Any] = [ in spec() variable
20 expect(NSDictionary(dictionary: expected).isEqual(to: actual!)).to(beTrue()) in spec()
25 let expected: [String : Any] = [ in spec() variable
29 expect(NSDictionary(dictionary: expected).isEqual(to: actual!)).to(beTrue()) in spec()
34 let expected: [String : Any] = [ in spec() variable
38 expect(NSDictionary(dictionary: expected).isEqual(to: actual!)).to(beTrue()) in spec()
43 let expected: [String : Any] = [:] in spec() variable
45 expect(NSDictionary(dictionary: expected).isEqual(to: actual!)).to(beTrue()) in spec()
H A DLegacyUpdateSpec.swift23 let expected = URL(string: "https://classic-assets.eascdn.net/~assets/") in spec() variable
24 …ctionary: [UpdatesConfig.EXUpdatesConfigUpdateUrlKey: "https://exp.host/@test/test"]))) == expected in spec()
25 …ictionary: [UpdatesConfig.EXUpdatesConfigUpdateUrlKey: "https://expo.io/@test/test"]))) == expected in spec()
26 …tionary: [UpdatesConfig.EXUpdatesConfigUpdateUrlKey: "https://expo.test/@test/test"]))) == expected in spec()
31 let expected = URL(string: "https://classic-assets.eascdn.net/~assets/") in spec() variable
68 let expected = URL(string: "https://esamelson.github.io/self-hosting-test/b") in spec() variable
70 expect(actual) == expected in spec()
75 let expected = URL(string: "https://esamelson.github.io/b") in spec() variable
77 expect(actual) == expected in spec()
82 let expected = URL(string: "https://esamelson.github.io/b") in spec() variable
[all …]
/expo/packages/expo-router/build/testing-library/
H A Dexpect.js9 toHavePathname(screen, expected) { argument
10 return matchers_1.default.toEqual(screen.getPathname(), expected);
12 toHaveSegments(screen, expected) { argument
13 return matchers_1.default.toEqual(screen.getSegments(), expected);
15 toHaveSearchParams(screen, expected) { argument
16 return matchers_1.default.toEqual(screen.getSearchParams(), expected);
H A Dexpect.js.map1expected) {\n return matchers.toEqual(screen.getPathname(), expected);\n },\n toHaveSegments(…
/expo/packages/expo-structured-headers/ios/Tests/
H A DEXStructuredHeadersParserIgnoringParametersTests.m26 NSDictionary *expected = @{
31 …[self runTestWithInput:input expectedValue:expected fieldType:EXStructuredHeadersParserFieldTypeDi…
37 NSArray *expected = @[@"abc_123", @"ghi"];
38 …[self runTestWithInput:input expectedValue:expected fieldType:EXStructuredHeadersParserFieldTypeLi…
44 NSArray *expected = @[@[@"abc_123"]];
45 …[self runTestWithInput:input expectedValue:expected fieldType:EXStructuredHeadersParserFieldTypeLi…
51 NSNumber *expected = @(NO);
52 …[self runTestWithInput:input expectedValue:expected fieldType:EXStructuredHeadersParserFieldTypeIt…
55 - (void)runTestWithInput:(NSString *)input expectedValue:(id)expected fieldType:(EXStructuredHeader…
61 XCTAssertEqualObjects(expected, actual);
/expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/
H A DUpdatesUtilsInstrumentationTest.kt21 @Test(expected = ParseException::class)
30 @Test(expected = ParseException::class)
39 @Test(expected = ParseException::class)
48 @Test(expected = ParseException::class)
67 val expected = mapOf("expo-channel-name" to "main") in testgetHeadersMapFromJSONString_expectedFormat() constant
69 Assert.assertEquals(emptyMap, expected) in testgetHeadersMapFromJSONString_expectedFormat()
72 @Test(expected = Exception::class)
78 @Test(expected = Exception::class)
84 @Test(expected = Exception::class)
/expo/packages/expo-updates/src/__tests__/
H A DUpdates-test.ios.ts29 const expected = { isAvailable: true, manifest: fakeManifest }; constant
30 expect(actual).toEqual(expected);
40 const expected = { isAvailable: true, manifest: fakeManifest }; constant
41 expect(actual).toEqual(expected);
48 const expected = { isNew: true, manifest: fakeManifest }; constant
49 expect(actual).toEqual(expected);
59 const expected = { isNew: true, manifest: fakeManifest }; constant
60 expect(actual).toEqual(expected);
67 const expected = []; constant
68 expect(actual).toEqual(expected);
/expo/packages/expo-structured-headers/android/src/test/java/expo/modules/structuredheaders/
H A DTests.java35 } catch (IllegalArgumentException expected) { in testInvalidIntegers()
59 } catch (IllegalArgumentException expected) { in testInvalidDecimals()
82 } catch (IllegalArgumentException expected) { in testInvalidStrings()
105 } catch (IllegalArgumentException expected) { in testInvalidTokens()
128 } catch (ParseException expected) { in testInvalidBooleans()
129 } catch (IllegalArgumentException expected) { in testInvalidBooleans()
153 } catch (IllegalArgumentException expected) { in testInvalidByteSequences()
184 Object[] expected = e.getValue(); in testValidLists() local
203 Object[] expected = e.getValue(); in testValidInnerLists() local
211 assertEquals(list.getParams().serialize(), expected[expected.length - 1]); in testValidInnerLists() local
[all …]
H A DAbstractSpecificationTests.java72 JsonValue expected = v.get("expected"); in makeOneTest() local
74 if (expected == null) { in makeOneTest()
78 if (expected instanceof JsonArray) { in makeOneTest()
79 JsonArray array = (JsonArray) expected; in makeOneTest()
83 p.expected_value = (JsonObject) expected; in makeOneTest()
87 if (expected instanceof JsonArray) { in makeOneTest()
88 p.expected_value = (JsonArray) expected; in makeOneTest()
120 assertEquals(expected, item.get()); in match()
167 assertEquals(expected, item.get()); in match()
180 JsonArray expected = (JsonArray) params; in match() local
[all …]
/expo/packages/expo-modules-core/android/src/test/java/expo/modules/kotlin/functions/
H A DTypeConverterHelperTest.kt59 val expected = listOf( in <lambda>() constant
71 Truth.assertThat(casted).isEqualTo(expected) in <lambda>()
81 val expected = intArrayOf(10, 20, 30) in <lambda>() constant
86 Truth.assertThat(casted).isEqualTo(expected) in <lambda>()
97 val expected = arrayOf(10, null, 20, 30) in <lambda>() constant
102 Truth.assertThat(casted).isEqualTo(expected) in <lambda>()
112 val expected = arrayOf("string", null, "string2") in <lambda>() constant
117 Truth.assertThat(casted).isEqualTo(expected) in <lambda>()
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/Libraries/Components/ProgressViewIOS/__tests__/__snapshots__/
H A DProgressViewIOS-test.js.snap3 exports[`<ProgressViewIOS /> should render as expected: should deep render when mocked (please veri…
17 exports[`<ProgressViewIOS /> should render as expected: should deep render when not mocked (please …
31 exports[`<ProgressViewIOS /> should render as expected: should shallow render as <ProgressViewIOS /…
37 exports[`<ProgressViewIOS /> should render as expected: should shallow render as <ProgressViewIOS /…
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/Libraries/Components/ProgressViewIOS/__tests__/__snapshots__/
H A DProgressViewIOS-test.js.snap3 exports[`<ProgressViewIOS /> should render as expected: should deep render when mocked (please veri…
17 exports[`<ProgressViewIOS /> should render as expected: should deep render when not mocked (please …
31 exports[`<ProgressViewIOS /> should render as expected: should shallow render as <ProgressViewIOS /…
37 exports[`<ProgressViewIOS /> should render as expected: should shallow render as <ProgressViewIOS /…
/expo/ios/vendored/sdk49/react-native-reanimated/Common/cpp/ReanimatedRuntime/
H A DReanimatedHermesRuntime.h48 std::thread::id expected = std::thread::id(); in before() local
66 expected, this_id, std::memory_order_relaxed)) { in before()
72 } else if (expected == this_id) { in before()
93 std::thread::id expected = std::this_thread::get_id(); in after() local
95 expected, std::thread::id(), std::memory_order_relaxed); in after()
/expo/android/vendored/unversioned/react-native-reanimated/Common/cpp/ReanimatedRuntime/
H A DReanimatedHermesRuntime.h48 std::thread::id expected = std::thread::id(); in before() local
66 expected, this_id, std::memory_order_relaxed)) { in before()
72 } else if (expected == this_id) { in before()
93 std::thread::id expected = std::this_thread::get_id(); in after() local
95 expected, std::thread::id(), std::memory_order_relaxed); in after()
/expo/ios/vendored/unversioned/react-native-reanimated/Common/cpp/ReanimatedRuntime/
H A DReanimatedHermesRuntime.h48 std::thread::id expected = std::thread::id(); in before() local
66 expected, this_id, std::memory_order_relaxed)) { in before()
72 } else if (expected == this_id) { in before()
93 std::thread::id expected = std::this_thread::get_id(); in after() local
95 expected, std::thread::id(), std::memory_order_relaxed); in after()
/expo/android/vendored/sdk49/react-native-reanimated/Common/cpp/ReanimatedRuntime/
H A DReanimatedHermesRuntime.h48 std::thread::id expected = std::thread::id(); in before() local
66 expected, this_id, std::memory_order_relaxed)) { in before()
72 } else if (expected == this_id) { in before()
93 std::thread::id expected = std::this_thread::get_id(); in after() local
95 expected, std::thread::id(), std::memory_order_relaxed); in after()
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/Libraries/Components/ProgressBarAndroid/__tests__/__snapshots__/
H A DProgressBarAndroid-test.js.snap3 exports[`<ProgressBarAndroid /> should render as expected: should deep render when mocked (please v…
11 exports[`<ProgressBarAndroid /> should render as expected: should deep render when not mocked (plea…
19 exports[`<ProgressBarAndroid /> should render as expected: should shallow render as <ProgressBarAnd…
26 exports[`<ProgressBarAndroid /> should render as expected: should shallow render as <ProgressBarAnd…
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/Libraries/Components/ProgressBarAndroid/__tests__/__snapshots__/
H A DProgressBarAndroid-test.js.snap3 exports[`<ProgressBarAndroid /> should render as expected: should deep render when mocked (please v…
11 exports[`<ProgressBarAndroid /> should render as expected: should deep render when not mocked (plea…
19 exports[`<ProgressBarAndroid /> should render as expected: should shallow render as <ProgressBarAnd…
26 exports[`<ProgressBarAndroid /> should render as expected: should shallow render as <ProgressBarAnd…
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/Libraries/Components/ProgressBarAndroid/__tests__/__snapshots__/
H A DProgressBarAndroid-test.js.snap3 exports[`<ProgressBarAndroid /> should render as expected: should deep render when mocked (please v…
11 exports[`<ProgressBarAndroid /> should render as expected: should deep render when not mocked (plea…
19 exports[`<ProgressBarAndroid /> should render as expected: should shallow render as <ProgressBarAnd…
26 exports[`<ProgressBarAndroid /> should render as expected: should shallow render as <ProgressBarAnd…
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/Libraries/Components/ActivityIndicator/__tests__/__snapshots__/
H A DActivityIndicator-test.js.snap3 exports[`<ActivityIndicator /> should render as expected: should deep render when mocked (please ve…
10 exports[`<ActivityIndicator /> should render as expected: should deep render when not mocked (pleas…
34 exports[`<ActivityIndicator /> should render as expected: should shallow render as <ActivityIndicat…
41 exports[`<ActivityIndicator /> should render as expected: should shallow render as <ActivityIndicat…
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/Libraries/Components/SafeAreaView/__tests__/__snapshots__/
H A DSafeAreaView-test.js.snap3 exports[`<SafeAreaView /> should render as expected: should deep render when mocked (please verify …
13 exports[`<SafeAreaView /> should render as expected: should deep render when not mocked (please ver…
23 exports[`<SafeAreaView /> should render as expected: should shallow render as <SafeAreaView /> when…
33 exports[`<SafeAreaView /> should render as expected: should shallow render as <SafeAreaView /> when…
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/Libraries/Components/SafeAreaView/__tests__/__snapshots__/
H A DSafeAreaView-test.js.snap3 exports[`<SafeAreaView /> should render as expected: should deep render when mocked (please verify …
13 exports[`<SafeAreaView /> should render as expected: should deep render when not mocked (please ver…
23 exports[`<SafeAreaView /> should render as expected: should shallow render as <SafeAreaView /> when…
33 exports[`<SafeAreaView /> should render as expected: should shallow render as <SafeAreaView /> when…
/expo/packages/expo-dev-launcher/ios/Tests/
H A DEXDevLauncherURLHelperTests.swift34 expected:"http://localhost:8081/index.bundle?platform=ios&dev=true") in testDevLauncherUrls()
38 expected: "scheme://not-dev-client/?url=\(encodedUrlString)") in testDevLauncherUrls()
52 func expectDevLauncherUrlToEqual(input: String, expected: String) { in expectDevLauncherUrlToEqual()
54 XCTAssertEqual(devLauncherUrl.url.absoluteString, expected) in expectDevLauncherUrlToEqual()

1234567891011