From 33843d96623aa509024cdca721258d95b1ff34c8 Mon Sep 17 00:00:00 2001 From: Ranjitha R Date: Mon, 6 Dec 2021 12:05:25 +0530 Subject: [PATCH 1/2] deteting the adbespressoapi_test file --- .DS_Store | Bin 6148 -> 16388 bytes adbEspressoAPI.rst | 2 +- adbespressoapi_test.rst | 52 ---------------------------------------- conf.py | 13 +++++----- 4 files changed, 8 insertions(+), 59 deletions(-) delete mode 100644 adbespressoapi_test.rst diff --git a/.DS_Store b/.DS_Store index e3e1b211af0e39664babca1f721cda311ab7fcb1..8adaf2d4478a1e48d58e74a1b6e8586dad293374 100644 GIT binary patch literal 16388 zcmeI3zi(Vw702&5W|M3j|BjtFVVQ-BVlC2bfxy{ykhTB;K~Nwu#Gcu)6WcS2e%z|A2;$0@2X&Cm@7q5K`d#Id|Up+?jiyCq>Yr%(I^F_{}@td+s^so?q`d zgwXitw0%E>4?_sobTTf^>9YQ4YW&&_T^JmE&pCEn(UpeIU+A0_eF!I^6T0D9c&tyK z|6@iha*FqGFYJe-g#Z1})0LK1(+Pcjex`4$@o_i^o4RrwPChy4?d}}(c7!1T%ydJz z@{Rx4p(`PLLFa<*JQdclkWTc&OkMr88FuyiEJX+pM07MnI1>#s$8kS=D(YR6Z{#n_ zMfjb#_-u#~!kqZsH;gllo$y?9PmietrV^M+U@C#PRRY9r9oJl}k5{I@rxKV-;H{Sc z{-LRpaceN1$I)Deevv-&Jt?#u`m8kAt~Cea)?hr3qmhcnNHs>%#-PM#L~>nka=XT@ z!FV3WNFExIJTwL~Q@C(6Y<7)J{h_0=WyAE>R02~8WF+uaT`Sk8nF^QM($%LS+$vPJ zEmf_L!;UJ?PN7!*i~PnbSEb%AAU#&~e4+~c(CS_)@od%G_~L||#cKS>D(gJbFGrB( zRj2QUJyEp93$-*Ae4h4SBeY+!x*sX*4r~9Ga5}2TspUKBG0-#V3AwL(TdMI{V=Fw- zxRalSK0~5~yEe}ThNutieRSQq;ti-yNY&=v-0 z?8KJj4!7*dJhdz#p}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C-h2G-_UVSxN*(++%)s{mB;08zRM#dJjXT1UOG?B zFQRmI&1M;&xt+geGJA9HzZd-Q70<(h_DI|lS3Sci z?lE5lg2=Z@2A8keslsR zSfAOzubd663d`4t=$^V^N8FH!*JRz;OTgf>16W0z*-Vfyy;8=^;= zdqc~OeWKU+e<9Pm$Gom*XAdQVTt^Q57o}wvfQEOwr?ZJ+!G*bB*dXc_Y zRwE_Ty2t0Otjq9g@J#cs63wIc^u3R0+vM!Uo&m9b*5fRSuTh*>=j64=p7->3M9)6| z!1jZGFXaRAF+n|Q_TUk#_t(grsn&D-u^LI4EqJ`u0f*5aR?nZ~zN>qSi{0;W^7X$S z>BpSn!y6hOmjD0n4P_ov*r^1j68JnwpfS7sX!|2^(kO7lyY@|;Kh?>>edm18q0jaz zzD9c$Ut{vm!uoq_aNl_xbw$Vj{vQCQ@n2Die2s2QZBISPu%_|9kRShl$N&EVT1G*_ delta 151 zcmZo^U~DmvU|?WibSh0TWMB{gGC6=4L^E+tEEJolCpp=`hD8*}2TL%5IXDEFLCS$Dxq*Z$$Rwc3@640=Z7dal1^^KR V02wSG78As5kUJPQ$Mei#1^_!R76||V diff --git a/adbEspressoAPI.rst b/adbEspressoAPI.rst index 0c338bb..6150b3d 100644 --- a/adbEspressoAPI.rst +++ b/adbEspressoAPI.rst @@ -5,7 +5,7 @@ API to execute ADB commands from within an Espresso test :class: bolditalic .. role:: underline - :class: underline + :class: underlin **API Definiton** diff --git a/adbespressoapi_test.rst b/adbespressoapi_test.rst deleted file mode 100644 index 58d1063..0000000 --- a/adbespressoapi_test.rst +++ /dev/null @@ -1,52 +0,0 @@ -API to execute ADB commands from within an Espresso test -======================================================== - -.. role:: bolditalic - :class: bolditalic - -.. role:: underline - :class: underline - -**API Definiton** - -​Method: POST - -​ -URL: - -http:///v3/device/shell?accesskey= -​ -Payload: - -.. code-block:: JSON - - { - "_id" : "device_id", - "command" : "" - } - -​ -Since Device ID needs to be provided as part of the API payload, you can find the device id through the following Java code - -.. code-block:: Java - - Bundle testBundle = InstrumentationRegistry.getArguments(); - string deviceID = testBundle.getString("deviceID"); - -**Sample API Invocation** - -Method: POST -​ - -URL: - -http://devicelab.robustest.com/v3/device/shell?accesskey=1234DFFGG24FDSD -​ -Payload: - -.. code-block:: JSON - - { - "_id" : "2132SDSFDSFDSF", - "command" : "ls /data/local/tmp/" - } \ No newline at end of file diff --git a/conf.py b/conf.py index 4b19413..28eb394 100644 --- a/conf.py +++ b/conf.py @@ -92,14 +92,15 @@ # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] -html_context = { - 'css_files': [ - '_static/theme_overrides.css', # override wide tables in RTD theme - ], - } +#html_context = { + #'css_files': [ + # '_static/theme_overrides.css', # override wide tables in RTD theme + # ], + # } def setup(app): - app.add_stylesheet("css/mycustom.css") + app.add_css_file("_static/mycustom.css") + #app.add_stylesheet("_static/mycustom.css") #html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] # Custom sidebar templates, must be a dictionary that maps document names # to template names. From 994ad94bd9391810d22f05d1dfcbff1012965f6f Mon Sep 17 00:00:00 2001 From: Ranjitha R Date: Mon, 6 Dec 2021 19:21:04 +0530 Subject: [PATCH 2/2] added new file --- adbEspressoAPI_NEW.rst | 52 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 adbEspressoAPI_NEW.rst diff --git a/adbEspressoAPI_NEW.rst b/adbEspressoAPI_NEW.rst new file mode 100644 index 0000000..6150b3d --- /dev/null +++ b/adbEspressoAPI_NEW.rst @@ -0,0 +1,52 @@ +API to execute ADB commands from within an Espresso test +======================================================== + +.. role:: bolditalic + :class: bolditalic + +.. role:: underline + :class: underlin + +**API Definiton** + +​Method: POST + +​ +URL: + +http:///v3/device/shell?accesskey= +​ +Payload: + +.. code-block:: JSON + + { + "_id" : "device_id", + "command" : "" + } + +​ +Since Device ID needs to be provided as part of the API payload, you can find the device id through the following Java code + +.. code-block:: Java + + Bundle testBundle = InstrumentationRegistry.getArguments(); + string deviceID = testBundle.getString("deviceID"); + +**Sample API Invocation** + +Method: POST +​ + +URL: + +http://devicelab.robustest.com/v3/device/shell?accesskey=1234DFFGG24FDSD +​ +Payload: + +.. code-block:: JSON + + { + "_id" : "2132SDSFDSFDSF", + "command" : "ls /data/local/tmp/" + } \ No newline at end of file