IN: ui.tools.interactor.tests USING: ui.tools.interactor ui.gadgets.panes namespaces ui.gadgets.editors concurrency.promises threads listener tools.test kernel calendar parser ; [ \ must-infer [ ] [ "interactor" set ] unit-test [ ] [ "[ 1 2 3" "interactor" get set-editor-string ] unit-test [ ] [ "promise" set ] unit-test [ "interactor" get stream-read-quot "promise" get fulfill ] "Interactor test" spawn drop ! This should not throw an exception [ ] [ "interactor" get evaluate-input ] unit-test [ ] [ [ "interactor" get interactor-busy? ] [ yield ] [ ] while ] unit-test [ ] [ "[ 1 2 3 ]" "interactor" get set-editor-string ] unit-test [ ] [ "interactor" get evaluate-input ] unit-test [ [ [ 1 2 3 ] ] ] [ "promise" get 5 seconds ?promise-timeout ] unit-test ] with-interactive-vocabs