Commit Graph

171 Commits

Author SHA1 Message Date
David Capello
585ffc91a4 New tests to load/save Sprite/Image/Palette 2019-04-18 00:16:54 -03:00
David Capello
ea4f6ce957 Add Sprite:flatten() 2019-04-17 15:04:25 -03:00
David Capello
de9f8beed9 Add a test for https://community.aseprite.org/t/2894 2019-04-13 17:19:11 -03:00
David Capello
bef770c2b3 Update some tests with the new app.activeFrame/Layer behavior 2019-04-13 16:30:58 -03:00
David Capello
b750a92647 Test Image:isEmpty() and Image:isPlain() 2019-03-29 15:55:45 -03:00
David Capello
7a1cd9dad7 Test Point/Size/Rectangle tostring 2019-03-29 15:54:50 -03:00
David Capello
a32a0485c7 Test app.useTool() with "cel" argument 2019-03-23 16:35:56 -03:00
David Capello
d16f42e1c9 Use the new Color.rgbaPixel property 2019-03-23 16:35:36 -03:00
David Capello
aa4b9d91f3 Rename app.toolStroke() -> app.useTool() 2019-03-23 13:53:44 -03:00
David Capello
8e378c4e45 Add tests for app.activeTool 2019-03-23 09:19:34 -03:00
David Capello
771d5f8a85 Add some extra tool tests 2019-03-18 22:33:53 -03:00
David Capello
0dbe0bdffb Rename app.drawWithTool() -> app.toolStroke() 2019-03-16 13:15:51 -03:00
David Capello
0df118e405 Add some app.drawWithTool() basic tests 2019-03-15 17:04:19 -03:00
David Capello
9f24ca0369 Add Selection.origin setter 2019-02-15 17:20:18 -03:00
David Capello
8475f5a5ff Remove calls to macOS open utility 2019-01-10 07:16:21 -03:00
David Capello
d23c622a17 Add test for --sheet --data with --split-layers 2019-01-09 21:14:01 -03:00
David Capello
e958403e27 Add some tests for --sheet 2019-01-09 20:43:49 -03:00
David Capello
4d735ed757 Add app.command.CanvasSize 2019-01-06 19:01:59 -03:00
David Capello
4b331f781a Add app.command.PaletteSize 2019-01-06 18:24:17 -03:00
David Capello
6b432ea268 Remove assert for the color profile name 2019-01-03 19:37:51 -03:00
David Capello
05e6dd9b24 Add some examples about how to run the tests 2019-01-03 17:25:11 -03:00
David Capello
1baca9c85e Add new ColorSpace{ sRGB } 2019-01-03 15:32:45 -03:00
David Capello
3e98c69e76 Test __eq of ColorSpace 2019-01-03 13:52:13 -03:00
David Capello
c6d3e0c948 Test default ColorSpace of new sprites 2019-01-03 13:51:40 -03:00
David Capello
3e23e63824 Add support to filter tests to run in run-tests.sh 2018-12-20 14:23:00 -03:00
David Capello
72109b99bb Remove call to open command (which was only for local testing purposes) 2018-12-20 14:02:50 -03:00
David Capello
a4a6af2239 Add regression test for aseprite/aseprite#591 2018-12-20 13:32:53 -03:00
David Capello
7e53c296e2 Add more -save-as tests 2018-12-20 11:30:40 -03:00
David Capello
76ce890ab6 Update tests for Sprite:new(Empty)/deleteFrame() functions 2018-12-06 13:01:16 -03:00
David Capello
812ce9320a Don't reset $result variable for CLI tests after script tests 2018-12-06 13:00:56 -03:00
David Capello
71a02b537a Update tests for tags 2018-12-04 17:58:03 -03:00
David Capello
3ee484e5eb Test Cel.frame/frameNumber properties correctly 2018-11-27 15:06:20 -03:00
David Capello
6d687cddab Add app.site.frameNumber 2018-11-22 15:05:03 -03:00
David Capello
567115dbc3 Add some app.site tests 2018-11-22 14:45:26 -03:00
David Capello
bd521ec45f Test Rectangle:contains/union/intersect(s) functions 2018-11-14 16:53:24 -03:00
David Capello
01c9605a8c Test Sprite.bounds 2018-11-14 16:53:17 -03:00
David Capello
eeb2149c17 Test Image:clear() without arguments (should use the transparent color) 2018-11-13 21:39:10 -03:00
David Capello
f643a93998 Use ColorMode.GRAY instead of ColorMode.GRAYSCALE 2018-11-13 21:38:55 -03:00
David Capello
8e66b83319 Add test for Image:clear() 2018-11-13 20:30:56 -03:00
David Capello
c1ca1aeda6 Tests for Image:drawSprite() (previously know as Image:putSprite) 2018-11-12 19:32:00 -03:00
David Capello
2afbc770d2 Disable some app.activeFrame tests that fails when there is no UI 2018-11-07 16:52:49 -03:00
David Capello
91e64cd436 Add scripts to test the CLI features
I'm going to move my internals CLI tests to this repo in the near future.
This is a first version to try the new --ignore-empty --save-as feature.
2018-11-07 16:49:31 -03:00
David Capello
4d7f3036d8 Add app_active.lua 2018-11-03 13:39:43 -03:00
David Capello
330da97467 Test Sprite.backgroundLayer property 2018-09-12 18:45:44 -03:00
David Capello
d3ae1c32c0 Test Cel.position property 2018-09-12 18:45:35 -03:00
David Capello
b14c6fc831 Test ipairs() 2018-09-12 18:45:23 -03:00
David Capello
2eaf56f359 Add ImageSpec tests 2018-09-12 09:15:34 -03:00
David Capello
b6c2a43f9e New tests for layers/frames/cels/tags/slices 2018-09-11 18:46:35 -03:00
David Capello
2a9062ee99 Add test for Image:pixels(Rectangle) 2018-09-07 18:03:02 -03:00
David Capello
a8a4d1f1c4 Fix README
We are going to use Lua instead of JavaScript
2018-09-07 14:50:25 -03:00