From bdca92ff9b68ddd401b41bdb6bd11ce701dd6d31 Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Thu, 27 Aug 2015 21:34:23 -0700 Subject: Add workaround class for unused AndroidHttpClient in tests --- .../java/android/net/http/AndroidHttpClient.java | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 app/src/test/java/android/net/http/AndroidHttpClient.java (limited to 'app/src/test') diff --git a/app/src/test/java/android/net/http/AndroidHttpClient.java b/app/src/test/java/android/net/http/AndroidHttpClient.java new file mode 100644 index 0000000..701510b --- /dev/null +++ b/app/src/test/java/android/net/http/AndroidHttpClient.java @@ -0,0 +1,25 @@ +/* + * ConnectBot: simple, powerful, open-source SSH client for Android + * Copyright 2015 Kenny Root, Jeffrey Sharkey + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package android.net.http; + +/** + * This is a work-around until Robolectric 3.1 comes out with the fix for this. + * https://github.com/robolectric/robolectric/issues/1862 + */ +public class AndroidHttpClient { +} -- cgit v1.2.3