Revision 794be65e
Added by Andreas Müller almost 2 years ago
cdmlib-commons/src/test/java/eu/etaxonomy/cdm/common/XmlHelpTest.java | ||
---|---|---|
1 |
/** |
|
2 |
* Copyright (C) 2007 EDIT |
|
3 |
* European Distributed Institute of Taxonomy |
|
4 |
* http://www.e-taxonomy.eu |
|
5 |
* |
|
6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
|
7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
|
8 |
*/ |
|
9 |
|
|
10 |
package eu.etaxonomy.cdm.common; |
|
11 |
|
|
12 |
import static org.junit.Assert.assertTrue; |
|
13 |
|
|
14 |
import org.apache.logging.log4j.LogManager; |
|
15 |
import org.apache.logging.log4j.Logger; |
|
16 |
import org.junit.After; |
|
17 |
import org.junit.AfterClass; |
|
18 |
import org.junit.Before; |
|
19 |
import org.junit.BeforeClass; |
|
20 |
import org.junit.Test; |
|
21 |
|
|
22 |
public class XmlHelpTest { |
|
23 |
private static final Logger logger = LogManager.getLogger(XmlHelpTest.class); |
|
24 |
|
|
25 |
@BeforeClass |
|
26 |
public static void setUpBeforeClass() throws Exception { |
|
27 |
logger.warn("Tests for " + XmlHelpTest.class.getName() + " not yet implemented"); |
|
28 |
} |
|
29 |
|
|
30 |
@AfterClass |
|
31 |
public static void tearDownAfterClass() throws Exception { |
|
32 |
} |
|
33 |
|
|
34 |
@Before |
|
35 |
public void setUp() throws Exception { |
|
36 |
} |
|
37 |
|
|
38 |
@After |
|
39 |
public void tearDown() throws Exception { |
|
40 |
} |
|
41 |
|
|
42 |
/******* TESTS *************************************/ |
|
43 |
|
|
44 |
@Test |
|
45 |
public void testSaveToXmlDocumentStringStringFormat() { |
|
46 |
logger.warn("Not yet implemented"); // TODO |
|
47 |
} |
|
48 |
|
|
49 |
@Test |
|
50 |
public void testSaveToXmlDocumentOutputStreamFormat() { |
|
51 |
logger.warn("Not yet implemented"); // TODO |
|
52 |
assertTrue(true); |
|
53 |
} |
|
54 |
|
|
55 |
@Test |
|
56 |
public void testGetFirstAttributedChild() { |
|
57 |
logger.warn("Not yet implemented"); // TODO |
|
58 |
} |
|
59 |
|
|
60 |
@Test |
|
61 |
public void testGetOrAddChild() { |
|
62 |
logger.warn("Not yet implemented"); // TODO |
|
63 |
} |
|
64 |
|
|
65 |
@Test |
|
66 |
public void testInsertXmlRefProperty() { |
|
67 |
logger.warn("Not yet implemented"); // TODO |
|
68 |
} |
|
69 |
|
|
70 |
@Test |
|
71 |
public void testInsertXmlValueProperty() { |
|
72 |
logger.warn("Not yet implemented"); // TODO |
|
73 |
} |
|
74 |
|
|
75 |
@Test |
|
76 |
public void testInsertXmlBean() { |
|
77 |
logger.warn("Not yet implemented"); // TODO |
|
78 |
} |
|
79 |
|
|
80 |
@Test |
|
81 |
public void testGetRoot() { |
|
82 |
logger.warn("Not yet implemented"); // TODO |
|
83 |
} |
|
84 |
|
|
85 |
} |
|
1 |
/** |
|
2 |
* Copyright (C) 2007 EDIT |
|
3 |
* European Distributed Institute of Taxonomy |
|
4 |
* http://www.e-taxonomy.eu |
|
5 |
* |
|
6 |
* The contents of this file are subject to the Mozilla Public License Version 1.1 |
|
7 |
* See LICENSE.TXT at the top of this package for the full license terms. |
|
8 |
*/ |
|
9 |
package eu.etaxonomy.cdm.common; |
|
10 |
|
|
11 |
import static org.junit.Assert.assertTrue; |
|
12 |
|
|
13 |
import org.apache.logging.log4j.LogManager; |
|
14 |
import org.apache.logging.log4j.Logger; |
|
15 |
import org.junit.After; |
|
16 |
import org.junit.AfterClass; |
|
17 |
import org.junit.Before; |
|
18 |
import org.junit.BeforeClass; |
|
19 |
import org.junit.Test; |
|
20 |
|
|
21 |
public class XmlHelpTest { |
|
22 |
|
|
23 |
private static final Logger logger = LogManager.getLogger(); |
|
24 |
|
|
25 |
@BeforeClass |
|
26 |
public static void setUpBeforeClass() throws Exception { |
|
27 |
logger.warn("Tests for " + XmlHelpTest.class.getName() + " not yet implemented"); |
|
28 |
} |
|
29 |
|
|
30 |
@AfterClass |
|
31 |
public static void tearDownAfterClass() throws Exception { |
|
32 |
} |
|
33 |
|
|
34 |
@Before |
|
35 |
public void setUp() throws Exception { |
|
36 |
} |
|
37 |
|
|
38 |
@After |
|
39 |
public void tearDown() throws Exception { |
|
40 |
} |
|
41 |
|
|
42 |
/******* TESTS *************************************/ |
|
43 |
|
|
44 |
@Test |
|
45 |
public void testSaveToXmlDocumentStringStringFormat() { |
|
46 |
logger.warn("Not yet implemented"); // TODO |
|
47 |
} |
|
48 |
|
|
49 |
@Test |
|
50 |
public void testSaveToXmlDocumentOutputStreamFormat() { |
|
51 |
logger.warn("Not yet implemented"); // TODO |
|
52 |
assertTrue(true); |
|
53 |
} |
|
54 |
|
|
55 |
@Test |
|
56 |
public void testGetFirstAttributedChild() { |
|
57 |
logger.warn("Not yet implemented"); // TODO |
|
58 |
} |
|
59 |
|
|
60 |
@Test |
|
61 |
public void testGetOrAddChild() { |
|
62 |
logger.warn("Not yet implemented"); // TODO |
|
63 |
} |
|
64 |
|
|
65 |
@Test |
|
66 |
public void testInsertXmlRefProperty() { |
|
67 |
logger.warn("Not yet implemented"); // TODO |
|
68 |
} |
|
69 |
|
|
70 |
@Test |
|
71 |
public void testInsertXmlValueProperty() { |
|
72 |
logger.warn("Not yet implemented"); // TODO |
|
73 |
} |
|
74 |
|
|
75 |
@Test |
|
76 |
public void testInsertXmlBean() { |
|
77 |
logger.warn("Not yet implemented"); // TODO |
|
78 |
} |
|
79 |
|
|
80 |
@Test |
|
81 |
public void testGetRoot() { |
|
82 |
logger.warn("Not yet implemented"); // TODO |
|
83 |
} |
|
84 |
|
|
85 |
} |
Also available in: Unified diff
cleanup