Mira Grudzinska
1006cbd0d8
tests: added Capis gradient transformation tests
2021-10-25 19:35:00 +09:00
Mira Grudzinska
cc9b5669e5
tests: fill transformation tests added
2021-10-22 19:47:29 +09:00
Hermet Park
8cc7f50235
test: API coverage up
...
Added identifier() test cases.
2021-10-22 18:47:05 +09:00
Mira Grudzinska
78b7b278c0
tests: saver capis added into the tests
2021-10-13 21:25:44 +09:00
Mira Grudzinska
e6debdbf15
capi: tvg_swcanvas_set_mempool capi added ( #903 )
...
* capi: tvg_swcanvas_set_mempool capi added
* tests: tvg_swcanvas_set_mempool added to the tests
2021-10-13 19:31:39 +09:00
Mira Grudzinska
a4d2a99c03
tests: tvg_gradient_duplicate added to the capi tests
2021-10-13 18:34:02 +09:00
projectitis
dad6c71b6c
all: fix warnings on MSVC
...
* Explicit casts to suppress warnings
* Fixed compiler warnings
2021-10-09 11:33:45 +09:00
Hermet Park
b97f9338dd
test: ++safety.
...
add null handlings just in case.
2021-10-07 15:04:46 +09:00
Mira Grudzinska
304a351dcc
tests: added tests for size and composite C apis
2021-10-07 15:03:28 +09:00
projectitis
a678846068
tests: fix stack overflow error in testPicture for windows
2021-10-07 14:51:07 +09:00
Hermet Park
9737dd4a89
test capi: update tvg_paint_get_bounds() utc.
...
The api has been changed by 060564cc93
update it according its change.
2021-10-06 22:17:18 +09:00
Mira Grudzinska
d67517337c
tests: ++LOC svg loader, tvg saver
2021-10-06 11:11:21 +09:00
Projectitis
591ea1d61c
Changes to support MSVC
2021-09-29 22:56:52 +09:00
bchrescionko
f41cef44c1
test: creating test for downscaling picture ( #837 )
...
Added tests for the functions rastering scaled down images
2021-09-24 15:19:02 +02:00
bchrescionko
a50ccbb0c6
test: added test for tvg_picture_get_viewbox function
2021-09-24 21:08:59 +09:00
Hermet Park
79933d9efa
api: set default value nullptr for user convenience.
2021-09-09 12:40:43 +09:00
Michal Maciola
3ded3e359d
utc: testing loading and saving .tvg
...
Added tests of loading and saving .tvg.
Created testSavers.cpp. Created files tag.tvg and test.tvg. Minor change
in tag.svg.
2021-09-03 11:02:25 +09:00
Mira Grudzinska
5c504cbfe6
test SwEngine: increasing lines coverage ( #767 )
...
All functions from tvgSwStroke.cpp called.
2021-09-02 15:04:44 +02:00
Mira Grudzinska
dddb38d900
test SwEngine: _rasterTranslucentRect added into the tests
2021-09-01 17:26:07 +09:00
Mira Grudzinska
2fb07d9ac8
test SwEngine: raster image functions included into the unit tests
...
All image rastering funcions called in the 'Image Draw' test case.
2021-09-01 17:25:42 +09:00
Michal Maciola
8ed6a1a12d
utc: increase coverage of picture and fill
2021-08-20 12:36:09 +09:00
Michal Maciola
f66ea21e9c
utc: increase coverage SwEngine
2021-08-20 12:35:25 +09:00
Michal Maciola
d82b088b7a
utc: increase coverage up #1
2021-08-19 14:49:14 +09:00
Michal Maciola
3a05ae4c01
utc: increase coverage up
2021-08-19 14:49:14 +09:00
Michal Maciola
cff8815404
loaders: Pass mimetype to picture::load
...
* loaders: Pass mimetype to picture::load
Added mimetype attribute to enfaster loading using a proper loader.
@Changed api: Picture::load(const char* data, uint32_t size, const std::string& mimeType, bool copy = false)
@issue: #571
2021-08-05 11:02:26 +09:00
Hermet Park
5e52134e2a
dexample Picture: improve the test coverage.
...
In this patch, it replaced the test images with Lenna.
and fix the wrong jpeg file size figuring.
2021-07-30 12:09:59 +09:00
Hermet Park
f7f241cff5
common picture: remove viewbox() api.
...
picture provides size() interface to return the image size,
viewbox() is conceptually not correct with the Picture.
Remove it under the beta api.
2021-07-28 13:07:43 +09:00
Hermet Park
b3b9d8edf6
test paint: add missing Paint utc
2021-07-27 10:21:09 +09:00
Hermet Park
94eeb92dbe
infra: seprate test image resources from the examples.
...
change for removing dependency.
2021-07-19 14:43:26 +09:00
Michal Maciola
f9d5c8b42d
test: testPicture added .jpg and .png loading tests
2021-07-16 00:36:38 +09:00
Michal Maciola
58ad09a07a
test capi: added missing canvas, paint and shape tests
...
Added tests for tvg_canvas_reserve, tvg_canvas_update_paint, tvg_paint_duplicate, tvg_paint_set_composite_method, tvg_shape_cubic_to, tvg_shape_close
2021-07-16 00:34:54 +09:00
Michal Maciola
9bfacf2256
test capi: Stroke Radial Gradient
...
Added tvg_shape_get_gradient
2021-07-16 00:32:41 +09:00
Michal Maciola
c3aef76278
test: render jpg and png files
2021-07-16 00:29:39 +09:00
Michal Maciola
ba1a38ed39
test capi: Stroke Linear Gradient fix #2
2021-07-15 16:06:11 +09:00
Michal Maciola
a757e6b97d
test capi: Stroke Linear Gradient fix #1
...
Added tvg_shape_get_gradient
2021-07-15 16:06:11 +09:00
Michal Maciola
3d672a4ea8
test capi: Stroke Linear Gradient
2021-07-15 16:06:11 +09:00
Michal Maciola
a8e13ed2b7
test: svg rendering
...
Added SVG file loading and rendering for increasing TC Line coverage
Line coverage for src/loaders/svg: 85.5%
2021-07-14 23:24:40 +09:00
Michal Maciola
9b276cc5fa
test capi: scene added negative tests
2021-07-14 23:22:09 +09:00
Hermet Park
30f4beacf5
test capi: complement scene test cases.
2021-07-08 18:41:04 +09:00
jykeon
60b9bc136c
tests capi: Add capi Scene TC.
2021-07-08 17:35:19 +09:00
Hermet Park
547920d324
test filling: add fill/linear/radial gradients.
2021-07-04 01:44:34 +09:00
Hermet Park
a5d2950902
test capi: code refactoring
...
use catch Approx functions to compare floating-point values.
2021-07-03 16:51:50 +09:00
Hermet Park
8e2765be39
common picture: fix invalid size returns from raw image.
...
picture/raw should update the size if the raw image
with size values are entered.
2021-07-03 16:15:57 +09:00
Hermet Park
64b25bb35b
test picture: ++ raw data loading.
2021-07-03 16:15:57 +09:00
Hermet Park
009c475fc9
test capi: add Picture unit test
2021-07-03 15:34:43 +09:00
Hermet Park
10f80fa832
test Picture: add Picture unit tests
2021-07-02 14:02:09 +09:00
Hermet Park
27cac72d7d
test Shape: add Shape unit tests
2021-07-02 10:38:28 +09:00
Hermet Park
97302d2983
test scene: revert section usage.
...
Dismiss this usage for consistency.
Yet we have no practical necessity,
we can apply this to *all test suites later.
2021-07-01 20:41:07 +09:00
JunsuChoi
f4895459fa
test Scene: Separate tests into SECTION()
...
Split some tests into SECTIONs based on their type.
This improves the readability of TC.
And developer can run test in SECTION unit.
ex)
./build/test/tvgUnitTests "Pushing Paints Into Scene" -c "Pushing Null Pointer"
2021-06-21 19:46:19 +09:00
JunsuChoi
b2020a9387
test Scene: Add tvg::Scene unit tests
...
- Creation
- Push
- Reserve
- Clear
2021-06-18 15:45:36 +09:00