diff options
| -rw-r--r-- | src/test/java/HolodexServiceTest.java | 13 | ||||
| -rw-r--r-- | src/test/java/org/example/AppTest.java | 38 |
2 files changed, 13 insertions, 38 deletions
diff --git a/src/test/java/HolodexServiceTest.java b/src/test/java/HolodexServiceTest.java new file mode 100644 index 0000000..a05913e --- /dev/null +++ b/src/test/java/HolodexServiceTest.java @@ -0,0 +1,13 @@ +import com.pina.HolodexService; +import com.pina.LiveStream; +import org.junit.jupiter.api.Test; + +public class HolodexServiceTest { + + @Test + public void testGetLiveStreams() throws Exception { + //TOOD: Implement testcase using mocking + } + + +} diff --git a/src/test/java/org/example/AppTest.java b/src/test/java/org/example/AppTest.java deleted file mode 100644 index d5f435d..0000000 --- a/src/test/java/org/example/AppTest.java +++ /dev/null @@ -1,38 +0,0 @@ -package org.example; - -import junit.framework.Test; -import junit.framework.TestCase; -import junit.framework.TestSuite; - -/** - * Unit test for simple App. - */ -public class AppTest - extends TestCase -{ - /** - * Create the test case - * - * @param testName name of the test case - */ - public AppTest( String testName ) - { - super( testName ); - } - - /** - * @return the suite of tests being tested - */ - public static Test suite() - { - return new TestSuite( AppTest.class ); - } - - /** - * Rigourous Test :-) - */ - public void testApp() - { - assertTrue( true ); - } -} |
