- Save
Tests.scpt
to the folder~/.Xcode/
- Open the folder
~/.Xcode/
inTerminal.app
- Perform the command
chmod +x ./Tests.scpt
inTerminal.app
- Open
Xcode ➭ Behaviors ➭ Testing Succeeds
- Choose
~/.Xcode/Tests.scpt
in the Run popup - Open
Xcode ➭ Behaviors ➭ Testing Fails
and repeat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// These two need to be declared outside the try/catch | |
// so that they can be closed in the finally block. | |
HttpURLConnection urlConnection = null; | |
BufferedReader reader = null; | |
// Will contain the raw JSON response as a string. | |
String forecastJsonStr = null; | |
try { | |
// Construct the URL for the OpenWeatherMap query |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app id = de.xida.example | |
install: | |
adb install yourapk.apk | |
uninstall: | |
adb uninstall de.xida.example | |
kill task | |
adb shell am force-stop de.xida.example |
NewerOlder