summaryrefslogtreecommitdiffstats
path: root/rest-client/src/test/java/org/openo/baseservice/roa/util/restclient/TestRestfulFactory.java
diff options
context:
space:
mode:
authortian.ming@huawei.com <tian.ming@huawei.com>2016-09-10 12:41:16 +0800
committertian.ming@huawei.com <tian.ming@huawei.com>2016-09-10 15:46:25 +0800
commit7476493080d6c7dc895f1eeda7d4781c8295b03f (patch)
treedcbbaa7f416fa7e2da285f60085bbb8dcbb331d2 /rest-client/src/test/java/org/openo/baseservice/roa/util/restclient/TestRestfulFactory.java
parentfd23b5c6940b86e1f98742ea0537917d4266f0c9 (diff)
Modify license information.
JIRA:https://jira.open-o.org/browse/OCS-46 Change-Id: Iff62c4f5a9f29e20ab6f54772f60b1ab7ea65b1a Signed-off-by: tian.ming@huawei.com <tian.ming@huawei.com> fix the build error. Change-Id: Iecab881eaad2442d48da9a162f2207f742e6982c Signed-off-by: tian.ming@huawei.com <tian.ming@huawei.com> fix the build error. Change-Id: Iecab881eaad2442d48da9a162f2207f742e6982c Signed-off-by: tian.ming@huawei.com <tian.ming@huawei.com>
Diffstat (limited to 'rest-client/src/test/java/org/openo/baseservice/roa/util/restclient/TestRestfulFactory.java')
-rw-r--r--rest-client/src/test/java/org/openo/baseservice/roa/util/restclient/TestRestfulFactory.java17
1 files changed, 10 insertions, 7 deletions
diff --git a/rest-client/src/test/java/org/openo/baseservice/roa/util/restclient/TestRestfulFactory.java b/rest-client/src/test/java/org/openo/baseservice/roa/util/restclient/TestRestfulFactory.java
index 70c7dea..5678732 100644
--- a/rest-client/src/test/java/org/openo/baseservice/roa/util/restclient/TestRestfulFactory.java
+++ b/rest-client/src/test/java/org/openo/baseservice/roa/util/restclient/TestRestfulFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016, Huawei Technologies Co., Ltd.
+ * Copyright 2016 Huawei Technologies Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -26,9 +26,11 @@ import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
+import org.junit.runner.RunWith;
import mockit.Mock;
import mockit.MockUp;
+import mockit.integration.junit4.JMockit;
/**
* <br/>
@@ -36,15 +38,16 @@ import mockit.MockUp;
* </p>
*
* @author
- * @version SDNO 0.5 21-Jun-2016
+ * @version 21-Jun-2016
*/
+@RunWith(JMockit.class)
public class TestRestfulFactory {
/**
* <br/>
*
* @throws java.lang.Exception
- * @since SDNO 0.5
+ * @since
*/
@BeforeClass
public static void setUpBeforeClass() throws Exception {
@@ -54,7 +57,7 @@ public class TestRestfulFactory {
* <br/>
*
* @throws java.lang.Exception
- * @since SDNO 0.5
+ * @since
*/
@AfterClass
public static void tearDownAfterClass() throws Exception {
@@ -64,7 +67,7 @@ public class TestRestfulFactory {
* <br/>
*
* @throws java.lang.Exception
- * @since SDNO 0.5
+ * @since
*/
@Before
public void setUp() throws Exception {
@@ -74,7 +77,7 @@ public class TestRestfulFactory {
* <br/>
*
* @throws java.lang.Exception
- * @since SDNO 0.5
+ * @since
*/
@After
public void tearDown() throws Exception {
@@ -83,7 +86,7 @@ public class TestRestfulFactory {
/**
* <br/>
*
- * @since SDNO 0.5
+ * @since
*/
@Test
public void testGetRestInstance() {