File indexing completed on 2024-04-14 04:29:42
0001 #include "tikzdocumenttest.h" 0002 0003 #include <QtTest/QTest> 0004 #include <QDebug> 0005 #include <QUndoStack> 0006 0007 #include <tikz/core/Document.h> 0008 #include <tikz/core/Node.h> 0009 #include <tikz/core/Path.h> 0010 0011 #include <tikz/ui/Editor.h> 0012 #include <tikz/ui/Document.h> 0013 #include <tikz/ui/NodeItem.h> 0014 0015 QTEST_MAIN(TikzDocumentTest) 0016 0017 void TikzDocumentTest::initTestCase() 0018 { 0019 } 0020 0021 void TikzDocumentTest::cleanupTestCase() 0022 { 0023 } 0024 0025 void TikzDocumentTest::documentTest() 0026 { 0027 auto doc = tikz::ui::Editor::instance()->createDocument(nullptr); 0028 0029 tikz::ui::NodeItem * node = doc->createNodeItem(); 0030 0031 Q_ASSERT(node != nullptr); 0032 0033 // tikz::core::Node * node = doc.createNode(); 0034 } 0035 0036 // kate: indent-width 4; replace-tabs on;