Lines Matching refs:action
9 let action = DevMenuAction(withId: "action-1", {}) in spec() variable
10 action.isAvailable = { true } in spec()
11 action.isEnabled = { true } in spec()
12 action.label = { "action-1-label" } in spec()
13 action.detail = { "action-1-details" } in spec()
14 action.glyphName = { "action-1-glyphname" } in spec()
15 action.registerKeyCommand(input: "r", modifiers: .command) in spec()
17 let serilizedData = action.serialize() in spec()
19 expect(serilizedData["type"] as? Int).to(equal(ItemType.action.rawValue)) in spec()
35 let action = DevMenuAction(withId: "action-1", { wasCalled = true }) in spec() variable
37 action.callable.call() in spec()