Skip to content

Commit 4b0fde5

Browse files
committed
rm: codecov
1 parent 91e6be3 commit 4b0fde5

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

EFQRCode.xcodeproj/project.pbxproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -999,6 +999,7 @@
999999
PRODUCT_NAME = "$(TARGET_NAME)";
10001000
SDKROOT = appletvos;
10011001
SWIFT_VERSION = 5.0;
1002+
TVOS_DEPLOYMENT_TARGET = 13;
10021003
};
10031004
name = Debug;
10041005
};
@@ -1019,6 +1020,7 @@
10191020
PRODUCT_NAME = "$(TARGET_NAME)";
10201021
SDKROOT = appletvos;
10211022
SWIFT_VERSION = 5.0;
1023+
TVOS_DEPLOYMENT_TARGET = 13;
10221024
};
10231025
name = Release;
10241026
};
@@ -1348,6 +1350,7 @@
13481350
"$(inherited)",
13491351
);
13501352
INFOPLIST_FILE = Tests/Info.plist;
1353+
IPHONEOS_DEPLOYMENT_TARGET = 13;
13511354
LD_RUNPATH_SEARCH_PATHS = (
13521355
"$(inherited)",
13531356
"@executable_path/Frameworks",
@@ -1367,6 +1370,7 @@
13671370
DEVELOPMENT_TEAM = "";
13681371
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
13691372
INFOPLIST_FILE = Tests/Info.plist;
1373+
IPHONEOS_DEPLOYMENT_TARGET = 13;
13701374
LD_RUNPATH_SEARCH_PATHS = (
13711375
"$(inherited)",
13721376
"@executable_path/Frameworks",
@@ -1401,6 +1405,7 @@
14011405
"@executable_path/../Frameworks",
14021406
"@loader_path/../Frameworks",
14031407
);
1408+
MACOSX_DEPLOYMENT_TARGET = 10.15;
14041409
PRODUCT_BUNDLE_IDENTIFIER = "org.eyrefree.$(PRODUCT_NAME:rfc1034identifier)";
14051410
PRODUCT_NAME = "$(TARGET_NAME)";
14061411
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -1429,6 +1434,7 @@
14291434
"@executable_path/../Frameworks",
14301435
"@loader_path/../Frameworks",
14311436
);
1437+
MACOSX_DEPLOYMENT_TARGET = 10.15;
14321438
PRODUCT_BUNDLE_IDENTIFIER = "org.eyrefree.$(PRODUCT_NAME:rfc1034identifier)";
14331439
PRODUCT_NAME = "$(TARGET_NAME)";
14341440
PROVISIONING_PROFILE_SPECIFIER = "";

Tests/Tests.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class Tests: XCTestCase {
5252
// This is an example of EFQRCodeGenerator test case.
5353
let content = "https://github.com/EFPrefix/EFQRCode"
5454
let generator = try? EFQRCode.Generator(content, style: .basic(params: .init()))
55-
let testResult = try? generator?.toImage(width: 256).cgImage
55+
let testResult = try? generator?.toImage(width: 256).cgImage()
5656
XCTAssertNotNil(testResult, "testResult is nil!")
5757

5858
// This is an example of EFQRCodeRecognizer test case.
@@ -65,7 +65,7 @@ class Tests: XCTestCase {
6565
// This is an example of EFQRCodeGenerator test case.
6666
let content = ""
6767
let generator = try? EFQRCode.Generator(content, style: .bubble(params: .init()))
68-
let testResult = try? generator?.toImage(width: 180).cgImage
68+
let testResult = try? generator?.toImage(width: 180).cgImage()
6969
XCTAssertNotNil(testResult, "testResult is nil!")
7070

7171
// This is an example of EFQRCodeRecognizer test case.
@@ -77,8 +77,8 @@ class Tests: XCTestCase {
7777
func testExample3() {
7878
// This is an example of EFQRCodeGenerator test case.
7979
let content = "3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989"
80-
let generator = try? EFQRCode.Generator(content, style: .bubble(params: .init()))
81-
let testResult = try? generator?.toImage(width: 180).cgImage
80+
let generator = try? EFQRCode.Generator(content, style: .dsj(params: .init()))
81+
let testResult = try? generator?.toImage(width: 800).cgImage()
8282
XCTAssertNotNil(testResult, "testResult is nil!")
8383

8484
// This is an example of EFQRCodeRecognizer test case.
@@ -96,7 +96,7 @@ class Tests: XCTestCase {
9696
image: .init(image: .static(image: getImage()), allowTransparent: true))
9797
)
9898
)
99-
let testResult = try? generator?.toImage(width: 180).cgImage
99+
let testResult = try? generator?.toImage(width: 180).cgImage()
100100
XCTAssertNotNil(testResult, "testResult is nil!")
101101
}
102102

codecov.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)