diff --git a/logs/browserstack-plugin.log b/logs/browserstack-plugin.log new file mode 100644 index 0000000..8c95189 --- /dev/null +++ b/logs/browserstack-plugin.log @@ -0,0 +1,6 @@ +09:50:26.655 [ApplicationImpl pooled thread 1] INFO c.b.l.BrowserStackRunExtension - junit +09:50:26.658 [ApplicationImpl pooled thread 1] INFO com.browserstack.utils.Helpers - null +09:50:26.659 [ApplicationImpl pooled thread 1] INFO c.b.l.BrowserStackRunExtension - Agent path: null +09:51:45.792 [ApplicationImpl pooled thread 3] INFO c.b.l.BrowserStackRunExtension - junit +09:51:45.793 [ApplicationImpl pooled thread 3] INFO com.browserstack.utils.Helpers - null +09:51:45.793 [ApplicationImpl pooled thread 3] INFO c.b.l.BrowserStackRunExtension - Agent path: null diff --git a/src/test/java/com/hendisantika/sekolah/test/ConvertImageTest.java b/src/test/java/com/hendisantika/sekolah/test/ConvertImageTest.java index 591ed8e..9a4a6b8 100644 --- a/src/test/java/com/hendisantika/sekolah/test/ConvertImageTest.java +++ b/src/test/java/com/hendisantika/sekolah/test/ConvertImageTest.java @@ -1,18 +1,22 @@ package com.hendisantika.sekolah.test; -import static org.junit.jupiter.api.Assertions.assertTrue; +import org.apache.commons.codec.binary.Base64; +import org.apache.commons.io.FileUtils; +import org.junit.jupiter.api.Test; +import org.springframework.util.ResourceUtils; +import javax.imageio.ImageIO; import java.awt.image.BufferedImage; -import java.io.*; +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.File; +import java.io.FileInputStream; +import java.io.IOException; import java.util.Objects; import java.util.logging.Level; import java.util.logging.Logger; -import javax.imageio.ImageIO; -import org.apache.commons.codec.binary.Base64; -import org.apache.commons.io.FileUtils; -import org.junit.jupiter.api.Test; -import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.util.ResourceUtils; + +import static org.junit.jupiter.api.Assertions.assertTrue; /** * Created by IntelliJ IDEA. @@ -23,7 +27,6 @@ * Date: 26/03/20 * Time: 18.08 */ -@SpringBootTest class ConvertImageTest { private final String INPUT_FILE_PATH = "ninja.jpeg"; private final String OUTPUT_FILE_PATH = "ninja-test_image_copy.jpeg"; diff --git a/src/test/java/com/hendisantika/sekolah/test/UjiCobaTest.java b/src/test/java/com/hendisantika/sekolah/test/UjiCobaTest.java index e1af0ca..53a612e 100644 --- a/src/test/java/com/hendisantika/sekolah/test/UjiCobaTest.java +++ b/src/test/java/com/hendisantika/sekolah/test/UjiCobaTest.java @@ -3,7 +3,6 @@ import org.jsoup.Jsoup; import org.jsoup.safety.Safelist; import org.junit.jupiter.api.Test; -import org.springframework.boot.test.context.SpringBootTest; /** * Created by IntelliJ IDEA. @@ -14,7 +13,6 @@ * Date: 26/03/20 * Time: 17.06 */ -@SpringBootTest class UjiCobaTest { @Test