public class AntrunXmlPlexusConfigurationWriterTest extends Object
AntrunXmlPlexusConfigurationWriter
.Constructor and Description |
---|
AntrunXmlPlexusConfigurationWriterTest() |
Modifier and Type | Method and Description |
---|---|
org.junit.rules.TemporaryFolder |
getFolder() |
void |
setUp() |
void |
testBasic()
Tests that the XML file produced with the writer is pretty printed and that basic attributes are kept.
|
void |
testCombineAttributes()
Tests that combine.children and combine.self attributes in the XML configuration elements are ignored during
serialization.
|
void |
testCustomTaskPrefix()
Tests that setting a custom prefix ends up in the project namespace in the target element with the correct name.
|
void |
testEmptyTarget()
Tests that serialization is correct even if Ant target is empty (no children, no attributes except name).
|
public AntrunXmlPlexusConfigurationWriterTest()
public void setUp() throws IOException
IOException
public void testBasic() throws Exception
Exception
public void testEmptyTarget() throws Exception
Exception
public void testCustomTaskPrefix() throws Exception
Exception
public void testCombineAttributes() throws Exception
Exception
public org.junit.rules.TemporaryFolder getFolder()
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.