Explorar o código

1.去掉test相关

huangxiaodong hai 6 meses
pai
achega
366fefb8f5

+ 0 - 28
创维盒子/双子星云手机.xcodeproj/project.pbxproj

@@ -1319,9 +1319,6 @@
 		A0295B1627EDA0EC009C5D8B /* HWHistoryModel.m in Sources */ = {isa = PBXBuildFile; fileRef = A0295B1527EDA0EC009C5D8B /* HWHistoryModel.m */; };
 		A02FF6A627D7054700D59D3F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A02FF6A527D7054700D59D3F /* Assets.xcassets */; };
 		A02FF6AC27D7054700D59D3F /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = A02FF6AB27D7054700D59D3F /* main.m */; };
-		A02FF6B627D7054700D59D3F /* ______Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = A02FF6B527D7054700D59D3F /* ______Tests.m */; };
-		A02FF6C027D7054700D59D3F /* ______UITests.m in Sources */ = {isa = PBXBuildFile; fileRef = A02FF6BF27D7054700D59D3F /* ______UITests.m */; };
-		A02FF6C227D7054700D59D3F /* ______UITestsLaunchTests.m in Sources */ = {isa = PBXBuildFile; fileRef = A02FF6C127D7054700D59D3F /* ______UITestsLaunchTests.m */; };
 		A031DD6827EC195400909527 /* HWBookmarkViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A031DD6627EC195400909527 /* HWBookmarkViewController.m */; };
 		A031DD6D27EC1FCD00909527 /* HWBookmarkListCell.m in Sources */ = {isa = PBXBuildFile; fileRef = A031DD6B27EC1FCD00909527 /* HWBookmarkListCell.m */; };
 		A031DD6E27EC1FCD00909527 /* HWBookmarkListCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = A031DD6C27EC1FCD00909527 /* HWBookmarkListCell.xib */; };
@@ -2154,10 +2151,7 @@
 		A02FF6AA27D7054700D59D3F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
 		A02FF6AB27D7054700D59D3F /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
 		A02FF6B127D7054700D59D3F /* 双子星云手机Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "双子星云手机Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
-		A02FF6B527D7054700D59D3F /* ______Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "______Tests.m"; sourceTree = "<group>"; };
 		A02FF6BB27D7054700D59D3F /* 双子星云手机UITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "双子星云手机UITests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
-		A02FF6BF27D7054700D59D3F /* ______UITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "______UITests.m"; sourceTree = "<group>"; };
-		A02FF6C127D7054700D59D3F /* ______UITestsLaunchTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "______UITestsLaunchTests.m"; sourceTree = "<group>"; };
 		A031DD6527EC195400909527 /* HWBookmarkViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = HWBookmarkViewController.h; sourceTree = "<group>"; };
 		A031DD6627EC195400909527 /* HWBookmarkViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = HWBookmarkViewController.m; sourceTree = "<group>"; };
 		A031DD6A27EC1FCD00909527 /* HWBookmarkListCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = HWBookmarkListCell.h; sourceTree = "<group>"; };
@@ -3803,8 +3797,6 @@
 				6B4B0B6A2BEF16F200B62C22 /* 计算器.entitlements */,
 				6B4B0B692BEF087E00B62C22 /* 隐私保护.entitlements */,
 				A02FF69827D7054200D59D3F /* 双子星云手机 */,
-				A02FF6B427D7054700D59D3F /* 双子星云手机Tests */,
-				A02FF6BE27D7054700D59D3F /* 双子星云手机UITests */,
 				A02FF69727D7054200D59D3F /* Products */,
 				0D1AADCB1D31D1104477E312 /* Pods */,
 				24696DA8F8A620ECEA9ED985 /* Frameworks */,
@@ -3852,23 +3844,6 @@
 			path = "双子星云手机";
 			sourceTree = "<group>";
 		};
