Revision 53932
Added by Alessia Bardi over 5 years ago
OaiSetsCollectorPluginTest.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.data.collector.plugins.oaisets; |
2 | 2 |
|
3 | 3 |
import java.util.HashMap; |
4 |
|
|
5 | 4 |
import javax.annotation.Resource; |
6 | 5 |
|
6 |
import com.google.common.base.Joiner; |
|
7 |
import eu.dnetlib.data.collector.rmi.CollectorServiceException; |
|
8 |
import eu.dnetlib.data.collector.rmi.InterfaceDescriptor; |
|
7 | 9 |
import org.junit.Before; |
8 | 10 |
import org.junit.Ignore; |
9 | 11 |
import org.junit.Test; |
... | ... | |
11 | 13 |
import org.springframework.test.context.ContextConfiguration; |
12 | 14 |
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; |
13 | 15 |
|
14 |
import com.google.common.base.Joiner; |
|
15 |
|
|
16 |
import eu.dnetlib.data.collector.rmi.CollectorServiceException; |
|
17 |
import eu.dnetlib.data.collector.rmi.InterfaceDescriptor; |
|
18 |
|
|
19 | 16 |
@RunWith(SpringJUnit4ClassRunner.class) |
20 | 17 |
@ContextConfiguration(value = "applicationContext-OaiSetsCollectorPluginTest.xml") |
21 | 18 |
public class OaiSetsCollectorPluginTest { |
Also available in: Unified diff
Upgrade to commons.net:commons.net 3.6 (from 3.3) and commons-httpclient 4.5.6 (from 3.1).
using HttpConnector where needed.
httpConnector can now return an InputStream and not only a string.