Multilabel support & Label refactoring (#17)
All checks were successful
Build ptprnt / build (push) Successful in 3m47s
All checks were successful
Build ptprnt / build (push) Successful in 3m47s
Reviewed-on: moritz/ptouch-prnt#17
This commit was merged in pull request #17.
This commit is contained in:
@@ -4,11 +4,6 @@ tests = [
|
||||
'bitmap_test_exe',
|
||||
['../src/graphics/Bitmap.cpp', 'bitmap_test/bitmap_test.cpp'],
|
||||
],
|
||||
[
|
||||
'label_test',
|
||||
'label_test_exe',
|
||||
['../src/graphics/Label.cpp', 'label_test/label_test.cpp'],
|
||||
],
|
||||
[
|
||||
'monochrome_test',
|
||||
'monochrome_test_exe',
|
||||
@@ -35,4 +30,22 @@ foreach test : tests
|
||||
],
|
||||
),
|
||||
)
|
||||
endforeach
|
||||
endforeach
|
||||
|
||||
# Label test requires GMock for mocking Cairo/Pango
|
||||
test(
|
||||
'label_test',
|
||||
executable(
|
||||
'label_test_exe',
|
||||
sources: ['../src/graphics/Label.cpp', 'label_test/label_test.cpp'],
|
||||
include_directories: incdir,
|
||||
dependencies: [
|
||||
gmock_dep,
|
||||
gtest_dep,
|
||||
usb_dep,
|
||||
log_dep,
|
||||
pangocairo_dep,
|
||||
cli11_dep,
|
||||
],
|
||||
),
|
||||
)
|
||||
Reference in New Issue
Block a user