| | |
| | | import com.yeshi.buwan.service.manager.SolrAlbumDataManager; |
| | | import org.junit.Test; |
| | | import org.junit.runner.RunWith; |
| | | import org.springframework.data.solr.server.support.HttpSolrClientFactory; |
| | | import org.springframework.data.solr.server.support.HttpSolrClientFactoryBean; |
| | | import org.springframework.test.context.ContextConfiguration; |
| | | import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; |
| | | import org.springframework.test.context.web.WebAppConfiguration; |
| | |
| | | @Test |
| | | public void addSolrAlbum() { |
| | | solrDataManager.syncAlbum("8224447"); |
| | | |
| | | HttpSolrClientFactory factory=new HttpSolrClientFactory(); |
| | | |
| | | } |
| | | |
| | | |