Searched refs:serilizedData (Results 1 – 4 of 4) sorted by relevance
17 let serilizedData = action.serialize() in spec() variable19 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()
13 let serilizedData = link.serialize() in spec() variable15 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()
11 let serilizedData = screen.serialize() in spec() variable13 expect(serilizedData["type"] as? Int).to(equal(ItemType.screen.rawValue)) in spec()14 expect(serilizedData["screenName"] as? String).to(equal("screen-1")) in spec()
11 let serilizedData = list.serialize() in spec() variable13 expect(serilizedData["type"] as? Int).to(equal(ItemType.selectionList.rawValue)) in spec()14 expect(serilizedData["actionId"] as? String).toNot(beNil()) in spec()