|
|
|
@ -1,13 +1,13 @@
|
|
|
|
|
package com.tamguo;
|
|
|
|
|
|
|
|
|
|
import com.tamguo.service.IBookService;
|
|
|
|
|
import com.tamguo.service.ISubjectService;
|
|
|
|
|
import org.junit.Test;
|
|
|
|
|
import org.junit.runner.RunWith;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.boot.test.context.SpringBootTest;
|
|
|
|
|
import org.springframework.test.context.junit4.SpringRunner;
|
|
|
|
|
|
|
|
|
|
import com.tamguo.service.IBookService;
|
|
|
|
|
|
|
|
|
|
@RunWith(SpringRunner.class)
|
|
|
|
|
@SpringBootTest
|
|
|
|
|
public class BookCrawler {
|
|
|
|
@ -17,7 +17,7 @@ public class BookCrawler {
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
public void crawlerBook() throws Exception {
|
|
|
|
|
bookService.crawlerBook();
|
|
|
|
|
this.bookService.crawlerBook();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|