diff options
author | seshukm <seshu.kumar.m@huawei.com> | 2017-10-05 19:03:37 +0530 |
---|---|---|
committer | seshukm <seshu.kumar.m@huawei.com> | 2017-10-05 19:03:37 +0530 |
commit | 75653ec22348991abf0a14c561eaef7dec9b67a4 (patch) | |
tree | 138c3bbc083fa04742995d74f66c1e38a2e99d50 /mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/TasksHandlerTest.java | |
parent | 5c2d5ef7c999bf99a08d722f1347cf9518e1affa (diff) |
Adding UT for ApiHandlers
IsuueId: SO-191
Change-Id: Iac92a61eb2692f3793a21097715735501d9954bd
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
Diffstat (limited to 'mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/TasksHandlerTest.java')
-rw-r--r-- | mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/TasksHandlerTest.java | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/TasksHandlerTest.java b/mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/TasksHandlerTest.java new file mode 100644 index 0000000000..4926da77b1 --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/src/test/java/org/openecomp/mso/apihandlerinfra/TasksHandlerTest.java @@ -0,0 +1,39 @@ +/*- + * ============LICENSE_START======================================================= + * ONAP - SO + * ================================================================================ + * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * ================================================================================ + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + */ + +package org.openecomp.mso.apihandlerinfra; + +import static org.junit.Assert.assertTrue; + +import javax.ws.rs.core.Response; + +import org.junit.Test; + +public class TasksHandlerTest { + + TasksHandler handler = new TasksHandler(); + + @Test + public void queryFiltersTest(){ + Response resp = handler.queryFilters("10020", "399495", "test", "nfRole", "buildingBlockName", "originalRequestDate", "originalRequestorId", "v2"); + assertTrue(resp.getEntity().toString() != null); + } + +} |