File: ProjectImportTest.h

package info (click to toggle)
labplot 2.12.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 78,500 kB
  • sloc: cpp: 241,048; ansic: 6,324; python: 915; xml: 400; yacc: 237; sh: 221; awk: 35; makefile: 11
file content (50 lines) | stat: -rw-r--r-- 1,327 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
	File                 : ProjectImportTest.h
	Project              : LabPlot
	Description          : Tests for project imports
	--------------------------------------------------------------------
	SPDX-FileCopyrightText: 2018-2023 Alexander Semke <alexander.semke@web.de>
	SPDX-FileCopyrightText: 2024 Stefan Gerlach <stefan.gerlach@uni.kn>

	SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PROJECTIMPORTTEST_H
#define PROJECTIMPORTTEST_H

#include "tests/CommonMetaTest.h"

class ProjectImportTest : public CommonMetaTest {
	Q_OBJECT

private Q_SLOTS:
	// TODO: import of LabPlot projects

#ifdef HAVE_LIBORIGIN
	// import of Origin projects
	void testOrigin01();
	void testOrigin02();
	void testOrigin03();
	void testOrigin04();
	void testOriginTextNumericColumns();
	void testOrigin_2folder_with_graphs();
	void testOrigin_2graphs();
	void testOriginHistogram();
	void testOriginBarPlot();

	// signgle/multi graph layers
	void testOriginSingleLayerTwoAxes();
	void testOriginSingleLayerTwoAxesWithoutLines();
	void testOriginMultiLayersAsPlotAreas();
	void testOriginMultiLayersAsCoordinateSystems();
	void testOriginMultiLayersAsCoordinateSystemsWithLegend();

	// test import strings
	void testImportOriginStrings();

	// test tags
	void testParseOriginTags_data();
	void testParseOriginTags();

#endif
};
#endif