-		A02FF6B427D7054700D59D3F /* 双子星云手机Tests */ = {
-			isa = PBXGroup;
-			children = (
-				A02FF6B527D7054700D59D3F /* ______Tests.m */,
-			);
-			path = "双子星云手机Tests";
-			sourceTree = "<group>";
-		};
-		A02FF6BE27D7054700D59D3F /* 双子星云手机UITests */ = {
-			isa = PBXGroup;
-			children = (
-				A02FF6BF27D7054700D59D3F /* ______UITests.m */,
-				A02FF6C127D7054700D59D3F /* ______UITestsLaunchTests.m */,
-			);
-			path = "双子星云手机UITests";
-			sourceTree = "<group>";
-		};
 		A08A94E227E9A4E300C544BB /* BGFMDB */ = {
 			isa = PBXGroup;
 			children = (
@@ -5561,7 +5536,6 @@
 			isa = PBXSourcesBuildPhase;
 			buildActionMask = 2147483647;
 			files = (
-				A02FF6B627D7054700D59D3F /* ______Tests.m in Sources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
@@ -5569,8 +5543,6 @@
 			isa = PBXSourcesBuildPhase;
 			buildActionMask = 2147483647;
 			files = (
-				A02FF6C227D7054700D59D3F /* ______UITestsLaunchTests.m in Sources */,
-				A02FF6C027D7054700D59D3F /* ______UITests.m in Sources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};

+ 0 - 36
创维盒子/双子星云手机Tests/______Tests.m

@@ -1,36 +0,0 @@
-//
-//  ______Tests.m
-//Tests
-//
-//  Created by yhw on 2022/3/8.
-//
-
-#import <XCTest/XCTest.h>
-
-@interface ______Tests : XCTestCase
-
-@end
-
-@implementation ______Tests
-
-- (void)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.
-}
-
-- (void)testExample {
-    // This is an example of a functional test case.
-    // Use XCTAssert and related functions to verify your tests produce the correct results.
-}
-
-- (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

+ 0 - 47
创维盒子/双子星云手机UITests/______UITests.m

@@ -1,47 +0,0 @@
-//
-//  ______UITests.m
-//UITests
-//
-//  Created by yhw on 2022/3/8.
-//
-
-#import <XCTest/XCTest.h>
-
-@interface ______UITests : XCTestCase
-
-@end
-
-@implementation ______UITests
-
-- (void)setUp {
-    // 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.
-    self.continueAfterFailure = NO;
-
-    // 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.
-}
-
-- (void)tearDown {
-    // Put teardown code here. This method is called after the invocation of each test method in the class.
-}
-
-- (void)testExample {
-    // UI tests must launch the application that they test.
-    XCUIApplication *app = [[XCUIApplication alloc] init];
-    [app launch];
-
-    // Use recording to get started writing UI tests.
-    // Use XCTAssert and related functions to verify your tests produce the correct results.
-}
-
-- (void)testLaunchPerformance {
-    if (@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 7.0, *)) {
-        // This measures how long it takes to launch your application.
-        [self measureWithMetrics:@[[[XCTApplicationLaunchMetric alloc] init]] block:^{
-            [[[XCUIApplication alloc] init] launch];
-        }];
-    }
-}
-
-@end

+ 0 - 37
创维盒子/双子星云手机UITests/______UITestsLaunchTests.m

@@ -1,37 +0,0 @@
-//
-//  ______UITestsLaunchTests.m
-//UITests
-//
-//  Created by yhw on 2022/3/8.
-//
-
-#import <XCTest/XCTest.h>
-
-@interface ______UITestsLaunchTests : XCTestCase
-
-@end
-
-@implementation ______UITestsLaunchTests
-
-+ (BOOL)runsForEachTargetApplicationUIConfiguration {
-    return YES;
-}
-
-- (void)setUp {
-    self.continueAfterFailure = NO;
-}
-
-- (void)testLaunch {
-    XCUIApplication *app = [[XCUIApplication alloc] init];
-    [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
-
-    XCTAttachment *attachment = [XCTAttachment attachmentWithScreenshot:XCUIScreen.mainScreen.screenshot];
-    attachment.name = @"Launch Screen";
-    attachment.lifetime = XCTAttachmentLifetimeKeepAlways;
-    [self addAttachment:attachment];
-}
-
-@end