Skip to content

Commit 7bfd447

Browse files
committed
Blank commit
1 parent 7299d33 commit 7bfd447

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

library/logFunctions.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ adbExecOutVersion=""
2121
function getFormatedFileName() {
2222
#$1 is device serial number
2323
#$2 is filename
24-
#$return -
24+
#$return -
2525
if [ $# -lt 2 ]; then
2626
writeToLogsFile "@@ No 2 argument passed to ${FUNCNAME[0]}() in ${BASH_SOURCE} called from $( basename ${0} )"
2727
exit 1
@@ -73,7 +73,7 @@ function getBugreport() {
7373
echo -e -n "\n Taking Bugreport... "
7474

7575
local compareBuildVersionStatus=$( compareDeviceBuildVersion ${1} ${newBugreportSdkVersion} )
76-
76+
7777
if [[ ${compareBuildVersionStatus} == "same" || ${compareBuildVersionStatus} == "greater" ]]; then
7878
echo -e -n " ${2}.${bugreport2Extension}\n\n"
7979
else
@@ -89,7 +89,7 @@ function getBugreport() {
8989
function saveLogcat() {
9090
#$1 is device serial number
9191
#$2 is filename
92-
#$return -
92+
#$return -
9393
if [ $# -lt 2 ]; then
9494
writeToLogsFile "@@ No 2 argument passed to ${FUNCNAME[0]}() in ${BASH_SOURCE} called from $( basename ${0} )"
9595
exit 1
@@ -131,7 +131,7 @@ function saveScreenshotInMachine() {
131131
else
132132
#myOS="`echo $( getMyOs )`"
133133
#echo -e -n " You are using ${myOS} machine\n"
134-
134+
135135
#TODO this logic is not always working. The screencap command is behaving differently on different OS, based on the device version
136136
adb -s "$1" wait-for-device shell screencap -p > `echo ${myLogs}/`${2}.${screenshotExtension}
137137

@@ -154,7 +154,7 @@ function saveScreenshotInMachine() {
154154
function takeScreenshot() {
155155
#$1 is device serial number
156156
#$2 is filename
157-
#$return -
157+
#$return -
158158
if [ $# -lt 2 ]; then
159159
writeToLogsFile "@@ No 2 argument passed to ${FUNCNAME[0]}() in ${BASH_SOURCE} called from $( basename ${0} )"
160160
exit 1
@@ -170,18 +170,18 @@ function takeScreenshot() {
170170
function getScreenshot() {
171171
#$1 is device serial number
172172
#$2 is filename
173-
#$return -
173+
#$return -
174174
if [ $# -lt 2 ]; then
175175
writeToLogsFile "@@ No 2 argument passed to ${FUNCNAME[0]}() in ${BASH_SOURCE} called from $( basename ${0} )"
176176
exit 1
177177
else
178178
echo -e -n "\n Taking Screenshot... "
179179
echo -e -n " ${2}.${screenshotExtension}"
180180
takeScreenshot ${1} ${2}
181-
181+
182182
# use this if we are saving the screenshot file in the sdcard itself (in function takeScreenshot)
183183
#pullDeviceSingleFileFrmFldr ${1} ${deviceScreenshotFolder} "${2}.${screenshotExtension}"
184-
184+
185185
echo -e -n "\n ...Done\n"
186186
fi
187187
}
@@ -190,7 +190,7 @@ function recordDeviceVideo() {
190190
#$1 is device serial number
191191
#$2 is foldername
192192
#$3 is filename
193-
#$return -
193+
#$return -
194194
if [ $# -lt 3 ]; then
195195
writeToLogsFile "@@ No 3 argument passed to ${FUNCNAME[0]}() in ${BASH_SOURCE} called from $( basename ${0} )"
196196
exit 1
@@ -201,4 +201,4 @@ function recordDeviceVideo() {
201201
fi
202202
}
203203

204-
#===================================================================================================
204+
#===================================================================================================

0 commit comments

Comments
 (0)