File: tst_repcinlib.cpp

package info (click to toggle)
qt6-remoteobjects 6.9.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,812 kB
  • sloc: cpp: 20,883; sh: 29; makefile: 26
file content (25 lines) | stat: -rw-r--r-- 582 bytes parent folder | download | duplicates (3)
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
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#include "rep_classwithattributetest_merged.h"

#include <QTest>

class tst_RepcInLib : public QObject {
    Q_OBJECT

private Q_SLOTS:
    void instantiateClassesFromLib();
};

void tst_RepcInLib::instantiateClassesFromLib()
{
    MyPod mypod;
    MyAttributeClassSimpleSource source;
    MyAttributeClassSourceAPI<MyAttributeClassSimpleSource> sourceAPI(&source);
    MyAttributeClassReplica replica;
}

QTEST_APPLESS_MAIN(tst_RepcInLib)

#include "tst_repcinlib.moc"