Преглед изворни кода

参数配置 - 1.6.0 版本转档 SDK 各格式转档参数配置

zhudongyong пре 1 година
родитељ
комит
c7c42a2f2a

+ 4 - 0
KdanAutoTest/KdanAuto.xcodeproj/project.pbxproj

@@ -30,6 +30,7 @@
 		240934B72992737200839CC8 /* ImageProcess.swift in Sources */ = {isa = PBXBuildFile; fileRef = 240934B62992737200839CC8 /* ImageProcess.swift */; };
 		2411D9CD29ABAF36009DE4A8 /* PDFKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2411D9CC29ABAF36009DE4A8 /* PDFKit.framework */; };
 		2421BE4229C049A700E43F9F /* CryptoKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2421BE4129C049A700E43F9F /* CryptoKit.framework */; };
+		24258DC529E581ED00027DEA /* Command Line Tool.sh in Resources */ = {isa = PBXBuildFile; fileRef = 24258DC429E581ED00027DEA /* Command Line Tool.sh */; };
 		242F966D298BAE2200CFF56C /* Toggle_off.png in Resources */ = {isa = PBXBuildFile; fileRef = 242F966A298BAE2200CFF56C /* Toggle_off.png */; };
 		242F966E298BAE2200CFF56C /* Toggle_on.png in Resources */ = {isa = PBXBuildFile; fileRef = 242F966B298BAE2200CFF56C /* Toggle_on.png */; };
 		242F966F298BAE2200CFF56C /* Toggle_half.png in Resources */ = {isa = PBXBuildFile; fileRef = 242F966C298BAE2200CFF56C /* Toggle_half.png */; };
