diff options
author | Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com> | 2018-03-21 09:12:04 -0700 |
---|---|---|
committer | Kiran Kamineni <kiran.k.kamineni@intel.com> | 2018-03-27 17:07:40 +0000 |
commit | 70329f54da15d773718e6de13f51b42d02d5f1a1 (patch) | |
tree | 1ba8b60899317d7891d682f5dd4fdb5797e467a8 /sms-client/src/java/main | |
parent | 937a0cdf641aa66ba8cf413f684d67dc3a9fd90d (diff) |
Test framework for sms client code.
Adds a test case for create domain interface
Change-Id: I198d4e91845753ca359330c367180bd3a3732f30
Issue-ID: AAF-183
Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>
Diffstat (limited to 'sms-client/src/java/main')
-rw-r--r-- | sms-client/src/java/main/SmsClient.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sms-client/src/java/main/SmsClient.java b/sms-client/src/java/main/SmsClient.java index ce48f72..17a9f16 100644 --- a/sms-client/src/java/main/SmsClient.java +++ b/sms-client/src/java/main/SmsClient.java @@ -91,14 +91,14 @@ public class SmsClient implements SmsInterface { return(m); } - private Map<String, Object> strtomap(String r) throws JSONException { + protected Map<String, Object> strtomap(String r) throws JSONException { JSONObject jobj = null; jobj = new JSONObject(r); return(jsontomap(jobj)); } - private SmsResponse execute(String reqtype, String t, String ins, boolean input, boolean output) { + protected SmsResponse execute(String reqtype, String t, String ins, boolean input, boolean output) { HttpsURLConnection conn; int errorcode = -1; |