Change 2 sli/core unit tests to int. tests
authorMarcus G K Williams <marcus.williams@intel.com>
Mon, 28 Aug 2017 20:48:06 +0000 (13:48 -0700)
committerMarcus G K Williams <marcus.williams@intel.com>
Mon, 28 Aug 2017 20:51:56 +0000 (13:51 -0700)
Change SvcLogicGraphExecutorTest and
SvcLogicParserTest to IT Tests because
they require outside dependencies (sql database).
This change enables running jobs without
skipping tests and futher enables SONAR scans
of unit tests.

Issue-Id: CCSDK-67
Change-Id: I74184b2f2d8cb5fcc7b065c3e2e859b85dd1630b
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
sli/common/src/test/java/org/onap/ccsdk/sli/core/sli/ITCaseSvcLogicParser.java [moved from sli/common/src/test/java/org/onap/ccsdk/sli/core/sli/SvcLogicParserTest.java with 98% similarity]
sli/provider/src/test/java/org/onap/ccsdk/sli/core/sli/provider/ITCaseSvcLogicGraphExecutor.java [moved from sli/provider/src/test/java/org/onap/ccsdk/sli/core/sli/provider/SvcLogicGraphExecutorTest.java with 99% similarity]

@@ -41,7 +41,7 @@ import junit.framework.TestCase;
  * @author dt5972
  *
  */
-public class SvcLogicParserTest extends TestCase {
+public class ITCaseSvcLogicParser extends TestCase {
 
        /**
         * Test method for {@link org.onap.ccsdk.sli.core.sli.SvcLogicParser#parse(java.lang.String)}.
@@ -64,7 +64,7 @@ import org.slf4j.LoggerFactory;
 
 import junit.framework.TestCase;
 
-public class SvcLogicGraphExecutorTest extends TestCase {
+public class ITCaseSvcLogicGraphExecutor extends TestCase {
        private static final Logger LOG = LoggerFactory
                        .getLogger(SvcLogicGraph.class);