LCOV - code coverage report
Current view: top level - src/qt/test - moc_apptests.cpp (source / functions) Hit Total Coverage
Test: total_coverage.info Lines: 9 32 28.1 %
Date: 2020-09-26 01:30:44 Functions: 2 4 50.0 %

          Line data    Source code
       1             : /****************************************************************************
       2             : ** Meta object code from reading C++ file 'apptests.h'
       3             : **
       4             : **
       5             : ** WARNING! All changes made in this file will be lost!
       6             : *****************************************************************************/
       7             : 
       8             : #include <memory>
       9             : #include "qt/test/apptests.h"
      10             : #include <QtCore/qbytearray.h>
      11             : #include <QtCore/qmetatype.h>
      12             : #if !defined(Q_MOC_OUTPUT_REVISION)
      13             : #error "The header file 'apptests.h' doesn't include <QObject>."
      14             : #elif Q_MOC_OUTPUT_REVISION != 67
      15             : #error "This file was generated using the moc from 5.15.0. It"
      16             : #error "cannot be used with the include files from this version of Qt."
      17             : #error "(The moc has changed too much.)"
      18             : #endif
      19             : 
      20             : QT_BEGIN_MOC_NAMESPACE
      21             : QT_WARNING_PUSH
      22             : QT_WARNING_DISABLE_DEPRECATED
      23             : struct qt_meta_stringdata_AppTests_t {
      24             :     QByteArrayData data[9];
      25             :     char stringdata0[80];
      26             : };
      27             : #define QT_MOC_LITERAL(idx, ofs, len) \
      28             :     Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
      29             :     qptrdiff(offsetof(qt_meta_stringdata_AppTests_t, stringdata0) + ofs \
      30             :         - idx * sizeof(QByteArrayData)) \
      31             :     )
      32             : static const qt_meta_stringdata_AppTests_t qt_meta_stringdata_AppTests = {
      33             :     {
      34             : QT_MOC_LITERAL(0, 0, 8), // "AppTests"
      35             : QT_MOC_LITERAL(1, 9, 8), // "appTests"
      36             : QT_MOC_LITERAL(2, 18, 0), // ""
      37             : QT_MOC_LITERAL(3, 19, 8), // "guiTests"
      38             : QT_MOC_LITERAL(4, 28, 11), // "BitcoinGUI*"
      39             : QT_MOC_LITERAL(5, 40, 6), // "window"
      40             : QT_MOC_LITERAL(6, 47, 12), // "consoleTests"
      41             : QT_MOC_LITERAL(7, 60, 11), // "RPCConsole*"
      42             : QT_MOC_LITERAL(8, 72, 7) // "console"
      43             : 
      44             :     },
      45             :     "AppTests\0appTests\0\0guiTests\0BitcoinGUI*\0"
      46             :     "window\0consoleTests\0RPCConsole*\0console"
      47             : };
      48             : #undef QT_MOC_LITERAL
      49             : 
      50             : static const uint qt_meta_data_AppTests[] = {
      51             : 
      52             :  // content:
      53             :        8,       // revision
      54             :        0,       // classname
      55             :        0,    0, // classinfo
      56             :        3,   14, // methods
      57             :        0,    0, // properties
      58             :        0,    0, // enums/sets
      59             :        0,    0, // constructors
      60             :        0,       // flags
      61             :        0,       // signalCount
      62             : 
      63             :  // slots: name, argc, parameters, tag, flags
      64             :        1,    0,   29,    2, 0x08 /* Private */,
      65             :        3,    1,   30,    2, 0x08 /* Private */,
      66             :        6,    1,   33,    2, 0x08 /* Private */,
      67             : 
      68             :  // slots: parameters
      69             :     QMetaType::Void,
      70             :     QMetaType::Void, 0x80000000 | 4,    5,
      71             :     QMetaType::Void, 0x80000000 | 7,    8,
      72             : 
      73             :        0        // eod
      74             : };
      75             : 
      76           1 : void AppTests::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
      77             : {
      78           1 :     if (_c == QMetaObject::InvokeMetaMethod) {
      79           1 :         auto *_t = static_cast<AppTests *>(_o);
      80             :         Q_UNUSED(_t)
      81           1 :         switch (_id) {
      82           1 :         case 0: _t->appTests(); break;
      83           0 :         case 1: _t->guiTests((*reinterpret_cast< BitcoinGUI*(*)>(_a[1]))); break;
      84           0 :         case 2: _t->consoleTests((*reinterpret_cast< RPCConsole*(*)>(_a[1]))); break;
      85             :         default: ;
      86             :         }
      87           1 :     }
      88           1 : }
      89             : 
      90             : QT_INIT_METAOBJECT const QMetaObject AppTests::staticMetaObject = { {
      91             :     QMetaObject::SuperData::link<QObject::staticMetaObject>(),
      92             :     qt_meta_stringdata_AppTests.data,
      93             :     qt_meta_data_AppTests,
      94             :     qt_static_metacall,
      95             :     nullptr,
      96             :     nullptr
      97             : } };
      98             : 
      99             : 
     100           9 : const QMetaObject *AppTests::metaObject() const
     101             : {
     102           9 :     return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
     103             : }
     104             : 
     105           0 : void *AppTests::qt_metacast(const char *_clname)
     106             : {
     107           0 :     if (!_clname) return nullptr;
     108           0 :     if (!strcmp(_clname, qt_meta_stringdata_AppTests.stringdata0))
     109           0 :         return static_cast<void*>(this);
     110           0 :     return QObject::qt_metacast(_clname);
     111           0 : }
     112             : 
     113           0 : int AppTests::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
     114             : {
     115           0 :     _id = QObject::qt_metacall(_c, _id, _a);
     116           0 :     if (_id < 0)
     117           0 :         return _id;
     118           0 :     if (_c == QMetaObject::InvokeMetaMethod) {
     119           0 :         if (_id < 3)
     120           0 :             qt_static_metacall(this, _c, _id, _a);
     121           0 :         _id -= 3;
     122           0 :     } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
     123           0 :         if (_id < 3)
     124           0 :             *reinterpret_cast<int*>(_a[0]) = -1;
     125           0 :         _id -= 3;
     126           0 :     }
     127           0 :     return _id;
     128           0 : }
     129             : QT_WARNING_POP
     130             : QT_END_MOC_NAMESPACE

Generated by: LCOV version 1.15