public class AntrunXmlPlexusConfigurationWriterTest extends Object
AntrunXmlPlexusConfigurationWriter
.Constructor and Description |
---|
AntrunXmlPlexusConfigurationWriterTest() |
Modifier and Type | Method and Description |
---|---|
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()
@Test public void testBasic() throws IOException
IOException
- In case of problems@Test public void testEmptyTarget() throws IOException
IOException
- In case of problems@Test public void testCustomTaskPrefix() throws IOException
IOException
- In case of problems@Test public void testCombineAttributes() throws IOException
IOException
- In case of problemsCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.