69 Commits

Author SHA1 Message Date
David Capello
b800de65a6 Test app.command.NewFile 2019-06-28 18:12:00 -03:00
David Capello
15e38b6f6a Test if two or more app.useTool() inside a app.transaction() are grouped in one undoable action 2019-06-28 16:49:36 -03:00
David Capello
e33579fe7d Change some assert() with expect_eq() 2019-06-06 10:34:25 -03:00
David Capello
b5bd46a315 Fix tests with brushes because we reverted the default brush center 2019-05-29 16:02:42 -03:00
David Capello
bcc39c7bef Add tests for useTool+symmetry options 2019-05-11 18:26:58 -03:00
David Capello
3e2cbf4b4c Remove tests for global preferences 2019-05-08 19:03:44 -03:00
David Capello
5337328c92 Default brush center has changed 2019-05-08 18:54:25 -03:00
David Capello
57e6fd35b4 New useTool() tests with brushes 2019-04-29 10:23:32 -03:00
David Capello
8c64e684f5 Add app.preferences object 2019-04-24 21:15:09 -03:00
David Capello
63ab876441 Add tests for app.defaultPalette and Palette{ fromResource } 2019-04-24 19:09:21 -03:00
David Capello
ce14e003c8 Update Version tests to new API 2019-04-22 09:04:27 -03:00
David Capello
03a74d1911 Add two minor tests for Version() <= operator 2019-04-21 00:11:15 -03:00
David Capello
a7bdc39761 Add Version() class tests 2019-04-21 00:05:31 -03:00
David Capello
b16a07abc7 Add tests for brushes 2019-04-18 22:34:27 -03:00
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
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
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
76ce890ab6 Update tests for Sprite:new(Empty)/deleteFrame() functions 2018-12-06 13:01:16 -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
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