Commit graph

16 commits

Author SHA1 Message Date
Danny Moesch
7f9f0e43b2 Format code with SwiftFormat automatically in every build 2020-08-25 15:10:13 -07:00
Danny Moesch
4c2693e2c7 Name classes/structs consistently 2020-04-19 13:42:41 -07:00
Meris Bahtijaragic
c59c72729b Get username from filepath. (#265) 2019-05-17 23:30:41 +08:00
Danny Moesch
e06413b348 Add default value to non-optional DefaultsKeys 2019-05-01 18:30:13 +02:00
Danny Moesch
1b4040135e Localize strings in code 2019-01-20 21:04:04 -08:00
Danny Moesch
c18b70e7d7 Use XCTAssert instead of XCTAssertTrue 2018-12-18 10:06:45 -08:00
Danny Moesch
ae57042f36 Make sure unknowns and OTP fields are not hidden in PasswordTest 2018-12-18 10:06:45 -08:00
Mingshen Sun
ed387069a4
lint: delete trailing whitespaces 2018-12-09 16:59:07 -08:00
Danny Moesch
2ba6917710 Test also counting of unknown and OTP related fields 2018-12-08 21:15:51 -08:00
Danny Moesch
e019f6ac9d Introduce some helper methods in TestBase to simplify PasswordTest 2018-12-08 21:15:51 -08:00
Danny Moesch
fa12a6f046 Move constants from ParserTest to TestBase 2018-12-08 21:15:51 -08:00
Danny Moesch
57acc6ecb5 Move helper methods from PasswordTest to common TestBase 2018-12-08 21:15:51 -08:00
Danny Moesch
cfb50276bc Add description field to OtpType 2018-12-05 12:59:04 -08:00
Danny Moesch
2e744a760f Introduce TokenBuilder to build up OTP tokens conveniently 2018-12-05 12:59:04 -08:00
Danny Moesch
d4d8d7267a Tweak Password class 2018-12-05 12:59:04 -08:00
Danny Moesch
7c12263458 Separate parser and helpers from Password class for better testability 2018-11-11 11:30:39 -08:00