mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
test capi: fix build infrastructure
This commit is contained in:
parent
3f1b08f050
commit
fe493a93f2
5 changed files with 10 additions and 6 deletions
|
@ -21,7 +21,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <thorvg_capi.h>
|
#include <thorvg_capi.h>
|
||||||
#include "catch.hpp"
|
#include "../catch.hpp"
|
||||||
|
|
||||||
TEST_CASE("Basic capi initialization", "[capiInitializer]")
|
TEST_CASE("Basic capi initialization", "[capiInitializer]")
|
||||||
{
|
{
|
|
@ -21,7 +21,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <thorvg_capi.h>
|
#include <thorvg_capi.h>
|
||||||
#include "catch.hpp"
|
#include "../catch.hpp"
|
||||||
|
|
||||||
#define UTC_EPSILON 1e-6f
|
#define UTC_EPSILON 1e-6f
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <thorvg_capi.h>
|
#include <thorvg_capi.h>
|
||||||
#include "catch.hpp"
|
#include "../catch.hpp"
|
||||||
|
|
||||||
TEST_CASE("Multiple shapes", "[capiShapes]")
|
TEST_CASE("Multiple shapes", "[capiShapes]")
|
||||||
{
|
{
|
|
@ -21,7 +21,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <thorvg_capi.h>
|
#include <thorvg_capi.h>
|
||||||
#include "catch.hpp"
|
#include "../catch.hpp"
|
||||||
|
|
||||||
TEST_CASE("Canvas initialization", "[capiCanvas]")
|
TEST_CASE("Canvas initialization", "[capiCanvas]")
|
||||||
{
|
{
|
|
@ -1,6 +1,10 @@
|
||||||
test_file = [
|
test_file = [
|
||||||
'capiMain.cpp',
|
'capiInitializer.cpp',
|
||||||
'capiFill.cpp',
|
'capiFill.cpp',
|
||||||
|
'capiMain.cpp',
|
||||||
|
'capiPaint.cpp',
|
||||||
|
'capiShape.cpp',
|
||||||
|
'capiSwCanvas.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
tests = executable('capiUnitTests',
|
tests = executable('capiUnitTests',
|
||||||
|
|
Loading…
Add table
Reference in a new issue