Merge "delete all .class files" into stable/beryllium
[nemo.git] / nemo-tools / sandbox / src / test / java / org / opendaylight / nemo / tool / sandbox / northbound / RestServerTest.java
1 /*
2  * Copyright (c) 2016 Huawei, Inc. and others. All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.nemo.tool.sandbox.northbound;
9
10 import junit.framework.TestCase;
11 import org.junit.Before;
12 import org.junit.Test;
13
14 import static org.junit.Assert.*;
15 import org.glassfish.grizzly.http.server.HttpServer;
16 import org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpServerFactory;
17 import org.glassfish.jersey.server.ResourceConfig;
18
19 import java.io.Reader;
20 import java.net.URI;
21 /**
22  * Created by zhangmeng on 2016/1/14.
23  */
24 public class RestServerTest extends TestCase {
25     private RestServer restServer;
26     @Before
27     public void setUp() throws Exception {
28         restServer = new RestServer();
29     }
30
31     @Test
32     public void testStart() throws Exception {
33 //        RestServer.start("s1");
34     }
35
36     @Test
37     public void testStop() throws Exception {
38         RestServer.stop();
39     }
40 }