TeamServiceTest.java 971 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. package com.izouma.walkchina.service;
  2. import me.chanjar.weixin.common.error.WxErrorException;
  3. import org.junit.Test;
  4. import org.junit.runner.RunWith;
  5. import org.springframework.beans.factory.annotation.Autowired;
  6. import org.springframework.boot.test.context.SpringBootTest;
  7. import org.springframework.test.context.junit4.SpringRunner;
  8. import java.awt.*;
  9. import java.io.IOException;
  10. @RunWith(SpringRunner.class)
  11. @SpringBootTest
  12. public class TeamServiceTest {
  13. @Autowired
  14. private TeamService teamService;
  15. @Test
  16. public void hire() {
  17. }
  18. @Test
  19. public void canHire() {
  20. }
  21. @Test
  22. public void userTeam() {
  23. }
  24. @Test
  25. public void userFriend() {
  26. }
  27. @Test
  28. public void userLeader() {
  29. }
  30. @Test
  31. public void createShareImg() {
  32. try {
  33. teamService.recruitImg(1842L);
  34. } catch (IOException | FontFormatException | WxErrorException e) {
  35. e.printStackTrace();
  36. }
  37. }
  38. }