aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/test
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2015-08-27 21:34:23 -0700
committerKenny Root <kenny@the-b.org>2015-08-27 21:41:06 -0700
commitbdca92ff9b68ddd401b41bdb6bd11ce701dd6d31 (patch)
treebf7660200656575e3dc642e272c50e642e1639bc /app/src/test
parent33cb82127495696753bb5c946e28de0bb73ab87b (diff)
downloadconnectbot-bdca92ff9b68ddd401b41bdb6bd11ce701dd6d31.tar.gz
connectbot-bdca92ff9b68ddd401b41bdb6bd11ce701dd6d31.tar.bz2
connectbot-bdca92ff9b68ddd401b41bdb6bd11ce701dd6d31.zip
Add workaround class for unused AndroidHttpClient in tests
Diffstat (limited to 'app/src/test')
-rw-r--r--app/src/test/java/android/net/http/AndroidHttpClient.java25
1 files changed, 25 insertions, 0 deletions
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 {
+}