Requirements:

Steps to follow:

How to launch the unit tests

./gradlew tests

If all tests are failing, please ensure the java version is above 8.

If a newer java version is installed in a custom location, export JAVA_HOME

export JAVA_HOME=/path/to/newer/java

and relaunch the tests.

How to (re)compile the javadoc:

javadoc -protected -splitindex -d /home/luca/work/test_doc $(find app/src/main/java/com/lubenard/digital_wellbeing/ -name '*.java' -print) -bootclasspath /home/luca/Programmes/Android/Sdk/platforms/android-29/android.jar -Xdoclint:none