Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* Test class for {@link AntrunXmlPlexusConfigurationWriter}.
* @author gboue
*/
public class AntrunXmlPlexusConfigurationWriterTest {
class AntrunXmlPlexusConfigurationWriterTest {

private static final String TARGET_NAME = "main";

Expand All @@ -64,7 +64,7 @@ void setUp() throws IOException {
* @throws IOException In case of problems
*/
@Test
public void testBasic() throws IOException {
void basic() throws Exception {
configuration.getChild("echo", true).setAttribute("message", "Hello");
configurationWriter.write(configuration, file, "", TARGET_NAME);
assertXmlIsExpected("/configuration-writer/basic.xml", file);
Expand All @@ -76,7 +76,7 @@ public void testBasic() throws IOException {
* @throws IOException In case of problems
*/
@Test
public void testEmptyTarget() throws IOException {
void emptyTarget() throws Exception {
configurationWriter.write(configuration, file, "", TARGET_NAME);
assertXmlIsExpected("/configuration-writer/empty-target.xml", file);
}
Expand All @@ -87,7 +87,7 @@ public void testEmptyTarget() throws IOException {
* @throws IOException In case of problems
*/
@Test
public void testCustomTaskPrefix() throws IOException {
void customTaskPrefix() throws Exception {
PlexusConfiguration child = configuration.getChild("mvn:foo", true);
child.setAttribute("attr1", "val1");
child.setValue("The first value.");
Expand All @@ -105,7 +105,7 @@ public void testCustomTaskPrefix() throws IOException {
* @throws IOException In case of problems
*/
@Test
public void testCombineAttributes() throws IOException {
void combineAttributes() throws Exception {
configuration.setAttribute("combine.children", "append");
configuration.setAttribute("description", "foo");
configuration.getChild("child", true).setAttribute("combine.self", "override");
Expand Down