projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d6b0fc
)
Add smoke test for escape replacement
author
Samuel Attard
<samuel.r.attard@gmail.com>
Mon, 27 Mar 2017 00:23:48 +0000
(11:23 +1100)
committer
Kevin Sawicki
<kevinsawicki@gmail.com>
Tue, 4 Apr 2017 19:50:41 +0000
(12:50 -0700)
spec/api-touch-bar-spec.js
patch
|
blob
|
history
diff --git
a/spec/api-touch-bar-spec.js
b/spec/api-touch-bar-spec.js
index
a8e9050
..
0c2f917
100644
(file)
--- a/
spec/api-touch-bar-spec.js
+++ b/
spec/api-touch-bar-spec.js
@@
-56,6
+56,9
@@
describe('TouchBar module', function () {
})
])
window.setTouchBar(touchBar)
+ touchBar.replaceEscapeItem(new TouchBarButton({
+ label: 'foo'
+ }))
label.label = 'baz'
window.setTouchBar()
window.setTouchBar(new TouchBar([new TouchBarLabel({label: 'two'})]))