Samuel Attard
|
558fff69e7
chore: update to standard 12
|
6 years ago |
Jeremy Apthorp
|
c068bc7d3d
test: make nativeImage relative path test robust to different cwd
|
6 years ago |
Shelley Vohr
|
9489401e7d
spec: convert smaller specs to expect
|
6 years ago |
shelley vohr
|
a2856db982
Remove nativeImage deprecated methods (#11978)
|
7 years ago |
Zeke Sikelianos
|
aab35073ee
Merge pull request #11255 from electron/fix-11245
|
7 years ago |
Aleksei Kuzmin
|
b9ed7380aa
Explicitly set alpha type of bitmaps with JPEG data to opaque
|
7 years ago |
Aleksei Kuzmin
|
c0c983d28d
Light refactoring of the nativeImage module tests
|
7 years ago |
Cheng Zhao
|
1c0ea0286e
Merge pull request #11235 from electron/standard-10
|
7 years ago |
Aleksei Kuzmin
|
91e4193622
Enable nativeImage module addRepresentation() tests
|
7 years ago |
Aleksei Kuzmin
|
c73ba5802e
Disable "nativeImage module > addRepresentation()" tests
|
7 years ago |
Felix Rieseberg
|
9f0df695ca
:wrench: Spec: Fix style issues
|
7 years ago |
Aleksei Kuzmin
|
cf749a8e18
Explicitly skip tests that should be skipped
|
7 years ago |
Aleksei Kuzmin
|
b51a9cf4f6
Rewrite "nativeImage module" tests assertions with chai.expect()
|
7 years ago |
Aleksei Kuzmin
|
2f7718265a
Light refactoring of the nativeImage module tests
|
7 years ago |
Samuel Attard
|
ed25941c65
Add basic specs
|
7 years ago |
Kevin Sawicki
|
2946f624ac
Add spec for adding representation to existing image
|
8 years ago |
Kevin Sawicki
|
6e977cbc3a
Assert emptiness and size of built up images
|
8 years ago |
Kevin Sawicki
|
7e039d92ec
Support adding representation from data URL
|
8 years ago |
Kevin Sawicki
|
17b70670f8
Add initial NativeImage.addRepresentation specs
|
8 years ago |
Kevin Sawicki
|
31cae8e1aa
Add more scale factor specs
|
8 years ago |
Kevin Sawicki
|
82a81bb26e
Support scale factor to buffer APIs
|
8 years ago |
Kevin Sawicki
|
e4ead6d018
Remove hasRepresentation and just use 1x png result
|
8 years ago |
Kevin Sawicki
|
8bc65ef495
Add failing spec for toPNG with scale factor
|
8 years ago |
Kevin Sawicki
|
50ade57700
Add more hasRepresentation asserts
|
8 years ago |
Kevin Sawicki
|
0bbbeb307e
Support toDataURL without 1x representation
|
8 years ago |
Kevin Sawicki
|
8eaf48e552
Add spec for 1x1 PNG data URL
|
8 years ago |
Kevin Sawicki
|
b46e48cae1
Add failing toDataURL spec
|
8 years ago |
Kevin Sawicki
|
104cae8f68
Only call getNativeHandle on macOS
|
8 years ago |
Kevin Sawicki
|
2ad46f1842
Add failing spec for empty image crashes
|
8 years ago |
Kevin Sawicki
|
8680a08a8d
Add deprecated comment to scaleFactor parameter
|
8 years ago |