diff options
author | Paul Wicking <paul.wicking@qt.io> | 2024-04-18 13:47:38 +0200 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2024-04-18 15:03:13 +0200 |
commit | 3258d378308886dbcc50fa4b8ab4b7abe7499a4a (patch) | |
tree | a10f9c6eb0797448b2f6a7f398b317f4ea7bc62b /src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/qmlenumvaluesfromcpp/src/class.h | |
parent | 5aaa1b0b26ddcdbe0a27e7560975e5c7787b790d (diff) |
QDoc: Add structure to E2E test data
Ensure that test data is properly separated from test configuration
and expected output by moving test data into a `src`
subdirectory. This has an added benefit of ensuring uniform structure
for all test cases.
Task-number: QTBUG-119500
Change-Id: Iea8bc1d84f1b80b6b7f77a23330793d4cfa78891
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/qmlenumvaluesfromcpp/src/class.h')
-rw-r--r-- | src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/qmlenumvaluesfromcpp/src/class.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/qmlenumvaluesfromcpp/src/class.h b/src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/qmlenumvaluesfromcpp/src/class.h new file mode 100644 index 000000000..8c4967a69 --- /dev/null +++ b/src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/qmlenumvaluesfromcpp/src/class.h @@ -0,0 +1,10 @@ +// Copyright (C) 2024 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 +#pragma once + +class Class { + +public: + enum Values { One, Two, Three }; + enum class MoreValues { Something, Else }; +}; |