From c67d1cbbc45963fb7028f772be5a08b5b7c7e96d Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Tue, 24 Sep 2024 14:20:33 +0800 Subject: [PATCH] add background color tests --- thermion_dart/test/integration_test.dart | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/thermion_dart/test/integration_test.dart b/thermion_dart/test/integration_test.dart index f35689ea..511316f6 100644 --- a/thermion_dart/test/integration_test.dart +++ b/thermion_dart/test/integration_test.dart @@ -129,7 +129,14 @@ void main() async { test('set background color to solid green', () async { var viewer = await createViewer(); await viewer.setBackgroundColor(0.0, 1.0, 0.0, 1.0); - await _capture(viewer, "bgcolor"); + await _capture(viewer, "set_background_color_to_solid_green"); + await viewer.dispose(); + }); + + test('set background color to full transparency', () async { + var viewer = await createViewer(); + await viewer.setBackgroundColor(0.0, 1.0, 0.0, 0.0); + await _capture(viewer, "set_background_color_to_transparent_green"); await viewer.dispose(); });