Revision 52515
Added by Claudio Atzori about 6 years ago
modules/dnet-collector-plugins/trunk/src/test/java/eu/dnetlib/data/collector/plugins/HTTPWithFileName/HTTPWithFileNameTest.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.data.collector.plugins.HTTPWithFileName; |
2 | 2 |
import java.util.Iterator; |
3 | 3 |
|
4 |
import org.json.JSONObject; |
|
5 |
import org.json.XML; |
|
6 | 4 |
import org.junit.Ignore; |
7 | 5 |
import org.junit.Test; |
8 | 6 |
|
... | ... | |
10 | 8 |
/** |
11 | 9 |
* Created by miriam on 07/05/2018. |
12 | 10 |
*/ |
11 |
@Ignore |
|
13 | 12 |
public class HTTPWithFileNameTest { |
14 | 13 |
|
15 | 14 |
private void iterate(Iterator<String> iterator, boolean exit){ |
... | ... | |
98 | 97 |
iterate(rsc.iterator(),true); |
99 | 98 |
} |
100 | 99 |
|
101 |
|
|
102 |
|
|
103 |
@Test |
|
104 |
public void testJsonToXml() { |
|
105 |
System.out.println(XML.toString(new JSONObject("{'resource':{'DOI':'JUNK','url':'asd'}}"))); |
|
106 |
|
|
107 |
} |
|
108 |
|
|
109 | 100 |
} |
Also available in: Unified diff
disabled test