@@ -156,6 +157,7 @@
 		2411D9CC29ABAF36009DE4A8 /* PDFKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = PDFKit.framework; path = System/Library/Frameworks/PDFKit.framework; sourceTree = SDKROOT; };
 		2421BE3F29C0489400E43F9F /* libcommonCrypto.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libcommonCrypto.tbd; path = usr/lib/system/libcommonCrypto.tbd; sourceTree = SDKROOT; };
 		2421BE4129C049A700E43F9F /* CryptoKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CryptoKit.framework; path = System/Library/Frameworks/CryptoKit.framework; sourceTree = SDKROOT; };
+		24258DC429E581ED00027DEA /* Command Line Tool.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = "Command Line Tool.sh"; sourceTree = "<group>"; };
 		242F966A298BAE2200CFF56C /* Toggle_off.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Toggle_off.png; sourceTree = "<group>"; };
 		242F966B298BAE2200CFF56C /* Toggle_on.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Toggle_on.png; sourceTree = "<group>"; };
 		242F966C298BAE2200CFF56C /* Toggle_half.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Toggle_half.png; sourceTree = "<group>"; };
@@ -556,6 +558,7 @@
 		24D7FFF9292B4FF500DAB5EE /* Setting */ = {
 			isa = PBXGroup;
 			children = (
+				24258DC429E581ED00027DEA /* Command Line Tool.sh */,
 				24E3165C29DC35A20009E358 /* UpdateSDK.sh */,
 				24D7FFFA292B501100DAB5EE /* SettingViewController.swift */,
 				24D7FFFF292B6FD100DAB5EE /* SettingViewController.xib */,
@@ -769,6 +772,7 @@
 			files = (
 				24CA2338298FD6BE00038E10 /* ImageCompareCellView.xib in Resources */,
 				242F966E298BAE2200CFF56C /* Toggle_on.png in Resources */,
+				24258DC529E581ED00027DEA /* Command Line Tool.sh in Resources */,
 				246FE5A1299E0FCD00706586 /* LICENSE in Resources */,
 				24DCE8A8295046A5004EBA35 /* TestCaseCellView.xib in Resources */,
 				24E3165D29DC35A20009E358 /* UpdateSDK.sh in Resources */,

BIN
KdanAutoTest/KdanAuto.xcodeproj/project.xcworkspace/xcuserdata/zhudongyong.xcuserdatad/UserInterfaceState.xcuserstate


+ 298 - 0
KdanAutoTest/KdanAuto/Class/AutoTestCase/AutoTestProperty.plist

@@ -125,6 +125,65 @@
 			<key>Class</key>
 			<string>AutoTest</string>
 		</dict>
+		<dict>
+			<key>Type</key>
+			<string>Others:OCR(New)</string>
+			<key>Extention</key>
+			<string>docx</string>
+			<key>Name</key>
+			<string>快照对比:OCR(新库)</string>
+			<key>Class</key>
+			<string>AutoTest</string>
+			<key>Params</key>
+			<dict>
+				<key>Options</key>
+				<dict>
+					<key>160</key>
+					<array>
+						<dict>
+							<key>Property</key>
+							<string>isAllowOCR</string>
+							<key>ValueType</key>
+							<string>BOOL</string>
+							<key>Value</key>
+							<true/>
+						</dict>
+						<dict>
+							<key>Property</key>
+							<string>isContainOCRBgImage</string>
+							<key>ValueType</key>
+							<string>BOOL</string>
+							<key>Value</key>
+							<true/>
+						</dict>
+						<dict>
+							<key>Property</key>
+							<string>language</string>
+							<key>ValueType</key>
+							<string>NSInteger</string>
+							<key>Value</key>
+							<integer>0</integer>
+						</dict>
+						<dict>
+							<key>Property</key>
+							<string>isContainAnnotations</string>
+							<key>ValueType</key>
+							<string>BOOL</string>
+							<key>Value</key>
+							<true/>
+						</dict>
+						<dict>
+							<key>Property</key>
+							<string>isContainImages</string>
+							<key>ValueType</key>
+							<string>BOOL</string>
+							<key>Value</key>
+							<true/>
+						</dict>
+					</array>
+				</dict>
+			</dict>
+		</dict>
 	</array>
 	<key>PPT</key>
 	<array>
@@ -153,6 +212,65 @@
 			<key>Class</key>
 			<string>AutoTest</string>
 		</dict>
+		<dict>
+			<key>Type</key>
+			<string>Others:OCR(New)</string>
+			<key>Extention</key>
+			<string>pptx</string>
+			<key>Name</key>
+			<string>快照对比:OCR(新库)</string>
+			<key>Class</key>
+			<string>AutoTest</string>
+			<key>Params</key>
+			<dict>
+				<key>Options</key>
+				<dict>
+					<key>160</key>
+					<array>
+						<dict>
+							<key>Property</key>
+							<string>isAllowOCR</string>
+							<key>ValueType</key>
+							<string>BOOL</string>
+							<key>Value</key>
+							<true/>
+						</dict>
+						<dict>
+							<key>Property</key>
+							<string>isContainOCRBgImage</string>
+							<key>ValueType</key>
+							<string>BOOL</string>
+							<key>Value</key>
+							<true/>
+						</dict>
+						<dict>
+							<key>Property</key>
+							<string>language</string>
+							<key>ValueType</key>
+							<string>NSInteger</string>
+							<key>Value</key>
+							<integer>0</integer>
+						</dict>
+						<dict>
+							<key>Property</key>
+							<string>isContainAnnotations</string>
+							<key>ValueType</key>
+							<string>BOOL</string>
+							<key>Value</key>
+							<true/>
+						</dict>
+						<dict>
+							<key>Property</key>
+							<string>isContainImages</string>
+							<key>ValueType</key>
+							<string>BOOL</string>
+							<key>Value</key>
+							<true/>
+						</dict>
+					</array>
+				</dict>
+			</dict>
+		</dict>
 	</array>
 	<key>Excel</key>
 	<array>
@@ -181,6 +299,65 @@
 			<key>Class</key>
 			<string>AutoTest</string>
 		</dict>
+		<dict>
+			<key>Type</key>
+			<string>Others:OCR(New)</string>
+			<key>Extention</key>
+			<string>xlsx</string>
+			<key>Name</key>
+			<string>快照对比:OCR(新库)</string>
+			<key>Class</key>
+			<string>AutoTest</string>
+			<key>Params</key>
+			<dict>
+				<key>Options</key>
+				<dict>
+					<key>160</key>
+					<array>
+						<dict>
+							<key>Property</key>
+							<string>isAllowOCR</string>
+							<key>ValueType</key>
+							<string>BOOL</string>
+							<key>Value</key>
+							<true/>
+						</dict>
+						<dict>
+							<key>Property</key>
+							<string>isContainOCRBgImage</string>
+							<key>ValueType</key>
+							<string>BOOL</string>
+							<key>Value</key>
+							<true/>
+						</dict>
+						<dict>
+							<key>Property</key>
+							<string>language</string>
+							<key>ValueType</key>
+							<string>NSInteger</string>
+							<key>Value</key>
+							<integer>0</integer>
+						</dict>
+						<dict>
+							<key>Property</key>
+							<string>isContainAnnotations</string>
+							<key>ValueType</key>
+							<string>BOOL</string>
+							<key>Value</key>
+							<true/>
+						</dict>
+						<dict>
+							<key>Property</key>
+							<string>isContainImages</string>
+							<key>ValueType</key>
+							<string>BOOL</string>
+							<key>Value</key>
+							<true/>
+						</dict>
+					</array>
+				</dict>
+			</dict>
+		</dict>
 	</array>
 	<key>CSV</key>
 	<array>
@@ -226,6 +403,33 @@
 			<key>Name</key>
 			<string>快照对比(新库)</string>
 		</dict>
+		<dict>
+			<key>Type</key>
+			<string>AllInOne(New)</string>
+			<key>Name</key>
+			<string>合并导出快照对比(New)</string>
+			<key>Extention</key>
+			<string>csv</string>
+			<key>Class</key>
+			<string>AutoTest</string>
+			<key>Params</key>
+			<dict>
+				<key>Options</key>
+				<dict>
+					<key>160</key>
+					<array>
+						<dict>
+							<key>Property</key>
+							<string>isMergeCSV</string>
+							<key>ValueType</key>
+							<string>BOOL</string>
+							<key>Value</key>
+							<true/>
+						</dict>
+					</array>
+				</dict>
+			</dict>
+		</dict>
 	</array>
 	<key>HTML</key>
 	<array>
@@ -298,6 +502,65 @@
 				</dict>
 			</dict>
 		</dict>
+		<dict>
+			<key>Type</key>
+			<string>SinglePage:OCR(New)</string>
+			<key>Extention</key>
+			<string>html</string>
+			<key>Name</key>
+			<string>单页:OCR(新库)</string>
+			<key>Class</key>
+			<string>AutoTest</string>
+			<key>Params</key>
+			<dict>
+				<key>Options</key>
+				<dict>
+					<key>160</key>
+					<array>
+						<dict>
+							<key>Property</key>
+							<string>paneOptions</string>
+							<key>ValueType</key>
+							<string>NSInteger</string>
+							<key>Value</key>
+							<integer>0</integer>
+						</dict>
+						<dict>
+							<key>Property</key>
+							<string>isAllowOCR</string>
+							<key>ValueType</key>
+							<string>BOOL</string>
+							<key>Value</key>
+							<true/>
+						</dict>
+						<dict>
+							<key>Property</key>
+							<string>language</string>
+							<key>ValueType</key>
+							<string>NSInteger</string>
+							<key>Value</key>
+							<integer>0</integer>
+						</dict>
+						<dict>
+							<key>Property</key>
+							<string>isContainAnnotations</string>
+							<key>ValueType</key>
+							<string>BOOL</string>
+							<key>Value</key>
+							<true/>
+						</dict>
+						<dict>
+							<key>Property</key>
+							<string>isContainImages</string>
+							<key>ValueType</key>
+							<string>BOOL</string>
+							<key>Value</key>
+							<true/>
+						</dict>
+					</array>
+				</dict>
+			</dict>
+		</dict>
 	</array>
 	<key>TXT</key>
 	<array>
@@ -520,6 +783,41 @@
 				</dict>
 			</dict>
 		</dict>
+		<dict>
+			<key>Type</key>
+			<string>Others-Anno(New)</string>
+			<key>Extention</key>
+			<string>png</string>
+			<key>Name</key>
+			<string>快照对比-含 Anno(新库)</string>
+			<key>Class</key>
+			<string>AutoTest</string>
+			<key>Params</key>
+			<dict>
+				<key>Options</key>
+				<dict>
+					<key>160</key>
+					<array>
+						<dict>
+							<key>Property</key>
+							<string>isContainAnnotations</string>
+							<key>ValueType</key>
+							<string>BOOL</string>
+							<key>Value</key>
+							<true/>
+						</dict>
+						<dict>
+							<key>Property</key>
+							<string>imageDpi</string>
+							<key>ValueType</key>
+							<string>int</string>
+							<key>Value</key>
+							<integer>216</integer>
+						</dict>
+					</array>
+				</dict>
+			</dict>
+		</dict>
 	</array>
 	<key>GIF</key>
 	<array>