pqComponentsTestUtility.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3 // SPDX-License-Identifier: BSD-3-Clause
4 #ifndef pqComponentsTestUtility_h
5 #define pqComponentsTestUtility_h
6 
7 #include "pqComponentsModule.h"
8 #include "pqCoreTestUtility.h"
9 
15 {
16  Q_OBJECT
18 
19 public:
20  pqComponentsTestUtility(QObject* parentObj = nullptr);
21 
26  static bool CompareView(
27  const QString& referenceImage, double threshold, const QString& tempDirectory);
28 
29 private:
30  Q_DISABLE_COPY(pqComponentsTestUtility)
31 };
32 
33 #endif
#define PQCOMPONENTS_EXPORT
static bool CompareView(pqView *curView, const QString &referenceImage, double threshold, const QString &tempDirectory, const QSize &size=QSize())
pqComponentsTestUtility simply adds a pqComponents specific testing capabilities to pqCoreTestUtility...
Provides ParaView-specific functionality for regression testing.