Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BSK SwiftLint fixes part 2: Disable some test suite warnings #453

Merged
merged 18 commits into from
Aug 11, 2023

Conversation

samsymons
Copy link
Contributor

@samsymons samsymons commented Aug 8, 2023

Please review the release process for BrowserServicesKit here.

Required:

Task/Issue URL: https://app.asana.com/0/0/1205234591569330/f
iOS PR: Drag and drop onto iOS project to test
macOS PR: Drag and drop onto macOS project to test
What kind of version bump will this require?: Patch

Optional:

Tech Design URL:
CC:

Description:

This PR fixes quite a few test suite warnings.

Many of the warnings were related to lint issues that are fine in the test suite, such as using force_try, or file length warnings. These are now being ignored for all files in the test suites.

Steps to test this PR:

  1. Check that BSK builds and runs on both iOS and macOS repo
  2. Carefully inspect the diff and ensure that no actual changes are introduced - these PRs should only make cosmetic changes

OS Testing:

  • iOS 14
  • iOS 15
  • iOS 16
  • macOS 10.15
  • macOS 11
  • macOS 12

Internal references:

Software Engineering Expectations
Technical Design Template

Tests/.swiftlint.yml Show resolved Hide resolved
Base automatically changed from sam/swiftlint-fixes-part-1 to main August 11, 2023 18:47
# By Dax Mobile (1) and others
# Via GitHub
* main:
  BSK SwiftLint fixes part 1: Autofix many SwiftLint warnings (#452)
  Add support for syncing Credentials (#425)
  Update autofill to 8.1.2 (#457)
  NetP - Create observers to extract from StatusReporter (#445)

# Conflicts:
#	Sources/BrowserServicesKit/Autofill/AutofillUserScript+SecureVault.swift
#	Sources/BrowserServicesKit/SecureVault/SecureVaultManager.swift
#	Tests/BrowserServicesKitTests/SecureVault/MockAutofillDatabaseProvider.swift
#	Tests/BrowserServicesKitTests/SecureVault/VaultFactoryTests.swift
#	Tests/SecureStorageTests/TestMocks.swift
@samsymons samsymons merged commit 1116393 into main Aug 11, 2023
3 checks passed
@samsymons samsymons deleted the sam/swiftlint-fixes-part-2 branch August 11, 2023 22:29
samsymons added a commit that referenced this pull request Aug 13, 2023
* main:
  BSK SwiftLint fixes part 2: Disable some test suite warnings (#453)
  BSK SwiftLint fixes part 1: Autofix many SwiftLint warnings (#452)
  Add support for syncing Credentials (#425)
  Update autofill to 8.1.2 (#457)
samsymons added a commit that referenced this pull request Aug 16, 2023
# By Sam Symons (3) and others
# Via GitHub
* main:
  Moved iOS Extension to BSK (#458)
  Bump Tests/BrowserServicesKitTests/Resources/privacy-reference-tests (#431)
  feat: duck player v2 (#451)
  Update NetP endpoint (#456)
  BSK SwiftLint fixes part 2: Disable some test suite warnings (#453)
  BSK SwiftLint fixes part 1: Autofix many SwiftLint warnings (#452)
  Add support for syncing Credentials (#425)
  Update autofill to 8.1.2 (#457)
  NetP - Create observers to extract from StatusReporter (#445)

# Conflicts:
#	Sources/BookmarksTestsUtils/BookmarkTree.swift
#	Sources/BrowserServicesKit/Autofill/AutofillUserScript+SecureVault.swift
#	Sources/BrowserServicesKit/SecureVault/AutofillSecureVault.swift
#	Sources/BrowserServicesKit/SecureVault/SecureVaultManager.swift
#	Sources/BrowserServicesKit/SecureVault/SecureVaultModels.swift
#	Sources/BrowserServicesKit/Suggestions/Suggestion.swift
#	Sources/SyncDataProviders/Bookmarks/BookmarksProvider.swift
#	Tests/.swiftlint.yml
#	Tests/BrowserServicesKitTests/SecureVault/MockAutofillDatabaseProvider.swift
#	Tests/BrowserServicesKitTests/SecureVault/VaultFactoryTests.swift
#	Tests/NavigationTests/ClosureNavigationResponderTests.swift
#	Tests/NavigationTests/Helpers/NavigationTestHelpers.swift
#	Tests/NavigationTests/NavigationAuthChallengeTests.swift
#	Tests/SecureStorageTests/TestMocks.swift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants