mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-08-24 16:21:16 +02:00
test
This commit is contained in:
parent
ab03250927
commit
96925d7ba3
@ -5,6 +5,12 @@ steps:
|
|||||||
- pwd #bump
|
- pwd #bump
|
||||||
- ./gradlew :app:testBangleDebugUnitTest :app:testMainDebugUnitTest
|
- ./gradlew :app:testBangleDebugUnitTest :app:testMainDebugUnitTest
|
||||||
|
|
||||||
|
lint:
|
||||||
|
image: codeberg.org/freeyourgadget/android-fdroid-tools:latest
|
||||||
|
commands:
|
||||||
|
- pwd #bump
|
||||||
|
- ./gradlew lint
|
||||||
|
|
||||||
#when:
|
#when:
|
||||||
#repo: Freeyourgadget/Gadgetbridge
|
#repo: Freeyourgadget/Gadgetbridge
|
||||||
#branch: master
|
#branch: master
|
||||||
|
@ -68,7 +68,7 @@ public class EntitiesTest extends TestBase {
|
|||||||
assertEquals(1, userDao.count());
|
assertEquals(1, userDao.count());
|
||||||
assertEquals(1, daoSession.loadAll(User.class).size());
|
assertEquals(1, daoSession.loadAll(User.class).size());
|
||||||
|
|
||||||
assertNotNull(userAttributesDao.load(attributes.getId()));
|
assertNull(userAttributesDao.load(attributes.getId()));
|
||||||
assertEquals(1, userAttributesDao.count());
|
assertEquals(1, userAttributesDao.count());
|
||||||
assertEquals(1, daoSession.loadAll(UserAttributes.class).size());
|
assertEquals(1, daoSession.loadAll(UserAttributes.class).size());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user