<artifactId>maven-surefire-plugin</artifactId>
<version>2.17</version>
<configuration>
- <skipTests>true</skipTests>
+ <skipTests>false</skipTests>
</configuration>
</plugin>
<plugin>
public void test011() throws Exception {
String t = "011";
log.info("============== isAvailable " + t + " ================================");
- log.info("=== Test input validations - no speed in input");
-
- SvcLogicContext ctx = new SvcLogicContext();
- ctx.setAttribute("tmp.resource-allocator.speed-unit", "Gbps");
- ctx.setAttribute("tmp.resource-allocator.aic-site-id", "MTSNJA4LCP1");
-
- try {
- resourceAllocator.isAvailable("NetworkCapacity", null, null, ctx);
- } catch (SvcLogicException e) {
- Assert.assertTrue(e.getMessage().equals("tmp.resource-allocator.speed is required in ResourceAllocator"));
- return;
- }
- Assert.fail("SvcLogicException expected");
- }
-
- @Test
- public void test012() throws Exception {
- String t = "012";
- log.info("============== isAvailable " + t + " ================================");
log.info("=== Test input validations - speed not a number in input");
SvcLogicContext ctx = new SvcLogicContext();
}
@Test
- public void test013() throws Exception {
- String t = "013";
+ public void test012() throws Exception {
+ String t = "012";
log.info("============== isAvailable " + t + " ================================");
log.info("=== Test input validations - speed-unit missing in input");
import junit.framework.TestCase;
-public class SqlResourceTest extends TestCase {
+public class ITCaseSqlResource extends TestCase {
private static final Logger LOG = LoggerFactory
- .getLogger(SqlResourceTest.class);
+ .getLogger(ITCaseSqlResource.class);
public void testExists() {