Home
last modified time | relevance | path

Searched refs:serilizedData (Results 1 – 4 of 4) sorted by relevance

/expo/packages/expo-dev-menu-interface/ios/Tests/
H A DDevMenuActionTest.swift17 let serilizedData = action.serialize() in spec() variable
19 expect(serilizedData["type"] as? Int).to(equal(ItemType.action.rawValue)) in spec()
20 expect(serilizedData["actionId"] as? String).to(equal("action-1")) in spec()
21 expect(serilizedData["isAvailable"] as? Bool).to(beTrue()) in spec()
22 expect(serilizedData["isEnabled"] as? Bool).to(beTrue()) in spec()
23 expect(serilizedData["label"] as? String).to(equal("action-1-label")) in spec()
24 expect(serilizedData["detail"] as? String).to(equal("action-1-details")) in spec()
25 expect(serilizedData["glyphName"] as? String).to(equal("action-1-glyphname")) in spec()
27 let keyCommand = serilizedData["keyCommand"] as! [String: Any] in spec()
H A DDevMenuLinkTest.swift13 let serilizedData = link.serialize() in spec() variable
15 expect(serilizedData["type"] as? Int).to(equal(ItemType.link.rawValue)) in spec()
16 expect(serilizedData["label"] as? String).to(equal("link-1-label")) in spec()
17 expect(serilizedData["glyphName"] as? String).to(equal("link-1-glyph")) in spec()
H A DDevMenuScreenTest.swift11 let serilizedData = screen.serialize() in spec() variable
13 expect(serilizedData["type"] as? Int).to(equal(ItemType.screen.rawValue)) in spec()
14 expect(serilizedData["screenName"] as? String).to(equal("screen-1")) in spec()
H A DDevMenuSelectionListTest.swift11 let serilizedData = list.serialize() in spec() variable
13 expect(serilizedData["type"] as? Int).to(equal(ItemType.selectionList.rawValue)) in spec()
14 expect(serilizedData["actionId"] as? String).toNot(beNil()) in spec()