Commit Graph

157 Commits

Author SHA1 Message Date
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
2c950360e8 Revert "Test crash saving palette to .jpg file"
This reverts commit 36ee80aaca.

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
David Capello
8b104313fa Test magic wand in a fully opaque transparent layer 2021-04-22 13:42:57 -03:00
David Capello
3d07526618 Now app.command.ImportSpriteSheet() can be used from CLI 2021-04-09 17:25:49 -03:00
David Capello
691bc0ace1 Test new Sprite.pixelRatio property 2021-04-09 16:19:58 -03:00
David Capello
3a63ec4cf0 Add tests for paint_bucket tool 2021-04-07 13:02:27 -03:00
David Capello
ffb4397238 Reset tool preferences just once when running from CLI 2021-04-07 12:57:24 -03:00
David Capello
4bd7d8eb21 Update branch name of aseprite/aseprite repo 2021-04-07 11:29:31 -03:00
David Capello
5018d156bd Fix syntax error in save-as.sh 2021-03-09 16:38:40 -03:00
David Capello
eb8e12c94a Ignore failing test from save-as.sh on Windows 2021-03-09 09:59:02 -03:00
David Capello
cb674e0bf2 Try to fix passing * as an argument in MINGW64 bash
It looks like '*' is being converted as a wildcard to list files in
the current dir, which doesn't happen in other platforms (?).
2021-03-09 09:20:28 -03:00
David Capello
58235ac14d Try to fix comparing text lines on Windows 2021-03-08 19:27:07 -03:00
David Capello
293f9170b6 Ignore MINGW64 uname 2021-03-08 16:28:55 -03:00
David Capello
513d57a6b4 Include uname output in run-tests.sh 2021-03-08 16:07:35 -03:00
David Capello
b7b4fd1f97 Update json.lua submodule 2021-03-08 16:06:35 -03:00
David Capello
c4252301bf New tests for functions to manipulate directories 2020-10-22 11:38:51 -03:00
David Capello
34789673a4 Test new Sprite{ fromFile="...", oneFrame=true } API 2020-07-28 17:44:43 -03:00
David Capello
233c56a880 Check ColorSpace{} constructor 2020-07-28 17:44:31 -03:00
David Capello
9e22d25136 Test crash undoing Sprite:newCel() in background layers 2020-07-22 14:17:46 -03:00
David Capello
764bfab41c Add test for https://github.com/aseprite/aseprite/issues/2432 2020-06-10 12:58:26 -03:00
David Capello
e73a30057b Add test for https://github.com/aseprite/aseprite/issues/2380 2020-06-10 12:03:53 -03:00
David Capello
2df9614ac6 [lua] Test crash undoing removed layers/groups 2020-05-28 12:25:28 -03:00
David Capello
86841217b2 Add more tests for simple and alpha compositing inks w/brushes 2020-05-25 17:34:41 -03:00
David Capello
b81c615211 Test transparent/background layer in special indexed case for alpha compositing ink 2020-05-21 20:52:16 -03:00
David Capello
76c2fff045 Test that alpha compositing ink w/opacity=255 behaves like simple ink 2020-05-21 18:33:02 -03:00
David Capello
6497147845 Add some tests for Simple and Alpha Compositing inks 2020-05-20 18:17:17 -03:00
David Capello
f358262ad5 Test app.command.Flip() 2020-04-17 12:26:29 -03:00
David Capello
52a3fe55ae Check that app.range:clear() reset the selected colors 2020-04-16 21:36:50 -03:00
David Capello
58dccdaff2 Add Range.layers/frames setters and Range:clear() 2020-04-16 19:20:01 -03:00
David Capello
7df01d80d8 Test some crashes of Image() constructor 2020-03-28 13:25:17 -03:00
David Capello
d890906f1a Fix version tests now that the master branch is v1.x-dev 2020-03-25 23:17:48 -03:00
David Capello
e3d67e9765 Add Tag.color (related to https://github.com/aseprite/api/issues/24) 2020-03-19 08:57:53 -03:00
David Capello
22c5c2d547 Test bugs using image brush + tiled mode 2020-02-11 09:37:32 -03:00
David Capello
0b0fbecc26 Test that "sourceSize" fields are generated correctly
When two similar cels from two different sprites with different canvas
size are merged together we have to keep the "sourceSize" of each
original sprite.
2020-02-06 14:40:55 -03:00
David Capello
b690230387 Test that "spriteSourceSize" are generated correctly when -trim -merge-duplicates are used together 2020-02-06 11:54:55 -03:00
David Capello
adc97fffb7 Test new function to save images with a specific palette 2020-01-13 12:29:37 -03:00
David Capello
b43e21baba Test fix for Palette:setEntry() when alpha channel is involved 2020-01-13 11:22:42 -03:00
David Capello
ade7285ff6 Add test for app.fs.fileExtension 2020-01-13 11:19:15 -03:00
David Capello
1db7233496 Test that the crash when we called print() on a __gc at exit is fixed 2019-12-11 23:50:37 -03:00
David Capello
0fd04fd57f Add app.fs tests 2019-12-11 15:44:03 -03:00
David Capello
2380719a3f Fix some comments in app_preferences.lua 2019-12-11 14:45:03 -03:00
David Capello
e857b0e3e5 Fix running Lua scripts that use temp dir ($t) on Windows 2019-12-11 14:44:29 -03:00
David Capello
47b3098c8b Add tests for default vs specific document preferences 2019-12-02 19:27:04 -03:00
David Capello
7ebaaf485a Add more tests for Layer.stackIndex setter 2019-11-29 11:06:52 -03:00
David Capello
a14a0a321d Test all -sheet-types 2019-11-01 15:53:15 -03:00