diff --git a/src/it/saxon/src/test/java/org/xembly/saxon/SaxonSampleTest.java b/src/it/saxon/src/test/java/org/xembly/saxon/SaxonSampleTest.java index a15d505..9fa22d0 100644 --- a/src/it/saxon/src/test/java/org/xembly/saxon/SaxonSampleTest.java +++ b/src/it/saxon/src/test/java/org/xembly/saxon/SaxonSampleTest.java @@ -43,10 +43,6 @@ */ public final class SaxonSampleTest { - /** - * Xembly can build a document. - * @throws Exception If fails - */ @Test public void buildsDocument() throws Exception { MatcherAssert.assertThat( @@ -59,10 +55,6 @@ public void buildsDocument() throws Exception { ); } - /** - * Xembly can apply changes to a node. - * @throws Exception If fails - */ @Test public void appliesChangesToNode() throws Exception { final Node node = new XMLDocument("").node(); diff --git a/src/it/xerces/src/test/java/org/xembly/xerces/XercesSampleTest.java b/src/it/xerces/src/test/java/org/xembly/xerces/XercesSampleTest.java index bcad2f0..c6fc818 100644 --- a/src/it/xerces/src/test/java/org/xembly/xerces/XercesSampleTest.java +++ b/src/it/xerces/src/test/java/org/xembly/xerces/XercesSampleTest.java @@ -43,10 +43,6 @@ */ public final class XercesSampleTest { - /** - * Xembly can build a document. - * @throws Exception If fails - */ @Test public void buildsDocument() throws Exception { MatcherAssert.assertThat( @@ -59,10 +55,6 @@ public void buildsDocument() throws Exception { ); } - /** - * Xembly can apply changes to a node. - * @throws Exception If fails - */ @Test public void appliesChangesToNode() throws Exception { final Node node = new XMLDocument("").node(); diff --git a/src/test/java/org/xembly/AddDirectiveTest.java b/src/test/java/org/xembly/AddDirectiveTest.java index 44f1741..14f8c40 100644 --- a/src/test/java/org/xembly/AddDirectiveTest.java +++ b/src/test/java/org/xembly/AddDirectiveTest.java @@ -42,10 +42,6 @@ */ public final class AddDirectiveTest { - /** - * AddDirective can add nodes to current nodes. - * @throws Exception If some problem inside - */ @Test public void addsNodesToCurrentNodes() throws Exception { final Iterable dirs = new Directives( diff --git a/src/test/java/org/xembly/AddIfDirectiveTest.java b/src/test/java/org/xembly/AddIfDirectiveTest.java index 418e28e..752a2db 100644 --- a/src/test/java/org/xembly/AddIfDirectiveTest.java +++ b/src/test/java/org/xembly/AddIfDirectiveTest.java @@ -44,10 +44,6 @@ */ public final class AddIfDirectiveTest { - /** - * AddIfDirective can add nodes to current nodes. - * @throws Exception If some problem inside - */ @Test public void addsNodesToCurrentNodes() throws Exception { final Iterable dirs = new Directives( @@ -65,11 +61,6 @@ public void addsNodesToCurrentNodes() throws Exception { ); } - /** - * AddIfDirective can add node to a node. - * @throws Exception If some problem inside - * @since 0.15.2 - */ @Test public void addsDomNodesDirectly() throws Exception { final Document dom = DocumentBuilderFactory.newInstance() diff --git a/src/test/java/org/xembly/ArgTest.java b/src/test/java/org/xembly/ArgTest.java index 71998fc..29a8412 100644 --- a/src/test/java/org/xembly/ArgTest.java +++ b/src/test/java/org/xembly/ArgTest.java @@ -41,10 +41,6 @@ */ public final class ArgTest { - /** - * Arg can escape and unescape. - * @throws Exception If some problem inside - */ @Test @SuppressWarnings("PMD.AvoidInstantiatingObjectsInLoops") public void escapesAndUnescaped() throws Exception { @@ -62,9 +58,6 @@ public void escapesAndUnescaped() throws Exception { } } - /** - * Arg can reject to escape invalid text. - */ @Test public void rejectsToEscapeInvalidXmlChars() { Assertions.assertThrows( @@ -73,9 +66,6 @@ public void rejectsToEscapeInvalidXmlChars() { ); } - /** - * Arg can reject to unescape invalid text. - */ @Test public void rejectsToUnEscapeInvalidXmlChars() { Assertions.assertThrows( diff --git a/src/test/java/org/xembly/AttrDirectiveTest.java b/src/test/java/org/xembly/AttrDirectiveTest.java index e553eeb..9644ae6 100644 --- a/src/test/java/org/xembly/AttrDirectiveTest.java +++ b/src/test/java/org/xembly/AttrDirectiveTest.java @@ -45,10 +45,6 @@ */ public final class AttrDirectiveTest { - /** - * AttrDirective can add nodes to current nodes. - * @throws Exception If some problem inside - */ @Test public void addsAttributesToCurrentNodes() throws Exception { final Iterable dirs = new Directives( @@ -71,11 +67,6 @@ public void addsAttributesToCurrentNodes() throws Exception { ); } - /** - * AttrDirective can add attribute to node. - * @throws Exception If some problem inside - * @since 0.7 - */ @Test public void addsDomAttributesDirectly() throws Exception { final Document dom = DocumentBuilderFactory.newInstance() @@ -96,11 +87,6 @@ public void addsDomAttributesDirectly() throws Exception { ); } - /** - * AttrDirective can add case-sensitive attributes. - * @throws Exception If some problem inside - * @since 0.16.1 - */ @Test public void addsCaseSensitiveAttributesDirectly() throws Exception { final Document dom = DocumentBuilderFactory.newInstance() diff --git a/src/test/java/org/xembly/CommentDirectiveTest.java b/src/test/java/org/xembly/CommentDirectiveTest.java index c7656e6..44110e7 100644 --- a/src/test/java/org/xembly/CommentDirectiveTest.java +++ b/src/test/java/org/xembly/CommentDirectiveTest.java @@ -42,10 +42,6 @@ */ public final class CommentDirectiveTest { - /** - * CommentDirective can add a comment. - * @throws Exception If some problem inside - */ @Test public void addsComment() throws Exception { final Iterable dirs = new Directives( diff --git a/src/test/java/org/xembly/DirectivesTest.java b/src/test/java/org/xembly/DirectivesTest.java index b2d1172..22c7ea0 100644 --- a/src/test/java/org/xembly/DirectivesTest.java +++ b/src/test/java/org/xembly/DirectivesTest.java @@ -52,10 +52,6 @@ @SuppressWarnings({"PMD.TooManyMethods", "PMD.AvoidDuplicateLiterals"}) public final class DirectivesTest { - /** - * Directives can make an XML document. - * @throws Exception If some problem inside - */ @Test public void makesXmlDocument() throws Exception { MatcherAssert.assertThat( @@ -76,10 +72,6 @@ public void makesXmlDocument() throws Exception { ); } - /** - * Directives can parse xembly grammar. - * @throws Exception If some problem inside - */ @Test public void parsesIncomingGrammar() throws Exception { final Iterable dirs = new Directives( @@ -88,9 +80,6 @@ public void parsesIncomingGrammar() throws Exception { MatcherAssert.assertThat(dirs, Matchers.iterableWithSize(2)); } - /** - * Directives can throw when grammar is broken. - */ @Test public void throwsOnBrokenGrammar() { Assertions.assertThrows( @@ -99,9 +88,6 @@ public void throwsOnBrokenGrammar() { ); } - /** - * Directives can throw when XML content is broken. - */ @Test public void throwsOnBrokenXmlContent() { Assertions.assertThrows( @@ -110,9 +96,6 @@ public void throwsOnBrokenXmlContent() { ); } - /** - * Directives can throw when escaped XML content is broken. - */ @Test public void throwsOnBrokenEscapedXmlContent() { Assertions.assertThrows( @@ -121,11 +104,6 @@ public void throwsOnBrokenEscapedXmlContent() { ); } - /** - * Directives can add map of values. - * @throws Exception If some problem inside - * @since 0.8 - */ @Test public void addsMapOfValues() throws Exception { final Document dom = DocumentBuilderFactory.newInstance() @@ -148,10 +126,6 @@ public void addsMapOfValues() throws Exception { ); } - /** - * Directives can ignore empty input. - * @throws Exception If some problem inside - */ @Test public void ingoresEmptyInput() throws Exception { MatcherAssert.assertThat( @@ -160,10 +134,6 @@ public void ingoresEmptyInput() throws Exception { ); } - /** - * Directives can build a correct modification programme. - * @throws Exception If some problem inside - */ @Test public void performsFullScaleModifications() throws Exception { final String script = new Directives() @@ -185,11 +155,6 @@ public void performsFullScaleModifications() throws Exception { ); } - /** - * Directives can copy an existing node. - * @throws Exception If some problem inside - * @since 0.13 - */ @Test public void copiesExistingNode() throws Exception { final Document dom = DocumentBuilderFactory.newInstance() @@ -217,11 +182,6 @@ public void copiesExistingNode() throws Exception { ); } - /** - * Appends an existing node. - * @throws Exception If some problem inside - * @since 1.0 - */ @Test public void appendsExistingNode() throws Exception { final Document dom = DocumentBuilderFactory.newInstance() @@ -247,11 +207,6 @@ public void appendsExistingNode() throws Exception { ); } - /** - * Directives can understand case. - * @throws Exception If some problem inside - * @since 0.14.1 - */ @Test public void addsElementsCaseSensitively() throws Exception { MatcherAssert.assertThat( @@ -263,11 +218,6 @@ public void addsElementsCaseSensitively() throws Exception { ); } - /** - * Directives can convert to string. - * @throws Exception If some problem inside - * @since 0.15.2 - */ @Test public void convertsToString() throws Exception { final Directives dirs = new Directives(); @@ -284,10 +234,6 @@ public void convertsToString() throws Exception { ); } - /** - * Directives can push and pop. - * @throws Exception If some problem inside - */ @Test public void pushesAndPopsCursor() throws Exception { MatcherAssert.assertThat( @@ -309,10 +255,6 @@ public void pushesAndPopsCursor() throws Exception { ); } - /** - * Directives can use namespaces. - * @throws Exception If some problem inside - */ @Test public void prefixesItemsWithNamespaces() throws Exception { MatcherAssert.assertThat( @@ -326,10 +268,6 @@ public void prefixesItemsWithNamespaces() throws Exception { ); } - /** - * Directives can accept directives from multiple threads. - * @throws Exception If some problem inside - */ @Test @Disabled public void acceptsFromMultipleThreads() throws Exception { @@ -353,10 +291,6 @@ public Void call() throws Exception { ); } - /** - * Directives can add comments. - * @throws Exception If some problem inside - */ @Test public void addsComments() throws Exception { MatcherAssert.assertThat( @@ -369,10 +303,6 @@ public void addsComments() throws Exception { ); } - /** - * Directives can append. - * @throws Exception If some problem inside - */ @Test public void appendsDirs() throws Exception { MatcherAssert.assertThat( diff --git a/src/test/java/org/xembly/DomStackTest.java b/src/test/java/org/xembly/DomStackTest.java index 0de2a99..b17386d 100644 --- a/src/test/java/org/xembly/DomStackTest.java +++ b/src/test/java/org/xembly/DomStackTest.java @@ -42,10 +42,6 @@ */ public final class DomStackTest { - /** - * DomStack can push and pop. - * @throws Exception If some problem inside - */ @Test public void addsAndRetrieves() throws Exception { final Directive.Stack stack = new DomStack(); @@ -63,10 +59,6 @@ public void addsAndRetrieves() throws Exception { ); } - /** - * DomStack throws ImpossibleModificationException when - * trying to pop an empty stack. - */ @Test public void throwsExceptionOnEmpty() { Assertions.assertThrows( diff --git a/src/test/java/org/xembly/NsDirectiveTest.java b/src/test/java/org/xembly/NsDirectiveTest.java index edfa795..92358ac 100644 --- a/src/test/java/org/xembly/NsDirectiveTest.java +++ b/src/test/java/org/xembly/NsDirectiveTest.java @@ -44,10 +44,6 @@ * @checkstyle MultipleStringLiteralsCheck (500 lines) */ public final class NsDirectiveTest { - /** - * Verifies that NsDirective appends a namespace to a node. - * @throws Exception Thrown in case of an error. - */ @Test public void setsNsAttr() throws Exception { final Document dom = DocumentBuilderFactory.newInstance() diff --git a/src/test/java/org/xembly/PiDirectiveTest.java b/src/test/java/org/xembly/PiDirectiveTest.java index fe77a3b..610e051 100644 --- a/src/test/java/org/xembly/PiDirectiveTest.java +++ b/src/test/java/org/xembly/PiDirectiveTest.java @@ -45,10 +45,6 @@ */ public final class PiDirectiveTest { - /** - * PiDirective can add processing instructions to current DOM. - * @throws Exception If some problem inside - */ @Test public void addsProcessingInstructionsToDom() throws Exception { final Iterable dirs = new Directives( @@ -72,10 +68,6 @@ public void addsProcessingInstructionsToDom() throws Exception { ); } - /** - * PiDirective can add processing instructions to DOM. - * @throws Exception If some problem inside - */ @Test public void addsProcessingInstructionsDirectlyToDom() throws Exception { final Document dom = DocumentBuilderFactory.newInstance() @@ -92,10 +84,6 @@ public void addsProcessingInstructionsDirectlyToDom() throws Exception { ); } - /** - * PiDirective can add processing instructions to root. - * @throws Exception If some problem inside - */ @Test public void addsProcessingInstructionsToDomRoot() throws Exception { final Iterable dirs = new Directives( @@ -112,10 +100,6 @@ public void addsProcessingInstructionsToDomRoot() throws Exception { ); } - /** - * PiDirective can prepend processing instruction. - * @throws Exception If some problem inside - */ @Test public void prependsProcessingInstructionsToDomRoot() throws Exception { MatcherAssert.assertThat( diff --git a/src/test/java/org/xembly/RemoveDirectiveTest.java b/src/test/java/org/xembly/RemoveDirectiveTest.java index 2209662..baf4aeb 100644 --- a/src/test/java/org/xembly/RemoveDirectiveTest.java +++ b/src/test/java/org/xembly/RemoveDirectiveTest.java @@ -45,10 +45,6 @@ */ public final class RemoveDirectiveTest { - /** - * RemoveDirective can remove nodes. - * @throws Exception If some problem inside - */ @Test public void removesCurrentNodes() throws Exception { final Iterable dirs = new Directives( @@ -71,11 +67,6 @@ public void removesCurrentNodes() throws Exception { ); } - /** - * RemoveDirective can remove nodes. - * @throws Exception If some problem inside - * @since 0.7 - */ @Test public void removesDomNodesDirectly() throws Exception { final Document dom = DocumentBuilderFactory.newInstance() diff --git a/src/test/java/org/xembly/SetDirectiveTest.java b/src/test/java/org/xembly/SetDirectiveTest.java index 874b9ef..f08d633 100644 --- a/src/test/java/org/xembly/SetDirectiveTest.java +++ b/src/test/java/org/xembly/SetDirectiveTest.java @@ -46,10 +46,6 @@ */ public final class SetDirectiveTest { - /** - * SetDirective can set text content of nodes. - * @throws Exception If some problem inside - */ @Test public void setsTextContentOfNodes() throws Exception { final Iterable dirs = new Directives( @@ -71,9 +67,6 @@ public void setsTextContentOfNodes() throws Exception { ); } - /** - * SetDirective can reject invalid content. - */ @Test public void rejectsContentWithInvalidXmlCharacters() { Assertions.assertThrows( @@ -82,11 +75,6 @@ public void rejectsContentWithInvalidXmlCharacters() { ); } - /** - * SetDirective can set text content of nodes. - * @throws Exception If some problem inside - * @since 0.7 - */ @Test public void setsTextDirectlyIntoDomNodes() throws Exception { final Document dom = DocumentBuilderFactory.newInstance() diff --git a/src/test/java/org/xembly/StrictDirectiveTest.java b/src/test/java/org/xembly/StrictDirectiveTest.java index 8b35e2a..f242bd7 100644 --- a/src/test/java/org/xembly/StrictDirectiveTest.java +++ b/src/test/java/org/xembly/StrictDirectiveTest.java @@ -44,10 +44,6 @@ */ public final class StrictDirectiveTest { - /** - * StrictDirective can check the number of current nodes. - * @throws Exception If some problem inside - */ @Test public void checksNumberOfCurrentNodes() throws Exception { final Iterable dirs = new Directives( @@ -68,9 +64,6 @@ public void checksNumberOfCurrentNodes() throws Exception { ); } - /** - * StrictDirective can fail when number of current nodes is too big. - */ @Test public void failsWhenNumberOfCurrentNodesIsTooBig() { Assertions.assertThrows( @@ -87,9 +80,6 @@ public void failsWhenNumberOfCurrentNodesIsTooBig() { ); } - /** - * StrictDirective can fail when number of current nodes is zero. - */ @Test public void failsWhenNumberOfCurrentNodesIsZero() { Assertions.assertThrows( @@ -106,9 +96,6 @@ public void failsWhenNumberOfCurrentNodesIsZero() { ); } - /** - * StrictDirective can fail when number of current nodes is too small. - */ @Test public void failsWhenNumberOfCurrentNodesIsTooSmall() { Assertions.assertThrows( diff --git a/src/test/java/org/xembly/SyntaxExceptionTest.java b/src/test/java/org/xembly/SyntaxExceptionTest.java index e6c307b..c1c603d 100644 --- a/src/test/java/org/xembly/SyntaxExceptionTest.java +++ b/src/test/java/org/xembly/SyntaxExceptionTest.java @@ -40,9 +40,6 @@ */ public final class SyntaxExceptionTest { - /** - * SyntaxException can be instantiated. - */ @Test public void instantiatesException() { MatcherAssert.assertThat( diff --git a/src/test/java/org/xembly/UpDirectiveTest.java b/src/test/java/org/xembly/UpDirectiveTest.java index 2724eee..75446ba 100644 --- a/src/test/java/org/xembly/UpDirectiveTest.java +++ b/src/test/java/org/xembly/UpDirectiveTest.java @@ -43,10 +43,6 @@ */ public final class UpDirectiveTest { - /** - * UpDirective can find parents and move to them. - * @throws Exception If some problem inside - */ @Test public void jumpsToParentsWhenTheyExist() throws Exception { final Iterable dirs = new Directives( @@ -61,9 +57,6 @@ public void jumpsToParentsWhenTheyExist() throws Exception { ); } - /** - * UpDirective can throw when there are no parents. - */ @Test public void throwsWhenNoParents() { Assertions.assertThrows( diff --git a/src/test/java/org/xembly/XattrDirectiveTest.java b/src/test/java/org/xembly/XattrDirectiveTest.java index 08ff27d..debae42 100644 --- a/src/test/java/org/xembly/XattrDirectiveTest.java +++ b/src/test/java/org/xembly/XattrDirectiveTest.java @@ -43,10 +43,6 @@ */ public final class XattrDirectiveTest { - /** - * XattrDirective can set attributes to current nodes. - * @throws Exception If some problem inside - */ @Test public void setsAttributesToCurrentNodes() throws Exception { final Iterable dirs = new Directives( diff --git a/src/test/java/org/xembly/XemblerTest.java b/src/test/java/org/xembly/XemblerTest.java index 64fefb4..d0d751b 100644 --- a/src/test/java/org/xembly/XemblerTest.java +++ b/src/test/java/org/xembly/XemblerTest.java @@ -55,10 +55,6 @@ @SuppressWarnings("PMD.TooManyMethods") public final class XemblerTest { - /** - * Xembler can change DOM document. - * @throws Exception If some problem inside - */ @Test public void makesChangesToDomDocument() throws Exception { final Document dom = DocumentBuilderFactory.newInstance() @@ -83,10 +79,6 @@ public void makesChangesToDomDocument() throws Exception { ); } - /** - * Xembler can change DOM document from builder. - * @throws Exception If some problem inside - */ @Test public void makesChangesToDomDocumentFromBuilder() throws Exception { final Document dom = DocumentBuilderFactory.newInstance() @@ -117,10 +109,6 @@ public void makesChangesToDomDocumentFromBuilder() throws Exception { ); } - /** - * Xembler can print XML. - * @throws Exception If some problem inside - */ @Test public void printsXmlDocument() throws Exception { MatcherAssert.assertThat( @@ -131,10 +119,6 @@ public void printsXmlDocument() throws Exception { ); } - /** - * Xembler can show XML declaration line. - * @throws Exception If some problem inside - */ @Test public void rendersXmlDeclaration() throws Exception { MatcherAssert.assertThat( @@ -143,11 +127,6 @@ public void rendersXmlDeclaration() throws Exception { ); } - /** - * Xembler can escape broken text. - * @throws Exception If some problem inside - * @since 0.14 - */ @Test public void escapesBrokenText() throws Exception { MatcherAssert.assertThat( @@ -156,10 +135,6 @@ public void escapesBrokenText() throws Exception { ); } - /** - * Xembler can modify a cloned node. - * @throws Exception If some problem inside - */ @Test public void modifiesClonedNode() throws Exception { final Node node = new XMLDocument("").node().cloneNode(true); @@ -170,10 +145,6 @@ public void modifiesClonedNode() throws Exception { ); } - /** - * Xembler can remove root node and add a new one. - * @throws Exception If some problem inside - */ @Test public void replacesRootNode() throws Exception { final Node node = new XMLDocument("").node(); @@ -184,10 +155,6 @@ public void replacesRootNode() throws Exception { ); } - /** - * Xembler can remove attribute node. - * @throws Exception If some problem inside - */ @Test public void removesAttribute() throws Exception { final Node node = new XMLDocument("").node(); @@ -204,10 +171,6 @@ public void removesAttribute() throws Exception { ); } - /** - * Xembler can remove root node. - * @throws Exception If some problem inside - */ @Test public void removesRootNode() throws Exception { final Node node = new XMLDocument("").node(); @@ -220,19 +183,6 @@ public void removesRootNode() throws Exception { ); } - /** - * Test that concurrent invocations on shared DOM. - * doesn't ruin executing thread - * @todo #34 - * I assumed that Xembler should be a thread-safe and - * this test must pass, but this assumption might be wrong and - * this test case is not an issue. - * Modify int capacity to play with results: - * case 1: change capacity to 1 to get test work within 1 thread - * case 2: change capacity to any positive number greater than 1 - * to get test broken - * @throws Exception If some problem inside - */ @Test @Disabled public void concurrentInvocationWithNoExceptions() throws Exception { diff --git a/src/test/java/org/xembly/XpathDirectiveTest.java b/src/test/java/org/xembly/XpathDirectiveTest.java index a3d7db0..5912922 100644 --- a/src/test/java/org/xembly/XpathDirectiveTest.java +++ b/src/test/java/org/xembly/XpathDirectiveTest.java @@ -47,10 +47,6 @@ */ public final class XpathDirectiveTest { - /** - * XpathDirective can find nodes. - * @throws Exception If some problem inside - */ @Test public void findsNodesWithXpathExpression() throws Exception { final Iterable dirs = new Directives( @@ -73,10 +69,6 @@ public void findsNodesWithXpathExpression() throws Exception { ); } - /** - * XpathDirective can ignore empty searches. - * @throws Exception If some problem inside - */ @Test public void ignoresEmptySearches() throws Exception { final Iterable dirs = new Directives( @@ -92,11 +84,6 @@ public void ignoresEmptySearches() throws Exception { ); } - /** - * XpathDirective can find nodes by XPath. - * @throws Exception If some problem inside - * @since 0.7 - */ @Test public void findsNodesByXpathDirectly() throws Exception { final Document dom = DocumentBuilderFactory.newInstance() @@ -117,10 +104,6 @@ public void findsNodesByXpathDirectly() throws Exception { ); } - /** - * XpathDirective can find nodes in empty DOM. - * @throws Exception If some problem inside - */ @Test public void findsNodesInEmptyDom() throws Exception { final Document dom = DocumentBuilderFactory.newInstance() @@ -135,10 +118,6 @@ public void findsNodesInEmptyDom() throws Exception { ); } - /** - * XpathDirective can find root in cloned document. - * @throws Exception If some problem inside - */ @Test public void findsRootInClonedNode() throws Exception { final Iterable dirs = new Directives( diff --git a/src/test/java/org/xembly/XsetDirectiveTest.java b/src/test/java/org/xembly/XsetDirectiveTest.java index f867185..7bde449 100644 --- a/src/test/java/org/xembly/XsetDirectiveTest.java +++ b/src/test/java/org/xembly/XsetDirectiveTest.java @@ -45,10 +45,6 @@ */ public final class XsetDirectiveTest { - /** - * XsetDirective can set text content of nodes. - * @throws Exception If some problem inside - */ @Test public void setsTextContentOfNodes() throws Exception { final Iterable dirs = new Directives( @@ -73,11 +69,6 @@ public void setsTextContentOfNodes() throws Exception { ); } - /** - * XsetDirective can set text content of nodes. - * @throws Exception If some problem inside - * @since 0.7 - */ @Test public void setsTextDirectlyIntoDomNodes() throws Exception { final Document dom = DocumentBuilderFactory.newInstance() diff --git a/src/test/java/org/xembly/prof/DirectivesProfTest.java b/src/test/java/org/xembly/prof/DirectivesProfTest.java index e4bd814..d1afcee 100644 --- a/src/test/java/org/xembly/prof/DirectivesProfTest.java +++ b/src/test/java/org/xembly/prof/DirectivesProfTest.java @@ -43,10 +43,6 @@ @Loggable public final class DirectivesProfTest { - /** - * Directives can parse long program. - * @throws Exception If some problem inside - */ @Test @SuppressWarnings("PMD.InsufficientStringBufferDeclaration") public void parsesLongProgram() throws Exception { diff --git a/src/test/java/org/xembly/prof/XemblerProfTest.java b/src/test/java/org/xembly/prof/XemblerProfTest.java index 80e2e3f..e67aecb 100644 --- a/src/test/java/org/xembly/prof/XemblerProfTest.java +++ b/src/test/java/org/xembly/prof/XemblerProfTest.java @@ -46,10 +46,6 @@ @Loggable public final class XemblerProfTest { - /** - * Xembler can modify DOM. - * @throws Exception If some problem inside - */ @Test @SuppressWarnings("PMD.InsufficientStringBufferDeclaration") public void modifiesDom() throws Exception {