Skip to content

Commit

Permalink
Bug Fix Unit Test & Integration Test βœοΈπŸ“— :octocat: πŸ³β¬†
Browse files Browse the repository at this point in the history
  • Loading branch information
hendisantika committed Apr 15, 2024
1 parent 3928f6c commit 617cfd4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
6 changes: 6 additions & 0 deletions logs/browserstack-plugin.log
Original file line number Diff line number Diff line change
@@ -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
21 changes: 12 additions & 9 deletions src/test/java/com/hendisantika/sekolah/test/ConvertImageTest.java
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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";
Expand Down
2 changes: 0 additions & 2 deletions src/test/java/com/hendisantika/sekolah/test/UjiCobaTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -14,7 +13,6 @@
* Date: 26/03/20
* Time: 17.06
*/
@SpringBootTest
class UjiCobaTest {

@Test
Expand Down

0 comments on commit 617cfd4

Please sign in to comment.