Revision 52510
Added by Claudio Atzori almost 6 years ago
HTTPWithFileNameTest.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.data.collector.plugins.HTTPWithFileName; |
2 |
import java.util.Iterator; |
|
3 |
|
|
4 |
import org.json.JSONObject; |
|
5 |
import org.json.XML; |
|
2 | 6 |
import org.junit.Ignore; |
3 | 7 |
import org.junit.Test; |
4 |
import java.util.Iterator; |
|
5 | 8 |
|
6 | 9 |
|
7 | 10 |
/** |
... | ... | |
96 | 99 |
} |
97 | 100 |
|
98 | 101 |
|
102 |
|
|
103 |
@Test |
|
104 |
public void testJsonToXml() { |
|
105 |
System.out.println(XML.toString(new JSONObject("{'resource':{'DOI':'JUNK','url':'asd'}}"))); |
|
106 |
|
|
107 |
} |
|
108 |
|
|
99 | 109 |
} |
Also available in: Unified diff
small refactor