diff options
author | homeboy445 <akshitsan13@gmail.com> | 2021-06-17 17:42:41 +0530 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-06-29 06:14:59 +0200 |
commit | df3ed584b025b8a87a8a3042a04ac8c12ebe4f26 (patch) | |
tree | 14279a51292a90848cbe780393a32ffd639c7b86 /cui/source/inc/GraphicsTestsDialog.hxx | |
parent | 7c95c16deba975b0b282ccea1fbfcfadd7aa28b3 (diff) |
Added a UI dialog box for running the VCL backend tests
The UI dialog box will allow the user to run the VCL graphics tests
and will allow them to view the results as well.
Change-Id: Ice289444ff425496a3e400a4c2bc06c307168c62
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117384
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'cui/source/inc/GraphicsTestsDialog.hxx')
-rw-r--r-- | cui/source/inc/GraphicsTestsDialog.hxx | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/cui/source/inc/GraphicsTestsDialog.hxx b/cui/source/inc/GraphicsTestsDialog.hxx new file mode 100644 index 000000000000..d851fbf0b528 --- /dev/null +++ b/cui/source/inc/GraphicsTestsDialog.hxx @@ -0,0 +1,24 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +#pragma once + +#include <vcl/weld.hxx> +#include <vcl/test/GraphicsRenderTests.hxx> + +class GraphicsTestsDialog : public weld::GenericDialogController +{ + std::unique_ptr<weld::TextView> m_xResultLog; + std::unique_ptr<weld::Button> m_xDownloadResults; + + DECL_STATIC_LINK(GraphicsTestsDialog, HandleDownloadRequest, weld::Button&, void); + +public: + GraphicsTestsDialog(weld::Window* pParent); + void runGraphicsTestandUpdateLog(); +};
\ No newline at end of file |