Skip to content

Commit 6167c46

Browse files
committed
Working on tests
1 parent c82c1a2 commit 6167c46

File tree

4 files changed

+21
-14
lines changed

4 files changed

+21
-14
lines changed

.gitignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,14 @@ target/
1919
build/
2020
local.properties
2121

22+
# Script
23+
/*.sh
24+
2225
# Binaries
2326
bin/
2427
gen/
2528

2629
# Crashlytics
2730
crashlytics.properties
2831
crashlytics-build.properties
29-
app/src/main/res/values/com_crashlytics_export_strings.xml
32+
app/src/main/res/values/com_crashlytics_export_strings.xml

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ env:
2626
- TAG=google_apis # Google APIs by default, alternatively use default
2727
- ABI=x86
2828
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ANDROID_HOME/tools/lib
29+
- PATH=$ANDROID_HOME/emulator;$PATH
2930

3031
android:
3132
components:
@@ -37,6 +38,7 @@ android:
3738
before_install:
3839
- export EMULATOR="system-images;android-$API;$TAG;$ABI" # Used to install/create emulator
3940
- echo 'count=0' > /home/travis/.android/repositories.cfg # Avoid warning
41+
- echo $ANDROID_HOME
4042

4143
install:
4244
# List and delete unnecessary components to free space

app/src/androidTest/kotlin/com/antyzero/cardcheck/ApplicationTest.java

-13
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package com.antyzero.cardcheck
2+
3+
import android.app.Application
4+
import android.test.ApplicationTestCase
5+
import org.assertj.core.api.Java6Assertions.assertThat
6+
import org.junit.Test
7+
8+
9+
class ApplicationTest : ApplicationTestCase<Application>(Application::class.java) {
10+
11+
@Test
12+
fun testDumb() {
13+
assertThat(true).isTrue()
14+
}
15+
}

0 commit comments

Comments
 (0)