diff --git a/src/test_node.js b/src/test_node.js index a686ca2..7f3ba7d 100644 --- a/src/test_node.js +++ b/src/test_node.js @@ -45,6 +45,41 @@ class TestNode { return this; } + /** + * @returns {number} + */ + getTestCaseCount() { + throw new Error('Not implemented'); + } + + /** + * @returns {number} + */ + getFailureCount() { + throw new Error('Not implemented'); + } + + /** + * @returns {number} + */ + getErrorCount() { + throw new Error('Not implemented'); + } + + /** + * @returns {number} + */ + getSkippedCount() { + throw new Error('Not implemented'); + } + + /** + * @param {import('xmlbuilder').XMLElement} [parentElement] + */ + build(parentElement) { + return this.buildNode(this.createElement(parentElement)); + } + /** * @protected * @param {import('xmlbuilder').XMLElement} [parentElement] @@ -86,41 +121,6 @@ class TestNode { } return element; } - - /** - * @returns {number} - */ - getTestCaseCount() { - throw new Error('Not implemented'); - } - - /** - * @returns {number} - */ - getFailureCount() { - throw new Error('Not implemented'); - } - - /** - * @returns {number} - */ - getErrorCount() { - throw new Error('Not implemented'); - } - - /** - * @returns {number} - */ - getSkippedCount() { - throw new Error('Not implemented'); - } - - /** - * @param {import('xmlbuilder').XMLElement} [parentElement] - */ - build(parentElement) { - return this.buildNode(this.createElement(parentElement)); - } } module.exports = { TestNode: TestNode };