Skip to content

Commit

Permalink
[BITAU-171] Rename Package to AuthenticatorBridgeKit (#920)
Browse files Browse the repository at this point in the history
  • Loading branch information
brant-livefront committed Sep 12, 2024
1 parent 6af83fc commit 0ea7e94
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleName</key>
<string>AuthenticatorSyncKit</string>
<string>AuthenticatorBridgeKit</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import CryptoKit
import Foundation
import XCTest

@testable import AuthenticatorSyncKit
@testable import AuthenticatorBridgeKit

final class SharedKeychainRepositoryTests: AuthenticatorSyncKitTestCase {
final class SharedKeychainRepositoryTests: AuthenticatorBridgeKitTestCase {
// MARK: Properties

let accessGroup = "group.com.example.bitwarden"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation

@testable import AuthenticatorSyncKit
@testable import AuthenticatorBridgeKit

class MockAuthenticatorKeychainService {
// MARK: Properties
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import CryptoKit
import Foundation

@testable import AuthenticatorSyncKit
@testable import AuthenticatorBridgeKit

class MockSharedKeychainRepository {
var authenticatorKey: Data?
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import XCTest

/// Base class for any tests in the AuthenticatorSyncKit framework.
/// Base class for any tests in the AuthenticatorBridgeKit framework.
///
open class AuthenticatorSyncKitTestCase: XCTestCase {
open class AuthenticatorBridgeKitTestCase: XCTestCase {
/// Asserts that an asynchronous block of code will throw an error. The test will fail if the
/// block does not throw an error.
///
Expand Down
2 changes: 1 addition & 1 deletion BitwardenShared/Core/Auth/Services/KeychainService.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import AuthenticatorSyncKit
import AuthenticatorBridgeKit
import Foundation

// MARK: - KeychainService
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "./Common.xcconfig"
#include? "./Local.xcconfig"

PRODUCT_BUNDLE_IDENTIFIER = $(ORGANIZATION_IDENTIFIER).authenticator-sync-kit
PRODUCT_BUNDLE_IDENTIFIER = $(ORGANIZATION_IDENTIFIER).authenticator-bridge-kit
36 changes: 18 additions & 18 deletions project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ packages:
url: https://github.com/nalexn/ViewInspector
exactVersion: 0.9.10
schemes:
AuthenticatorSyncKit:
AuthenticatorBridgeKit:
build:
targets:
AuthenticatorSyncKit: all
AuthenticatorSyncKitTests: [test]
AuthenticatorBridgeKit: all
AuthenticatorBridgeKitTests: [test]
test:
gatherCoverageData: true
targets:
- AuthenticatorSyncKitTests
- AuthenticatorBridgeKitTests
Bitwarden:
build:
targets:
Expand All @@ -59,14 +59,14 @@ schemes:
language: en
region: US
coverageTargets:
- AuthenticatorSyncKit
- AuthenticatorBridgeKit
- Bitwarden
- BitwardenActionExtension
- BitwardenAutoFillExtension
- BitwardenShareExtension
- BitwardenShared
targets:
- AuthenticatorSyncKitTests
- AuthenticatorBridgeKitTests
- BitwardenTests
- BitwardenActionExtensionTests
- BitwardenAutoFillExtensionTests
Expand Down Expand Up @@ -136,32 +136,32 @@ schemes:
targets:
BitwardenWatchWidgetExtension: all
targets:
AuthenticatorSyncKit:
AuthenticatorBridgeKit:
type: framework
platform: iOS
configFiles:
Debug: Configs/AuthenticatorSyncKit.xcconfig
Release: Configs/AuthenticatorSyncKit.xcconfig
Debug: Configs/AuthenticatorBridgeKit.xcconfig
Release: Configs/AuthenticatorBridgeKit.xcconfig
settings:
base:
APPLICATION_EXTENSION_API_ONLY: true
INFOPLIST_FILE: AuthenticatorSyncKit/Info.plist
INFOPLIST_FILE: AuthenticatorBridgeKit/Info.plist
sources:
- path: AuthenticatorSyncKit
- path: AuthenticatorBridgeKit
excludes:
- "**/Tests/*"
AuthenticatorSyncKitTests:
AuthenticatorBridgeKitTests:
type: bundle.unit-test
platform: iOS
settings:
base:
INFOPLIST_FILE: AuthenticatorSyncKit/Tests/TestHelpers/Support/Info.plist
INFOPLIST_FILE: AuthenticatorBridgeKit/Tests/TestHelpers/Support/Info.plist
sources:
- path: AuthenticatorSyncKit
- path: AuthenticatorBridgeKit
includes:
- "**/Tests/*"
dependencies:
- target: AuthenticatorSyncKit
- target: AuthenticatorBridgeKit
randomExecutionOrder: true
Bitwarden:
type: application
Expand Down Expand Up @@ -192,7 +192,7 @@ targets:
- path: swiftgen.yml
buildPhase: none
dependencies:
- target: AuthenticatorSyncKit
- target: AuthenticatorBridgeKit
- target: BitwardenShared
- target: BitwardenActionExtension
- target: BitwardenAutoFillExtension
Expand Down Expand Up @@ -245,7 +245,7 @@ targets:
- "**/TestHelpers/*"
- path: GlobalTestHelpers
dependencies:
- target: AuthenticatorSyncKit
- target: AuthenticatorBridgeKit
- target: Bitwarden
- target: BitwardenShared
- package: SnapshotTesting
Expand Down Expand Up @@ -391,7 +391,7 @@ targets:
optional: true
- path: BitwardenWatchShared
dependencies:
- target: AuthenticatorSyncKit
- target: AuthenticatorBridgeKit
- package: BitwardenSdk
- package: Networking
- package: SwiftUIIntrospect
Expand Down

0 comments on commit 0ea7e94

Please sign in to comment.