diff --git a/Jel.xcodeproj/project.pbxproj b/Jel.xcodeproj/project.pbxproj index e98363e..e7ac9c3 100644 --- a/Jel.xcodeproj/project.pbxproj +++ b/Jel.xcodeproj/project.pbxproj @@ -33,9 +33,6 @@ 3D9063CD2B279A310063DD2A /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3D9063CC2B279A310063DD2A /* ContentView.swift */; }; 3D9063CF2B279A320063DD2A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3D9063CE2B279A320063DD2A /* Assets.xcassets */; }; 3D9063D32B279A320063DD2A /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3D9063D22B279A320063DD2A /* Preview Assets.xcassets */; }; - 3D9063DD2B279A320063DD2A /* JelTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3D9063DC2B279A320063DD2A /* JelTests.swift */; }; - 3D9063E72B279A320063DD2A /* JelUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3D9063E62B279A320063DD2A /* JelUITests.swift */; }; - 3D9063E92B279A320063DD2A /* JelUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3D9063E82B279A320063DD2A /* JelUITestsLaunchTests.swift */; }; 3D9064592B27E4C70063DD2A /* JellyfinKit in Frameworks */ = {isa = PBXBuildFile; productRef = 3D9064582B27E4C70063DD2A /* JellyfinKit */; }; 3D91FDC92B28C62800919017 /* SignInView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3D91FDC82B28C62800919017 /* SignInView.swift */; }; 3D91FDCB2B28CA2500919017 /* SignInToServerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3D91FDCA2B28CA2500919017 /* SignInToServerView.swift */; }; @@ -58,23 +55,6 @@ 3DFE7AF92B5264A4005461FE /* ItemPersonDetailView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3DFE7AF82B5264A4005461FE /* ItemPersonDetailView.swift */; }; /* End PBXBuildFile section */ -/* Begin PBXContainerItemProxy section */ - 3D9063D92B279A320063DD2A /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 3D9063BF2B279A310063DD2A /* Project object */; - proxyType = 1; - remoteGlobalIDString = 3D9063C62B279A310063DD2A; - remoteInfo = Jel; - }; - 3D9063E32B279A320063DD2A /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 3D9063BF2B279A310063DD2A /* Project object */; - proxyType = 1; - remoteGlobalIDString = 3D9063C62B279A310063DD2A; - remoteInfo = Jel; - }; -/* End PBXContainerItemProxy section */ - /* Begin PBXCopyFilesBuildPhase section */ 3D9064142B279A450063DD2A /* Embed Frameworks */ = { isa = PBXCopyFilesBuildPhase; @@ -113,11 +93,6 @@ 3D9063CE2B279A320063DD2A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 3D9063D02B279A320063DD2A /* Jel.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Jel.entitlements; sourceTree = ""; }; 3D9063D22B279A320063DD2A /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; - 3D9063D82B279A320063DD2A /* JelTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = JelTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 3D9063DC2B279A320063DD2A /* JelTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JelTests.swift; sourceTree = ""; }; - 3D9063E22B279A320063DD2A /* JelUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = JelUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 3D9063E62B279A320063DD2A /* JelUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JelUITests.swift; sourceTree = ""; }; - 3D9063E82B279A320063DD2A /* JelUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JelUITestsLaunchTests.swift; sourceTree = ""; }; 3D91FDC82B28C62800919017 /* SignInView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SignInView.swift; sourceTree = ""; }; 3D91FDCA2B28CA2500919017 /* SignInToServerView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SignInToServerView.swift; sourceTree = ""; }; 3D91FDCC2B2907E800919017 /* JellyfinDateFormatter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JellyfinDateFormatter.swift; sourceTree = ""; }; @@ -154,28 +129,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 3D9063D52B279A320063DD2A /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3D9063DF2B279A320063DD2A /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ 3D1015D72B27F54A00F5C29A /* Views */ = { isa = PBXGroup; children = ( - 3D13F96D2B38A31300E91913 /* Utility */, 3D9063CC2B279A310063DD2A /* ContentView.swift */, + 3D13F96D2B38A31300E91913 /* Utility */, 3DDD67902B293B780026781E /* Dashboard */, 3D13F95D2B375DAC00E91913 /* Item */, 3D8AB2A62B366309005BD7D0 /* Library */, @@ -243,8 +204,6 @@ children = ( 3DC0E5802B2832B9001CCE96 /* Info.plist */, 3D9063C92B279A310063DD2A /* Jel */, - 3D9063DB2B279A320063DD2A /* JelTests */, - 3D9063E52B279A320063DD2A /* JelUITests */, 3D1015D42B27F49000F5C29A /* JellyfinKit */, 3D9063C82B279A310063DD2A /* Products */, ); @@ -254,8 +213,6 @@ isa = PBXGroup; children = ( 3D9063C72B279A310063DD2A /* Jel.app */, - 3D9063D82B279A320063DD2A /* JelTests.xctest */, - 3D9063E22B279A320063DD2A /* JelUITests.xctest */, ); name = Products; sourceTree = ""; @@ -263,10 +220,10 @@ 3D9063C92B279A310063DD2A /* Jel */ = { isa = PBXGroup; children = ( + 3D9063CA2B279A310063DD2A /* JelApp.swift */, 3DD6850A2B85A654002FAA1A /* Extensions */, 3D1015DF2B27F8EE00F5C29A /* Controllers */, 3D1015D72B27F54A00F5C29A /* Views */, - 3D9063CA2B279A310063DD2A /* JelApp.swift */, 3D9063CE2B279A320063DD2A /* Assets.xcassets */, 3D9063D02B279A320063DD2A /* Jel.entitlements */, 3D9063D12B279A320063DD2A /* Preview Content */, @@ -282,23 +239,6 @@ path = "Preview Content"; sourceTree = ""; }; - 3D9063DB2B279A320063DD2A /* JelTests */ = { - isa = PBXGroup; - children = ( - 3D9063DC2B279A320063DD2A /* JelTests.swift */, - ); - path = JelTests; - sourceTree = ""; - }; - 3D9063E52B279A320063DD2A /* JelUITests */ = { - isa = PBXGroup; - children = ( - 3D9063E62B279A320063DD2A /* JelUITests.swift */, - 3D9063E82B279A320063DD2A /* JelUITestsLaunchTests.swift */, - ); - path = JelUITests; - sourceTree = ""; - }; 3D91FDC52B28C28900919017 /* SignIn */ = { isa = PBXGroup; children = ( @@ -391,42 +331,6 @@ productReference = 3D9063C72B279A310063DD2A /* Jel.app */; productType = "com.apple.product-type.application"; }; - 3D9063D72B279A320063DD2A /* JelTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 3D9063EF2B279A320063DD2A /* Build configuration list for PBXNativeTarget "JelTests" */; - buildPhases = ( - 3D9063D42B279A320063DD2A /* Sources */, - 3D9063D52B279A320063DD2A /* Frameworks */, - 3D9063D62B279A320063DD2A /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 3D9063DA2B279A320063DD2A /* PBXTargetDependency */, - ); - name = JelTests; - productName = JelTests; - productReference = 3D9063D82B279A320063DD2A /* JelTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 3D9063E12B279A320063DD2A /* JelUITests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 3D9063F22B279A320063DD2A /* Build configuration list for PBXNativeTarget "JelUITests" */; - buildPhases = ( - 3D9063DE2B279A320063DD2A /* Sources */, - 3D9063DF2B279A320063DD2A /* Frameworks */, - 3D9063E02B279A320063DD2A /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 3D9063E42B279A320063DD2A /* PBXTargetDependency */, - ); - name = JelUITests; - productName = JelUITests; - productReference = 3D9063E22B279A320063DD2A /* JelUITests.xctest */; - productType = "com.apple.product-type.bundle.ui-testing"; - }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -440,14 +344,6 @@ 3D9063C62B279A310063DD2A = { CreatedOnToolsVersion = 15.0.1; }; - 3D9063D72B279A320063DD2A = { - CreatedOnToolsVersion = 15.0.1; - TestTargetID = 3D9063C62B279A310063DD2A; - }; - 3D9063E12B279A320063DD2A = { - CreatedOnToolsVersion = 15.0.1; - TestTargetID = 3D9063C62B279A310063DD2A; - }; }; }; buildConfigurationList = 3D9063C22B279A310063DD2A /* Build configuration list for PBXProject "Jel" */; @@ -469,8 +365,6 @@ projectRoot = ""; targets = ( 3D9063C62B279A310063DD2A /* Jel */, - 3D9063D72B279A320063DD2A /* JelTests */, - 3D9063E12B279A320063DD2A /* JelUITests */, ); }; /* End PBXProject section */ @@ -485,20 +379,6 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 3D9063D62B279A320063DD2A /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3D9063E02B279A320063DD2A /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -547,38 +427,8 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 3D9063D42B279A320063DD2A /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 3D9063DD2B279A320063DD2A /* JelTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3D9063DE2B279A320063DD2A /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 3D9063E92B279A320063DD2A /* JelUITestsLaunchTests.swift in Sources */, - 3D9063E72B279A320063DD2A /* JelUITests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXSourcesBuildPhase section */ -/* Begin PBXTargetDependency section */ - 3D9063DA2B279A320063DD2A /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 3D9063C62B279A310063DD2A /* Jel */; - targetProxy = 3D9063D92B279A320063DD2A /* PBXContainerItemProxy */; - }; - 3D9063E42B279A320063DD2A /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 3D9063C62B279A310063DD2A /* Jel */; - targetProxy = 3D9063E32B279A320063DD2A /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - /* Begin XCBuildConfiguration section */ 3D9063EA2B279A320063DD2A /* Debug */ = { isa = XCBuildConfiguration; @@ -778,100 +628,6 @@ }; name = Release; }; - 3D9063F02B279A320063DD2A /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEAD_CODE_STRIPPING = YES; - DEVELOPMENT_TEAM = H4TSJQG42B; - GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; - MACOSX_DEPLOYMENT_TARGET = 14.0; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = icu.trinket.apps.JelTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = auto; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Jel.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Jel"; - }; - name = Debug; - }; - 3D9063F12B279A320063DD2A /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEAD_CODE_STRIPPING = YES; - DEVELOPMENT_TEAM = H4TSJQG42B; - GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; - MACOSX_DEPLOYMENT_TARGET = 14.0; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = icu.trinket.apps.JelTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = auto; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Jel.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Jel"; - }; - name = Release; - }; - 3D9063F32B279A320063DD2A /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEAD_CODE_STRIPPING = YES; - DEVELOPMENT_TEAM = H4TSJQG42B; - GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; - MACOSX_DEPLOYMENT_TARGET = 14.0; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = icu.trinket.apps.JelUITests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = auto; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = Jel; - }; - name = Debug; - }; - 3D9063F42B279A320063DD2A /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEAD_CODE_STRIPPING = YES; - DEVELOPMENT_TEAM = H4TSJQG42B; - GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; - MACOSX_DEPLOYMENT_TARGET = 14.0; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = icu.trinket.apps.JelUITests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = auto; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = Jel; - }; - name = Release; - }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -893,24 +649,6 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 3D9063EF2B279A320063DD2A /* Build configuration list for PBXNativeTarget "JelTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 3D9063F02B279A320063DD2A /* Debug */, - 3D9063F12B279A320063DD2A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 3D9063F22B279A320063DD2A /* Build configuration list for PBXNativeTarget "JelUITests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 3D9063F32B279A320063DD2A /* Debug */, - 3D9063F42B279A320063DD2A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; /* End XCConfigurationList section */ /* Begin XCRemoteSwiftPackageReference section */ diff --git a/JelTests/JelTests.swift b/JelTests/JelTests.swift deleted file mode 100644 index 6686698..0000000 --- a/JelTests/JelTests.swift +++ /dev/null @@ -1,35 +0,0 @@ -// -// JelTests.swift -// JelTests -// -// Created by zerocool on 12/11/23. -// - -import XCTest - -final class JelTests: XCTestCase { - - override func setUpWithError() throws { - // Put setup code here. This method is called before the invocation of each test method in the class. - } - - override func tearDownWithError() throws { - // Put teardown code here. This method is called after the invocation of each test method in the class. - } - - func testExample() throws { - // This is an example of a functional test case. - // Use XCTAssert and related functions to verify your tests produce the correct results. - // Any test you write for XCTest can be annotated as throws and async. - // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error. - // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards. - } - - func testPerformanceExample() throws { - // This is an example of a performance test case. - measure { - // Put the code you want to measure the time of here. - } - } - -} diff --git a/JelUITests/JelUITests.swift b/JelUITests/JelUITests.swift deleted file mode 100644 index 77dfd01..0000000 --- a/JelUITests/JelUITests.swift +++ /dev/null @@ -1,41 +0,0 @@ -// -// JelUITests.swift -// JelUITests -// -// Created by zerocool on 12/11/23. -// - -import XCTest - -final class JelUITests: XCTestCase { - - override func setUpWithError() throws { - // Put setup code here. This method is called before the invocation of each test method in the class. - - // In UI tests it is usually best to stop immediately when a failure occurs. - continueAfterFailure = false - - // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. - } - - override func tearDownWithError() throws { - // Put teardown code here. This method is called after the invocation of each test method in the class. - } - - func testExample() throws { - // UI tests must launch the application that they test. - let app = XCUIApplication() - app.launch() - - // Use XCTAssert and related functions to verify your tests produce the correct results. - } - - func testLaunchPerformance() throws { - if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 7.0, *) { - // This measures how long it takes to launch your application. - measure(metrics: [XCTApplicationLaunchMetric()]) { - XCUIApplication().launch() - } - } - } -} diff --git a/JelUITests/JelUITestsLaunchTests.swift b/JelUITests/JelUITestsLaunchTests.swift deleted file mode 100644 index f86d3ba..0000000 --- a/JelUITests/JelUITestsLaunchTests.swift +++ /dev/null @@ -1,32 +0,0 @@ -// -// JelUITestsLaunchTests.swift -// JelUITests -// -// Created by zerocool on 12/11/23. -// - -import XCTest - -final class JelUITestsLaunchTests: XCTestCase { - - override class var runsForEachTargetApplicationUIConfiguration: Bool { - true - } - - override func setUpWithError() throws { - continueAfterFailure = false - } - - func testLaunch() throws { - let app = XCUIApplication() - app.launch() - - // Insert steps here to perform after app launch but before taking a screenshot, - // such as logging into a test account or navigating somewhere in the app - - let attachment = XCTAttachment(screenshot: app.screenshot()) - attachment.name = "Launch Screen" - attachment.lifetime = .keepAlways - add(attachment) - } -}