From b58c2d067477b17789268ae960cd1683d0667bc6 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Fri, 25 Oct 2019 10:46:49 +0200 Subject: [PATCH] Remove unused test target. --- Subler Tests/Info.plist | 24 ---- Subler Tests/Subler_Tests.m | 40 ------ Subler Tests/it.lproj/InfoPlist.strings | 0 Subler.xcodeproj/project.pbxproj | 184 ------------------------ 4 files changed, 248 deletions(-) delete mode 100644 Subler Tests/Info.plist delete mode 100644 Subler Tests/Subler_Tests.m delete mode 100644 Subler Tests/it.lproj/InfoPlist.strings diff --git a/Subler Tests/Info.plist b/Subler Tests/Info.plist deleted file mode 100644 index ba72822..0000000 --- a/Subler Tests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/Subler Tests/Subler_Tests.m b/Subler Tests/Subler_Tests.m deleted file mode 100644 index 2326f87..0000000 --- a/Subler Tests/Subler_Tests.m +++ /dev/null @@ -1,40 +0,0 @@ -// -// Subler_Tests.m -// Subler Tests -// -// Created by Damiano Galassi on 18/05/15. -// -// - -#import -#import - -@interface Subler_Tests : XCTestCase - -@end - -@implementation Subler_Tests - -- (void)setUp { - [super setUp]; - // Put setup code here. This method is called before the invocation of each test method in the class. -} - -- (void)tearDown { - // Put teardown code here. This method is called after the invocation of each test method in the class. - [super tearDown]; -} - -- (void)testExample { - // This is an example of a functional test case. - //XCTAssert(action, @"Pass"); -} - -- (void)testPerformanceExample { - // This is an example of a performance test case. - [self measureBlock:^{ - // Put the code you want to measure the time of here. - }]; -} - -@end diff --git a/Subler Tests/it.lproj/InfoPlist.strings b/Subler Tests/it.lproj/InfoPlist.strings deleted file mode 100644 index e69de29..0000000 diff --git a/Subler.xcodeproj/project.pbxproj b/Subler.xcodeproj/project.pbxproj index 87108eb..fafd8b8 100644 --- a/Subler.xcodeproj/project.pbxproj +++ b/Subler.xcodeproj/project.pbxproj @@ -56,7 +56,6 @@ A956CE691F99E93D00093992 /* ButtonToolbarItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = A956CE681F99E93D00093992 /* ButtonToolbarItem.swift */; }; A956CE6B1F99EAAD00093992 /* Logger.swift in Sources */ = {isa = PBXBuildFile; fileRef = A956CE6A1F99EAAD00093992 /* Logger.swift */; }; A959001A202AF21800FD8F23 /* ProgressViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9590018202AF21800FD8F23 /* ProgressViewController.swift */; }; - A95B8DA91B09F37800F2F152 /* Subler_Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = A95B8DA81B09F37800F2F152 /* Subler_Tests.m */; }; A961476713F568210068F161 /* Queue.xib in Resources */ = {isa = PBXBuildFile; fileRef = A961476513F568210068F161 /* Queue.xib */; }; A962D9EE1F8B7F9F00802EEF /* FileImportController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A962D9ED1F8B7F9F00802EEF /* FileImportController.swift */; }; A9676A301FB6E85300C1E300 /* LanguageTransformer.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9676A2F1FB6E85300C1E300 /* LanguageTransformer.swift */; }; @@ -103,7 +102,6 @@ A9B1056E2025D9B9009E91FC /* TracksViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9B1056C2025D9B9009E91FC /* TracksViewController.swift */; }; A9B46AA412B79BB10040517A /* Subler.icns in Resources */ = {isa = PBXBuildFile; fileRef = A9B46AA312B79BB10040517A /* Subler.icns */; }; A9B514191EFC12310055A035 /* TheTVDB.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9B514181EFC12310055A035 /* TheTVDB.swift */; }; - A9BA1AEE1DBF7DD700FD0B38 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = A9BA1AF01DBF7DD700FD0B38 /* InfoPlist.strings */; }; A9BA1AF31DBF7DD800FD0B38 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = A9BA1AF51DBF7DD800FD0B38 /* Localizable.strings */; }; A9BC410818D9ABC000F8C92C /* QueueItem.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9BC410618D9ABC000F8C92C /* QueueItem.xib */; }; A9BE561B220307F100FF6BE3 /* Utilities.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9BE561A220307F100FF6BE3 /* Utilities.swift */; }; @@ -165,13 +163,6 @@ remoteGlobalIDString = A9B9C1EC182391DF00416A4E; remoteInfo = MP42Foundation; }; - A95B8DAA1B09F37800F2F152 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 2A37F4A9FDCFA73011CA2CEA /* Project object */; - proxyType = 1; - remoteGlobalIDString = 8D15AC270486D014006FF6A4; - remoteInfo = Subler; - }; A98C6F83183E6C39007E5AE5 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = A925AA7B18378D7800BE84D4 /* MP42Foundation.xcodeproj */; @@ -280,9 +271,6 @@ A957E5B22040083E00A5F776 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/ProgressViewController.strings; sourceTree = ""; }; A957E5B32040083E00A5F776 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/DocumentWindowController.strings; sourceTree = ""; }; A9590018202AF21800FD8F23 /* ProgressViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ProgressViewController.swift; path = Classes/ProgressViewController.swift; sourceTree = ""; }; - A95B8DA41B09F37700F2F152 /* Subler Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Subler Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; - A95B8DA71B09F37700F2F152 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - A95B8DA81B09F37800F2F152 /* Subler_Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Subler_Tests.m; sourceTree = ""; }; A962D9ED1F8B7F9F00802EEF /* FileImportController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = FileImportController.swift; path = Classes/FileImportController.swift; sourceTree = ""; }; A9676A2F1FB6E85300C1E300 /* LanguageTransformer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = LanguageTransformer.swift; path = Classes/LanguageTransformer.swift; sourceTree = ""; }; A9676A331FB6EAAD00C1E300 /* ItemViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ItemViewController.swift; path = Classes/ItemViewController.swift; sourceTree = ""; }; @@ -346,7 +334,6 @@ A9BA1AE41DBF773700FD0B38 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/ExceptionAlert.strings; sourceTree = ""; }; A9BA1AE51DBF773700FD0B38 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = it; path = it.lproj/Credits.rtf; sourceTree = ""; }; A9BA1AE61DBF773700FD0B38 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/InfoPlist.strings; sourceTree = ""; }; - A9BA1AEF1DBF7DD700FD0B38 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/InfoPlist.strings; sourceTree = ""; }; A9BA1AF41DBF7DD800FD0B38 /* it */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Localizable.strings; sourceTree = ""; }; A9BE561A220307F100FF6BE3 /* Utilities.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = Utilities.swift; path = Classes/Utilities.swift; sourceTree = ""; }; A9C09C7B1F99F460007939EE /* ExceptionAlertController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ExceptionAlertController.swift; path = Classes/ExceptionAlertController.swift; sourceTree = ""; }; @@ -394,13 +381,6 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - A95B8DA11B09F37700F2F152 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ @@ -426,7 +406,6 @@ isa = PBXGroup; children = ( 8D15AC370486D014006FF6A4 /* Subler.app */, - A95B8DA41B09F37700F2F152 /* Subler Tests.xctest */, ); name = Products; sourceTree = ""; @@ -439,7 +418,6 @@ 2A37F4ABFDCFA73011CA2CEA /* Classes */, 2A37F4AFFDCFA73011CA2CEA /* Other Sources */, 2A37F4B8FDCFA73011CA2CEA /* Resources */, - A95B8DA51B09F37700F2F152 /* Subler Tests */, 2A37F4C3FDCFA73011CA2CEA /* Frameworks */, A922E01E2233C9820072FD1B /* XPCServices */, 19C28FB0FE9D524F11CA2CBB /* Products */, @@ -578,24 +556,6 @@ name = "Activity Log"; sourceTree = ""; }; - A95B8DA51B09F37700F2F152 /* Subler Tests */ = { - isa = PBXGroup; - children = ( - A95B8DA81B09F37800F2F152 /* Subler_Tests.m */, - A95B8DA61B09F37700F2F152 /* Supporting Files */, - ); - path = "Subler Tests"; - sourceTree = ""; - }; - A95B8DA61B09F37700F2F152 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - A9BA1AF01DBF7DD700FD0B38 /* InfoPlist.strings */, - A95B8DA71B09F37700F2F152 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; A9915ABB1F4B26A5003C57D1 /* Presets */ = { isa = PBXGroup; children = ( @@ -728,24 +688,6 @@ productReference = 8D15AC370486D014006FF6A4 /* Subler.app */; productType = "com.apple.product-type.application"; }; - A95B8DA31B09F37700F2F152 /* Subler Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = A95B8DB01B09F37800F2F152 /* Build configuration list for PBXNativeTarget "Subler Tests" */; - buildPhases = ( - A95B8DA01B09F37700F2F152 /* Sources */, - A95B8DA11B09F37700F2F152 /* Frameworks */, - A95B8DA21B09F37700F2F152 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - A95B8DAB1B09F37800F2F152 /* PBXTargetDependency */, - ); - name = "Subler Tests"; - productName = "Subler Tests"; - productReference = A95B8DA41B09F37700F2F152 /* Subler Tests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -766,10 +708,6 @@ }; }; }; - A95B8DA31B09F37700F2F152 = { - CreatedOnToolsVersion = 6.3.1; - TestTargetID = 8D15AC270486D014006FF6A4; - }; }; }; buildConfigurationList = C05733CB08A9546B00998B17 /* Build configuration list for PBXProject "Subler" */; @@ -792,7 +730,6 @@ projectRoot = ""; targets = ( 8D15AC270486D014006FF6A4 /* Subler */, - A95B8DA31B09F37700F2F152 /* Subler Tests */, ); }; /* End PBXProject section */ @@ -872,14 +809,6 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - A95B8DA21B09F37700F2F152 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - A9BA1AEE1DBF7DD700FD0B38 /* InfoPlist.strings in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -970,14 +899,6 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - A95B8DA01B09F37700F2F152 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - A95B8DA91B09F37800F2F152 /* Subler_Tests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ @@ -986,11 +907,6 @@ name = MP42Foundation; targetProxy = A925AA8618378DC400BE84D4 /* PBXContainerItemProxy */; }; - A95B8DAB1B09F37800F2F152 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 8D15AC270486D014006FF6A4 /* Subler */; - targetProxy = A95B8DAA1B09F37800F2F152 /* PBXContainerItemProxy */; - }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ @@ -1198,14 +1114,6 @@ path = Classes; sourceTree = ""; }; - A9BA1AF01DBF7DD700FD0B38 /* InfoPlist.strings */ = { - isa = PBXVariantGroup; - children = ( - A9BA1AEF1DBF7DD700FD0B38 /* it */, - ); - name = InfoPlist.strings; - sourceTree = ""; - }; A9BA1AF51DBF7DD800FD0B38 /* Localizable.strings */ = { isa = PBXVariantGroup; children = ( @@ -1328,89 +1236,6 @@ /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ - A95B8DAC1B09F37800F2F152 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - ALWAYS_SEARCH_USER_PATHS = NO; - BUNDLE_LOADER = "$(TEST_HOST)"; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - COMBINE_HIDPI_IMAGES = YES; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(DEVELOPER_FRAMEWORKS_DIR)", - "$(inherited)", - ); - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - INFOPLIST_FILE = "Subler Tests/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/../Frameworks", - ); - MACOSX_DEPLOYMENT_TARGET = 10.10; - MTL_ENABLE_DEBUG_INFO = YES; - PRODUCT_BUNDLE_IDENTIFIER = "DG.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Subler.app/Contents/MacOS/Subler"; - }; - name = Debug; - }; - A95B8DAD1B09F37800F2F152 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - ALWAYS_SEARCH_USER_PATHS = NO; - BUNDLE_LOADER = "$(TEST_HOST)"; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - COMBINE_HIDPI_IMAGES = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - FRAMEWORK_SEARCH_PATHS = ( - "$(DEVELOPER_FRAMEWORKS_DIR)", - "$(inherited)", - ); - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - INFOPLIST_FILE = "Subler Tests/Info.plist"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/../Frameworks", - "@loader_path/../Frameworks", - ); - MACOSX_DEPLOYMENT_TARGET = 10.10; - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_BUNDLE_IDENTIFIER = "DG.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Subler.app/Contents/MacOS/Subler"; - }; - name = Release; - }; C05733C808A9546B00998B17 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -1643,15 +1468,6 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - A95B8DB01B09F37800F2F152 /* Build configuration list for PBXNativeTarget "Subler Tests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - A95B8DAC1B09F37800F2F152 /* Debug */, - A95B8DAD1B09F37800F2F152 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; C05733C708A9546B00998B17 /* Build configuration list for PBXNativeTarget "Subler" */ = { isa = XCConfigurationList; buildConfigurations = (