147 Commits

Author SHA1 Message Date
Matt Rubin e095891450 Prefer XCTAssertEqual and XCTAssertNotEqual over XCTAssert
When tests fail, the more specific matchers provide better error messages.
2026-01-06 13:19:27 -05:00
Matt Rubin e6b9184e1f Use non-optional Data(_:) initializer to convert String to Data 2026-01-03 15:00:29 -05:00
Matt Rubin c8a16be470 Update copyright notice dates 2023-02-12 13:46:12 -05:00
Matt Rubin a32388726e Remove direct initialization of empty NSErrors in tests 2023-02-12 13:33:57 -05:00
Matt Rubin fd1200f59f Fix UITableViewAlertForLayoutOutsideViewHierarchy warnings in tests 2023-02-12 11:31:56 -05:00
Matt Rubin cefd037711 Update the version number (and change how build numbers are set) 2023-02-11 17:11:28 -05:00
Matt Rubin 1f5fa14dc6 Set the project's Swift language mode to Swift 5 2023-02-11 13:16:05 -05:00
Matt Rubin a862a2fe5b Fix TokenListViewController tests 2023-02-11 11:46:23 -05:00
Matt Rubin 895d10b2cc Upgrade OneTimePassword to a 4.0 pre-release
This upgrade requires adapting to the new throwing initializers, plus bumping the app deployment target to iOS 13
2023-02-11 11:44:03 -05:00
Matt Rubin 1fdf766179 Update copyright dates 2019-08-23 21:24:46 -04:00
Matt Rubin 16a9c52d07 Enable SwiftLint's vertical_whitespace_*_braces rules 2019-08-23 21:19:00 -04:00
Matt Rubin a2733264e1 Bump the version number 2019-06-01 08:29:11 -04:00
Matt Rubin 1144ddeaa4 Bump the version number 2019-04-25 21:34:19 -04:00
Matt Rubin 4425e34ab4 Fix menu actions in tests 2018-12-23 18:56:26 -05:00
Matt Rubin 38a2bb8885 Bump the version number 2018-12-23 17:05:55 -05:00
Matt Rubin 826378de5d Enable several new SwiftLint rules 2018-09-27 19:34:53 -04:00
Matt Rubin 93976e98f4 Bump the version number to 2.1.0 2018-09-25 23:54:16 -04:00
Matt Rubin a8a7e331cb Wrap long lines 2018-09-25 18:38:31 -04:00
Matt Rubin b24417c36a Fix tests 2018-09-25 18:21:51 -04:00
Matt Rubin 8b8ad15645 Bump the version number to 2.0.6 2018-09-18 19:28:07 -04:00
Matt Rubin c0ed942056 Set CFBundleVersion to 0 for all targets
The fastlane build and release scripts will set this value to the correct build number.
2018-09-17 23:18:32 -04:00
Matt Rubin 1225751c79 Add an Info.plist to AuthenticatorTests
As of Xcode 10, some runtimes fail to launch the tests if the Info.plist is missing.
2018-09-16 15:54:10 -04:00
Matt Rubin 0e459e06f4 Update copyright notice dates 2018-04-23 23:42:49 -04:00
Matt Rubin e49f948672 Automatically synthesize Equatable conformance 2018-04-04 22:58:18 -04:00
Matt Rubin f2e67d1eee Replace deprecated usage of flatMap with the new compactMap 2018-04-04 22:02:36 -04:00
Matt Rubin f400336961 Fix tests 2017-12-21 00:20:15 -05:00
Matt Rubin d220272320 Fix test compilation 2017-11-07 18:16:55 -05:00
Matt Rubin 87cf27ad9d Fix tests 2017-05-31 00:00:26 -04:00
Matt Rubin add0b285b6 Add a test for TokenScanner.Action.showApplicationSettings 2017-05-15 23:31:52 -04:00
Matt Rubin 5d1409850f Use guard case instead of switch where possible in the Root tests 2017-04-03 23:00:00 -04:00
Matt Rubin 1a8d8ea011 Add a test for Root.Event.addTokenFromURLSucceeded 2017-04-03 22:47:16 -04:00
Matt Rubin 85111d662f Use guard case to condense Root.Event tests 2017-04-03 22:46:02 -04:00
Matt Rubin 7a619b543a Add Root.Event tests 2017-04-03 22:38:33 -04:00
Matt Rubin fdcf7dff39 Fix tests for the new view model parameters 2017-04-03 02:03:17 -04:00
Matt Rubin b43ea0454d Remove excess parentheses 2017-04-02 11:21:00 -04:00
Matt Rubin 27c5161b8b Avoid using NS* classes where possible 2017-04-01 00:18:06 -04:00
Matt Rubin d5215a572d Fix interpolated optional warnings 2017-03-31 19:15:51 -04:00
Matt Rubin dd70cf3746 Fix whitespace warnings 2017-03-31 19:11:28 -04:00
Matt Rubin 66dd742db1 Fix the rest of the Swift 3 conversion errors 2017-03-31 19:07:06 -04:00
Matt Rubin 735321ceeb Update code to use Swift.Error 2017-03-31 18:12:12 -04:00
Matt Rubin cb17789958 Use the automated tools to upgrade to Swift 3 2017-03-31 18:08:38 -04:00
Matt Rubin 3214d1a2fe Remove excess whitespace 2017-03-26 16:23:52 -07:00
Matt Rubin 11c6f6170c Add tests 2017-03-26 16:11:06 -07:00
Matt Rubin 933203aae3 Rename Info component and view controller 2017-03-26 14:28:53 -07:00
Matt Rubin 7da60dc6da Delegate SFSafariViewController presentation to the AppController 2017-03-06 00:54:34 -06:00
Matt Rubin 5bd89aefd1 Test the equality operator for TokenList.Action 2017-03-05 21:53:32 -06:00
Matt Rubin 025fd137dc Add tests for showing and hiding the info view 2017-03-05 21:31:07 -06:00
Matt Rubin 99c3232638 Fix indentation and align function parameters 2017-02-11 20:44:02 -05:00
Matt Rubin 96b6f6b899 Add TokenScanner tests 2017-01-12 21:07:30 -05:00
Matt Rubin b272c8aa31 Add testScrollToLastInsert() and log scrolling in the MockTableView 2017-01-06 21:47:43 -05:00