blob: 2f7d7593cc023d322abd90a5985997273d2b48bf [file] [log] [blame]
Bharat saraswalf38e2262015-11-18 22:57:05 +05301/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2015-present Open Networking Foundation
Bharat saraswalf38e2262015-11-18 22:57:05 +05303 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.vtnweb.resources;
17
Jian Li9d616492016-03-09 10:52:49 -080018import org.glassfish.jersey.server.ResourceConfig;
Ray Milkey7c251822016-04-06 17:38:25 -070019import org.onosproject.rest.resources.ResourceTest;
Bharat saraswalf38e2262015-11-18 22:57:05 +053020
21/**
22 * Base class for VTN REST API tests. Performs common configuration operations.
23 */
Ray Milkey7c251822016-04-06 17:38:25 -070024public class VtnResourceTest extends ResourceTest {
Bharat saraswalf38e2262015-11-18 22:57:05 +053025
26 /**
Jian Li9d616492016-03-09 10:52:49 -080027 * Creates a new web-resource test.
Bharat saraswalf38e2262015-11-18 22:57:05 +053028 */
Jian Li9d616492016-03-09 10:52:49 -080029 public VtnResourceTest() {
30 super(ResourceConfig.forApplicationClass(VtnWebApplication.class));
Bharat saraswalf38e2262015-11-18 22:57:05 +053031 }
Bharat saraswalf38e2262015-11-18 22:57:05 +053032}