aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests/testnode.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2019-07-25 09:59:03 +0200
committerRenaud G <renaud@rolisteam.org>2019-07-25 09:59:03 +0200
commit6f499de159eeac37fe473f945042e13359dc2d40 (patch)
tree17356b91f9994ab5b19405072878b8449781e74c /tests/testnode.h
parentf5906125576a8323a731c9456ce3dfc53b67ef59 (diff)
downloadOneRoll-6f499de159eeac37fe473f945042e13359dc2d40.tar.gz
OneRoll-6f499de159eeac37fe473f945042e13359dc2d40.zip
move files
Diffstat (limited to 'tests/testnode.h')
-rw-r--r--tests/testnode.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/tests/testnode.h b/tests/testnode.h
deleted file mode 100644
index 5c918ee..0000000
--- a/tests/testnode.h
+++ /dev/null
@@ -1,44 +0,0 @@
-#ifndef TESTNODE_H
-#define TESTNODE_H
-
-#include <Qt>
-
-#include "executionnode.h"
-#include "result/diceresult.h"
-#include <utility>
-/**
- * @brief The TestNode class replaces any kind of node for test purpose.
- */
-class TestNode : public ExecutionNode
-{
-public:
- /**
- * @brief TestNode builds an instance
- * @param faces, number of faces of dices
- * @param offset, first value of dice.
- */
- TestNode();
- virtual ~TestNode() override;
-
- /**
- * @brief run - starts to roll dice.
- */
- virtual void run(ExecutionNode*) override;
- /**
- * @brief toString
- * @param wl
- * @return use to generate dot tree;
- */
- virtual QString toString(bool wl) const override;
- /**
- * @brief getPriority
- * @return priority for dice roll: 4 (higher)
- */
- virtual qint64 getPriority() const override;
-
- virtual ExecutionNode* getCopy() const override;
-
- void setResult(Result* result);
-};
-
-#endif // TESTNODE_H