aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPinapelz <donaldshan1@outlook.com>2023-04-04 16:17:05 -0700
committerPinapelz <donaldshan1@outlook.com>2023-04-04 16:17:05 -0700
commit09068c891fbc48a1869f2c7eac365d3d95e0d426 (patch)
tree1a20b3defaa490989662e155711b29cf877d2eb7
parentfb8b80d329c745ada05707c0efc8241709f7a2d8 (diff)
Added testing framework setup
-rw-r--r--src/test/java/HolodexServiceTest.java13
-rw-r--r--src/test/java/org/example/AppTest.java38
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 );
- }
-}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage