#Data based junit test.
from Pragmatic unit testing in java with junit
#Data based junit test.
from Pragmatic unit testing in java with junit
| #!/bin/bash | |
| DFILE=`find -name "*arm*.tar.gz"` | |
| echo "Found: " $DFILE | |
| if [ -z "$DFILE" ]; then | |
| echo "ERROR: Please download JRE/JDK and put in current directory" | |
| exit 1 | |
| fi |
| package br.com.criativasoft.eduaccess.util; | |
| import android.util.Log; | |
| import java.io.BufferedReader; | |
| import java.io.ByteArrayOutputStream; | |
| import java.io.Closeable; | |
| import java.io.DataOutputStream; | |
| import java.io.IOException; | |
| import java.io.InputStream; |
In Users/hugomatilla.bash_profile add
export PATH=$PATH:/Users/hugomatilla/Documents/AndroidSDKs/sdk/platform-tools
export PATH=$PATH:/Users/hugomatilla/Documents/AndroidSDKs/sdk/tools
cd /Users/hugomatilla/Documents/AndroidSDKs/sdk/platform-tools
| # Firebase JobDispatcher | |
| ### What's a JobScheduler? | |
| The JobScheduler is an Android system service available on API levels 21 (Lollipop)+. | |
| It provides an API for scheduling units of work (represented by `JobService` subclasses) that will be executed in your app's process. |
tasks