David Capello
c7e4416f95
Merge branch 'beta'
2022-10-11 19:05:46 -03:00
David Capello
65e3207427
Merge branch 'main' into beta
2022-08-30 14:20:11 -03:00
Gaspar Capello
29af6174bd
Fix fix_test_img() because BMP supports alpha channel
2022-08-24 19:09:18 -03:00
David Capello
02a2f1f933
Test when Sprite.events are created just when the sprite is being closed
...
As app 'sitechange' event is generated when we close a sprite,
accessing Sprite.events on that event will re-create the
app::script::SpriteEvents instance associated with the sprite.
2022-07-16 13:11:05 -03:00
David Capello
a4d730a734
Merge branch 'main' into beta
2022-07-14 15:19:41 -03:00
Gaspar Capello
1f5d89a427
Tests for issue aseprite/aseprite#3207
...
Before the fix the conversion from RGB to INDEXED color mode, in
transparent layers, always picked index 0 as transparent color, even
if the mask color was present in the palette.
2022-07-14 14:35:34 -03:00
David Capello
a03ff2280a
Test undo of Sprite:newSlice()
...
Related to https://github.com/aseprite/aseprite/issues/3393
2022-06-29 19:45:05 -03:00
Martín Capello
f2312f85fe
Test that exporting a sprite sheet uses the correct mask color index when spacing > 0 (test https://github.com/aseprite/aseprite/issues/3391 )
2022-06-27 16:48:29 -03:00
David Capello
1d183183d5
Merge branch 'main' into beta
2022-06-15 13:44:57 -03:00
David Capello
2c601bee77
Test SaveFile with different color modes
2022-06-15 10:20:13 -03:00
David Capello
ee696ede16
Test SaveFile command with scale and slice parameters
2022-06-14 21:51:13 -03:00
David Capello
1caeee9ace
Test SaveFile with slice parameter
2022-06-14 10:58:14 -03:00
David Capello
96c4f703d0
Test for new Image(Image, Rectangle) ctor
2022-06-14 10:04:29 -03:00
David Capello
b8854d3406
Add simple tests for SaveFile-commands
2022-06-13 19:17:05 -03:00
David Capello
2907b176d6
Merge branch 'main' into beta
2022-06-10 15:26:33 -03:00
David Capello
dd30981e8b
Add tests to compare different sprites (Sprite vs Layer mainly)
...
Related to: https://github.com/aseprite/aseprite/issues/3218
2022-05-23 17:23:16 -03:00
Gaspar Capello
09958449c3
Add export sprite sheet test when some cels are linked + TrimmedCels + Merge Duplicates + SplitLayers checked https://github.com/aseprite/aseprite/issues/2600
2022-03-31 16:38:35 -03:00
David Capello
43569a18a6
Merge branch 'main' into beta
2022-03-03 11:30:54 -03:00
David Capello
2a96d2d1c0
Fix some tests failing when calling BackgroundFromLayer and the user has some special app.bgColor values in the preferences
2022-03-03 11:29:36 -03:00
David Capello
cd361f1422
Merge branch 'main' into beta
2022-03-02 21:37:58 -03:00
David Capello
64045a6710
Some minor changes/asserts in inks.lua
2022-03-02 21:37:30 -03:00
David Capello
c7897b5f64
Merge branch 'main' into beta
2022-03-02 16:10:37 -03:00
David Capello
99950d7b4c
Add some tests for indexed mode + alpha compositing ink
...
Mainly to test: https://github.com/aseprite/aseprite/issues/3047
2022-03-02 16:09:59 -03:00
David Capello
dbe2af6daf
Merge branch 'main' into beta
2022-02-25 15:06:11 -03:00
David Capello
3b88d4d62e
Add some tests for contour + pixel perfect
...
Related to https://community.aseprite.org/t/13149
2022-02-25 15:04:56 -03:00
David Capello
2da98f2837
Add some tests to use Color() with Image:drawPixel() in indexed mode
...
Related to: https://github.com/aseprite/aseprite/issues/3159
2022-02-04 11:43:34 -03:00
David Capello
5326376aec
Merge branch 'main' into beta
2021-12-15 15:22:45 -03:00
Joshua Ogunyinka
5228251298
Add color conversion tests
2021-12-15 19:09:31 +04:00
David Capello
9a387a16e0
Test correct clipping drawing an image in a cel image
...
Reported here https://github.com/aseprite/aseprite/issues/3054
2021-11-15 15:11:36 -03:00
Joshua Ogunyinka
6ca19d33a0
Test correct layers iteration when layer names are numbers
...
Related to: https://github.com/aseprite/aseprite/issues/3045
2021-11-12 08:10:11 -03:00
David Capello
2b122616eb
Add "fgcolorchange" and "bgcolorchange" events
2021-10-19 15:20:24 -03:00
David Capello
261ab6e795
Enable all tests for events
2021-10-12 19:57:33 -03:00
David Capello
452f07cde3
Add tests for Image.rowStride
2021-10-07 19:39:27 -03:00
David Capello
b007185bdf
New tests for App.events & Sprite.events
2021-10-07 19:39:13 -03:00
David Capello
9d2531da91
Add some minor extra checks in some CanvasSize tests for tilemaps
2021-09-27 17:01:07 -03:00
Gaspar Capello
4dde10a8d1
Add new tilemap test
2021-09-27 13:24:56 -03:00
Gaspar Capello
88f53dd967
Added tilemap tests for canvas cropping
2021-09-27 10:26:09 -03:00
Joshua Ogunyinka
ae2be843f8
Added tests for cropping canvas
2021-09-27 09:38:28 -03:00
David Capello
a7f64a17f3
Merge branch 'main' into beta
2021-09-10 08:11:53 -03:00
David Capello
2c950360e8
Revert "Test crash saving palette to .jpg file"
...
This reverts commit 36ee80aaca585fc00baf63c58612e1d64f4df60b.
Saving the .jpg palette will make the script fail anyway.
2021-09-02 18:12:33 -03:00
David Capello
0ac10ee18d
Add some tests for issues with indexes out of the valid range
...
Related to: https://github.com/aseprite/aseprite/pull/2934
2021-09-02 17:48:58 -03:00
David Capello
997501e6be
Remove print() which was used for debugging purposes
2021-09-02 17:48:39 -03:00
David Capello
36ee80aaca
Test crash saving palette to .jpg file
...
Test for the following patch:
341408e902
2021-09-02 17:48:06 -03:00
David Capello
691ea0b5f8
Test undoing sprite.gridBounds changes
...
Test for https://github.com/aseprite/aseprite/issues/2872
2021-08-30 10:54:01 -03:00
Martín Capello
d73ba86f73
Add pixel perfect tests
2021-06-01 08:56:13 -03:00
David Capello
1dce35245c
New changes to ColorQuantization() to select the correct algorithm
2021-06-01 08:55:30 -03:00
David Capello
66e09857ac
Add some tests for ColorQuantization and ChangePixelFormat
2021-05-09 17:22:07 -03:00
David Capello
dba0ddac85
Add test to avoid removing used tiles in Auto mode
2021-04-28 17:21:31 -03:00
David Capello
8b104313fa
Test magic wand in a fully opaque transparent layer
2021-04-22 13:42:57 -03:00
David Capello
16a11e1fcc
Merge branch 'main' into beta
2021-04-19 16:53:23 -03:00