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:
8215d66
)
Assert image size as well
author
Kevin Sawicki
<kevinsawicki@gmail.com>
Mon, 7 Mar 2016 17:28:08 +0000
(09:28 -0800)
committer
Kevin Sawicki
<kevinsawicki@gmail.com>
Tue, 8 Mar 2016 00:45:14 +0000
(16:45 -0800)
spec/api-native-image-spec.js
patch
|
blob
|
history
diff --git
a/spec/api-native-image-spec.js
b/spec/api-native-image-spec.js
index
88588eb
..
688819c
100644
(file)
--- a/
spec/api-native-image-spec.js
+++ b/
spec/api-native-image-spec.js
@@
-10,6
+10,8
@@
describe('nativeImage module', () => {
const nonAbsolutePath = `${path.join(__dirname, 'fixtures', 'api')}${path.sep}..${path.sep}${path.join('assets', 'logo.png')}`;
const image = nativeImage.createFromPath(nonAbsolutePath);
assert(!image.isEmpty());
+ assert.equal(image.getSize().height, 190);
+ assert.equal(image.getSize().width, 538);
});
});
});