diff options
author | 2018-03-09 15:02:18 -0500 | |
---|---|---|
committer | 2018-03-09 15:08:14 -0500 | |
commit | 96b5a685d0c3afddb632e4a68ca7483f933b55dc (patch) | |
tree | 246399de05a3d429bf45ef1e5af2b9b0218d99f3 /mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/VfModuleModelNamesHandlerTest.java | |
parent | 4475278c81668109b2b37a1d2720d8f2910641c4 (diff) |
Revert Reduce log noise/warnings
This reverts commit 327b17ab250b4c17cf3f91f5e4cd9bffd89f3d1e.
It is seriously impeding our ability complete the promised merge of AT&T
1802 code.
While I'm all for coding standards, if we are serious about using spaces
instead of tabs, then I think we need to (1) agree with the community when
this will happen, (2) do consistently in all files, and (3) enforce it.
Change-Id: Ib9b996f6b6c7d81ac9ac95d58b0c7d8cc39675ff
Issue-ID: SO-368
Signed-off-by: Rob Daugherty <rd472p@att.com>
Diffstat (limited to 'mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/VfModuleModelNamesHandlerTest.java')
-rw-r--r-- | mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/VfModuleModelNamesHandlerTest.java | 71 |
1 files changed, 35 insertions, 36 deletions
diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/VfModuleModelNamesHandlerTest.java b/mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/VfModuleModelNamesHandlerTest.java index 3991fbd79f..1c3c85653b 100644 --- a/mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/VfModuleModelNamesHandlerTest.java +++ b/mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/VfModuleModelNamesHandlerTest.java @@ -34,42 +34,41 @@ import org.openecomp.mso.db.catalog.beans.VfModule; import org.openecomp.mso.db.catalog.beans.VnfResource; import javax.ws.rs.core.Response; - public class VfModuleModelNamesHandlerTest { - VfModuleModelNamesHandler handler = new VfModuleModelNamesHandler(); - - @Test - public void getVfModuleModelNamesTest() { - Response resp = handler.getVfModuleModelNames("v2"); - assertTrue(resp.getEntity().toString() != null); - } - - @Test - public void getVfModuleModelNamesTest2() { - new MockUp<CatalogDatabase>() { - @Mock - public List<VfModule> getAllVfModules() { - List<VfModule> list = new ArrayList<>(); - VfModule resource = new VfModule(); - list.add(resource); - return list; - } - }; - Response resp = handler.getVfModuleModelNames("v2"); - assertTrue(resp.getEntity().toString() != null); - } - - - @Test - public void getVfModuleModelNamesTest3() { - new MockUp<CatalogDatabase>() { - @Mock - public List<VfModule> getAllVfModules() { - return null; - } - }; - Response resp = handler.getVfModuleModelNames("v2"); - assertTrue(resp.getEntity().toString() != null); - } + VfModuleModelNamesHandler handler = new VfModuleModelNamesHandler(); + + @Test + public void getVfModuleModelNamesTest(){ + Response resp = handler.getVfModuleModelNames("v2"); + assertTrue(resp.getEntity().toString()!= null); + } + + @Test + public void getVfModuleModelNamesTest2(){ + new MockUp<CatalogDatabase>() { + @Mock + public List <VfModule> getAllVfModules(){ + List <VfModule> list = new ArrayList<>(); + VfModule resource = new VfModule(); + list.add(resource); + return list; + } + }; + Response resp = handler.getVfModuleModelNames("v2"); + assertTrue(resp.getEntity().toString()!= null); + } + + + @Test + public void getVfModuleModelNamesTest3(){ + new MockUp<CatalogDatabase>() { + @Mock + public List <VfModule> getAllVfModules(){ + return null; + } + }; + Response resp = handler.getVfModuleModelNames("v2"); + assertTrue(resp.getEntity().toString()!= null); + } } |