Aleksei Kuzmin
|
c73ba5802e
|
Disable "nativeImage module > addRepresentation()" tests
|
2017-11-24 10:58:53 +09:00 |
|
Aleksei Kuzmin
|
cf749a8e18
|
Explicitly skip tests that should be skipped
|
2017-11-20 14:43:23 +01:00 |
|
Aleksei Kuzmin
|
b51a9cf4f6
|
Rewrite "nativeImage module" tests assertions with chai.expect()
|
2017-11-16 16:00:11 +03:00 |
|
Aleksei Kuzmin
|
2f7718265a
|
Light refactoring of the nativeImage module tests
|
2017-11-02 03:18:32 +03:00 |
|
Samuel Attard
|
ed25941c65
|
Add basic specs
|
2017-10-10 17:30:27 +11:00 |
|
Kevin Sawicki
|
2946f624ac
|
Add spec for adding representation to existing image
|
2017-03-09 09:56:42 -08:00 |
|
Kevin Sawicki
|
6e977cbc3a
|
Assert emptiness and size of built up images
|
2017-03-09 09:56:42 -08:00 |
|
Kevin Sawicki
|
7e039d92ec
|
Support adding representation from data URL
|
2017-03-09 09:56:42 -08:00 |
|
Kevin Sawicki
|
17b70670f8
|
Add initial NativeImage.addRepresentation specs
|
2017-03-09 09:56:42 -08:00 |
|
Kevin Sawicki
|
31cae8e1aa
|
Add more scale factor specs
|
2017-03-07 12:34:31 -08:00 |
|
Kevin Sawicki
|
82a81bb26e
|
Support scale factor to buffer APIs
|
2017-03-07 12:27:55 -08:00 |
|
Kevin Sawicki
|
e4ead6d018
|
Remove hasRepresentation and just use 1x png result
|
2017-03-07 12:27:55 -08:00 |
|
Kevin Sawicki
|
8bc65ef495
|
Add failing spec for toPNG with scale factor
|
2017-03-07 12:27:55 -08:00 |
|
Kevin Sawicki
|
50ade57700
|
Add more hasRepresentation asserts
|
2017-03-07 12:27:55 -08:00 |
|
Kevin Sawicki
|
0bbbeb307e
|
Support toDataURL without 1x representation
|
2017-03-07 12:27:55 -08:00 |
|
Kevin Sawicki
|
8eaf48e552
|
Add spec for 1x1 PNG data URL
|
2017-03-07 12:27:55 -08:00 |
|
Kevin Sawicki
|
b46e48cae1
|
Add failing toDataURL spec
|
2017-03-07 12:27:55 -08:00 |
|
Kevin Sawicki
|
104cae8f68
|
Only call getNativeHandle on macOS
|
2017-01-25 14:26:05 -08:00 |
|
Kevin Sawicki
|
2ad46f1842
|
Add failing spec for empty image crashes
|
2017-01-25 14:26:05 -08:00 |
|
Kevin Sawicki
|
8680a08a8d
|
Add deprecated comment to scaleFactor parameter
|
2016-12-14 10:18:01 -08:00 |
|
gellert
|
9d2c9df992
|
adds empty bitmap test for createFromBuffer
|
2016-12-14 00:24:57 +01:00 |
|
gellert
|
7ceb8d1ab8
|
additional tests for createFromBuffer
|
2016-12-14 00:18:24 +01:00 |
|
gellert
|
a609e52a14
|
moves bitmap parameters to options object
|
2016-12-13 21:32:17 +01:00 |
|
gellert
|
39875c90f1
|
adds bitmap support to createFromBuffer
|
2016-12-13 21:32:17 +01:00 |
|
Kevin Sawicki
|
4ffae1d563
|
Add spec for getAspectRatio
|
2016-10-05 11:02:58 -07:00 |
|
Kevin Sawicki
|
abffd98e29
|
Resize images with preserve aspect ratio
|
2016-10-05 11:02:58 -07:00 |
|
Kevin Sawicki
|
49cc00dedf
|
Add tests of resizing/cropping an empty image
|
2016-10-05 11:02:57 -07:00 |
|
Kevin Sawicki
|
0eda33f057
|
Add tests for cropping native images
|
2016-10-05 11:02:57 -07:00 |
|
Kevin Sawicki
|
a80f4c1605
|
Add specs for other create image helpers
|
2016-10-05 11:02:57 -07:00 |
|
Kevin Sawicki
|
6aba4e916a
|
🎨 Use deepEqual asserts
|
2016-10-05 11:02:57 -07:00 |
|
Kevin Sawicki
|
6a7f0d70fd
|
Add native image resize tests
|
2016-10-05 11:02:56 -07:00 |
|
Kevin Sawicki
|
f8236c1a65
|
Add more failure asserts for nativeImage.createFromPath
|
2016-09-21 10:48:24 -07:00 |
|
Kevin Sawicki
|
14df90fd19
|
Add spec for valid .ico file
|
2016-06-28 12:17:05 -07:00 |
|
Kevin Sawicki
|
8fb86e10fc
|
Add assert for non-existent .ico
|
2016-06-28 12:17:05 -07:00 |
|
Leonard Lamprecht
|
67dd19ed0f
|
Replace OS X and Mac OS with macOS
|
2016-06-18 15:26:26 +02:00 |
|
Zeke Sikelianos
|
5e4696f4a7
|
standardize more
|
2016-03-30 17:00:32 -07:00 |
|
Zeke Sikelianos
|
f35f362272
|
autoformat more files
|
2016-03-30 17:00:31 -07:00 |
|
Paul Betts
|
148014f99a
|
Fix spec failure
|
2016-03-16 12:42:23 -07:00 |
|
Paul Betts
|
fa197ad583
|
Fix failing test
|
2016-03-16 12:40:28 -07:00 |
|
Paul Betts
|
665d3166ed
|
Update the tests
|
2016-03-14 21:00:58 -07:00 |
|
Paul Betts
|
248ac5c37b
|
Add unit tests
|
2016-03-13 20:25:49 -07:00 |
|
Kevin Sawicki
|
4c23e3950a
|
Add missing semicolon
|
2016-03-07 16:45:15 -08:00 |
|
Kevin Sawicki
|
44376374b0
|
path -> paths
|
2016-03-07 16:45:14 -08:00 |
|
Kevin Sawicki
|
97930fcd84
|
Add specs for more image path cases
|
2016-03-07 16:45:14 -08:00 |
|
Kevin Sawicki
|
7692edf50e
|
Assert image size as well
|
2016-03-07 16:45:14 -08:00 |
|
Kevin Sawicki
|
8215d661ca
|
Add api- prefix to spec
|
2016-03-07 16:45:14 -08:00 |
|