-
-
Notifications
You must be signed in to change notification settings - Fork 530
Open
Description
We use a build agent that runs on Ubuntu 1604. My local builds on Windows run fine, but for some reason the unit tests for your package are being run there and are failing.
Test testGetSecurityLevel_NoBiometry_api28 PASSED (13s)
Test testExtractAesCbc_NoFingerprintConfigured_api23 PASSED (9.2s)
Test testGetSecurityLevel_NoBiometry_NoSecuredHardware_api28 PASSED
Test testExtractRsaEcb_EnabledFingerprint_api23 PASSED
Test testExtractRsaEcb_EnabledFingerprint_api28 PASSED
Test testGetSecurityLevel_Unspecified_api19 PASSED (5.9s)
Test testGetSecurityLevel_Unspecified_api21 PASSED (5.4s)
Test testGetSecurityLevel_Unspecified_api23 PASSED
Test testGetSecurityLevel_Unspecified_api28 PASSED
Test testDowngradeBiometricToAes_api28 FAILED
org.mockito.exceptions.base.MockitoException:
No argument value was captured!
You might have forgotten to use argument.capture() in verify()...
...or you used capture() in stubbing but stubbed method was not called.
Be aware that it is recommended to use capture() only with verify()
Examples of correct argument capturing:
ArgumentCaptor<Person> argument = ArgumentCaptor.forClass(Person.class);
verify(mock).doSomething(argument.capture());
assertEquals("John", argument.getValue().getName());
at com.oblador.keychain.KeychainModuleTests.testDowngradeBiometricToAes_api28(KeychainModuleTests.java:464)
build.gradle
ext {
minSdkVersion = 19
targetSdkVersion = 29
compileSdkVersion = 29
versionName = getMyVersionName()
versionCode = getMyVersionCode()
}
android/app/build.gradle
defaultConfig {
applicationId "com.my.app"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode rootProject.ext.versionCode
versionName rootProject.ext.versionName
multiDexEnabled true
rhdeck, kyo-ago, arjunu, kane-menicou, ankitsingh1492 and 8 more
Metadata
Metadata
Assignees
Labels
No labels