2 * Copyright (c) 2016 Huawei, Inc. and others. All rights reserved.
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
8 package org.opendaylight.nemo.tool.sandbox.northbound;
10 import junit.framework.TestCase;
11 import org.junit.Before;
12 import org.junit.Test;
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;
19 import java.io.Reader;
22 * Created by zhangmeng on 2016/1/14.
24 public class RestServerTest extends TestCase {
25 private RestServer restServer;
27 public void setUp() throws Exception {
28 restServer = new RestServer();
32 public void testStart() throws Exception {
33 // RestServer.start("s1");
37 public void testStop() throws Exception {