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
68dd60fb8e
Introduce utility methods to test for unknowns and OTP keywords
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
6817f61e3b
Split PasswordHelpers and move components into Parser
2018-12-05 12:59:04 -08:00
Danny Moesch
d4d8d7267a
Tweak Password class
2018-12-05 12:59:04 -08:00
Danny Moesch
3cd8df310c
Introduce enum for password generator flavour
2018-12-05 12:59:04 -08:00
Danny Moesch
b6f94f8814
Introduce string extension property 'trimmed'
2018-11-13 15:38:18 -08:00
Danny Moesch
7c12263458
Separate parser and helpers from Password class for better testability
2018-11-11 11:30:39 -08:00
Bob Sun
2abbceb2e9
Set name and url in Password non-optional
...
Name and url in Password class shouldn't be optional because we store
them in core data as non-optional. This change also help us to avoid
man unneccessary unwrap.
2018-11-10 22:38:12 -08:00
Danny Moesch
ddddfda931
Use own parser for multiline values giving up Yams
2018-08-13 23:12:30 -07:00
Danny Moesch
904d04d71c
Use computed properties instead of separate getter methods
2018-08-13 23:12:30 -07:00
Danny Moesch
f76721d7fe
Simplify/Tweak Password.swift
2018-08-13 23:12:30 -07:00
Danny Moesch
213234f57e
Add unit tests for "key: value" syntax in Password class
2018-08-13 23:12:30 -07:00
Yishi Lin
9bb51d209c
Change extension name and folder names
2017-06-15 17:27:02 +08:00