Both TOTP and HOTP on card seems to work well. Seems that HOTP cases are failing and the applet refuses to send anything (byte size of 2). Identify why and fix them.
test:
[junit] Testsuite: pkgYkneoOathTest.OathObjTest
[junit] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.133 sec
[junit]
[junit] Testcase: TestSha1Case1 took 0.012 sec
[junit] Testcase: TestSha1Case2 took 0.001 sec
[junit] Testcase: TestSha1Case3 took 0 sec
[junit] Testcase: TestSha1Case4 took 0 sec
[junit] Testcase: TestSha1Case5 took 0 sec
[junit] Testcase: TestSha256Case1 took 0.001 sec
[junit] Testcase: TestSha256Case2 took 0 sec
[junit] Testcase: TestSha256Case3 took 0 sec
[junit] Testcase: TestSha256Case4 took 0 sec
[junit] Testcase: TestSha1Trunc took 0.003 sec
[junit] Testcase: TestSha256Trunc took 0.003 sec
[junit] Testcase: TestIncreasingDiffLen took 0 sec
[junit] Testcase: TestHotp took 0.001 sec
[junit] Testcase: TestCreate took 0 sec
[junit] Testcase: TestAddSeveralAndRemove took 0 sec
[junit] Testcase: TestIncreasing took 0 sec
[junit] Testcase: TestDeactivate took 0 sec
[junit] Testcase: TestHotpIMF1 took 0.001 sec
[junit] Testcase: TestHugeHotp took 0.091 sec
[junit] Testsuite: pkgYkneoOathTest.YkneoOathTest
[junit] Tests run: 9, Failures: 5, Errors: 0, Skipped: 0, Time elapsed: 0.077 sec
[junit]
[junit] Testcase: testBothOath took 0.021 sec
[junit] FAILED
[junit] array lengths differed, expected.length=24 actual.length=2
[junit] junit.framework.AssertionFailedError: array lengths differed, expected.length=24 actual.length=2
[junit] at pkgYkneoOathTest.YkneoOathTest.testBothOath(Unknown Source)
[junit]
[junit] Testcase: testReset took 0.001 sec
[junit] Testcase: testAuth took 0.025 sec
[junit] Testcase: testLife took 0.001 sec
[junit] FAILED
[junit] array lengths differed, expected.length=25 actual.length=2
[junit] junit.framework.AssertionFailedError: array lengths differed, expected.length=25 actual.length=2
[junit] at pkgYkneoOathTest.YkneoOathTest.testLife(Unknown Source)
[junit]
[junit] Testcase: testMoreHotpIMF took 0.001 sec
[junit] FAILED
[junit] array lengths differed, expected.length=9 actual.length=2
[junit] junit.framework.AssertionFailedError: array lengths differed, expected.length=9 actual.length=2
[junit] at pkgYkneoOathTest.YkneoOathTest.testMoreHotpIMF(Unknown Source)
[junit]
[junit] Testcase: testEmptyList took 0.001 sec
[junit] Testcase: testOverwrite took 0.001 sec
[junit] FAILED
[junit] array lengths differed, expected.length=25 actual.length=2
[junit] junit.framework.AssertionFailedError: array lengths differed, expected.length=25 actual.length=2
[junit] at pkgYkneoOathTest.YkneoOathTest.testOverwrite(Unknown Source)
[junit]
[junit] Testcase: testHotpIMFOverwrite took 0.001 sec
[junit] FAILED
[junit] array lengths differed, expected.length=9 actual.length=2
[junit] junit.framework.AssertionFailedError: array lengths differed, expected.length=9 actual.length=2
[junit] at pkgYkneoOathTest.YkneoOathTest.testHotpIMFOverwrite(Unknown Source)
[junit]
[junit] Testcase: testDelete took 0.001 sec
[junit] Test pkgYkneoOathTest.YkneoOathTest FAILED