/*
- * Copyright 2016 Huawei Technologies Co., Ltd.
+ * Copyright 2016-2017 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.
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
-import org.openo.baseservice.remoteservice.exception.ServiceException;
+import java.io.ByteArrayInputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.lang.reflect.Field;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.concurrent.atomic.AtomicInteger;
+import java.util.zip.GZIPInputStream;
import org.apache.log4j.Level;
import org.apache.log4j.LogManager;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
+import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import org.junit.runner.RunWith;
-
-import java.io.ByteArrayInputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.lang.reflect.Field;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.concurrent.atomic.AtomicInteger;
-import java.util.zip.GZIPInputStream;
+import org.openo.baseservice.remoteservice.exception.ServiceException;
import mockit.Mock;
import mockit.MockUp;
* @since
*/
@Test
+ @Ignore
public void testDecompressGzipToStr() throws Exception {
final RestHttpContentExchange exchange = new RestHttpContentExchange(false, null);
final Address address = new Address("localhost", 9999);
* @since
*/
@Test
+ @Ignore
public void testDecompressGzipToStrException() throws Exception {
final RestHttpContentExchange exchange = new RestHttpContentExchange(false, null);
final Address address = new Address("localhost", 9999);