Newer
Older
adjustgpx-core / test / osm / jp / gpx / RestampTest.java
@haya4 haya4 on 18 Aug 2019 1 KB Java11 - AdjustTime2
  1. package osm.jp.gpx;
  2.  
  3. import org.junit.After;
  4. import org.junit.AfterClass;
  5. import org.junit.Before;
  6. import org.junit.BeforeClass;
  7. import org.junit.Test;
  8. import static org.junit.Assert.*;
  9.  
  10. /**
  11. *
  12. * @author yuu
  13. */
  14. public class RestampTest {
  15. public RestampTest() {
  16. }
  17. @BeforeClass
  18. public static void setUpClass() {
  19. }
  20. @AfterClass
  21. public static void tearDownClass() {
  22. }
  23. @Before
  24. public void setUp() {
  25. }
  26. @After
  27. public void tearDown() {
  28. }
  29.  
  30. /**
  31. * Test of main method, of class Restamp.
  32. */
  33. @Test
  34. public void testMain() {
  35. try {
  36. System.out.println("main");
  37. String[] argv = new String[]{
  38. "/home/yuu/Desktop/OSM/20180325_横浜新道/img",
  39. "000033.jpg",
  40. "2018-03-25_12:20:32",
  41. "003752.jpg",
  42. "2018-03-25_13:22:42"
  43. };
  44. Restamp.main(argv);
  45. }
  46. catch (Exception e) {
  47. fail();
  48. }
  49. }
  50.  
  51. }