Skip to content

Commit

Permalink
Update Test and Test Documents
Browse files Browse the repository at this point in the history
several added tests and documents for testing
  • Loading branch information
aigi committed Aug 14, 2015
1 parent 045f949 commit 951b12a
Show file tree
Hide file tree
Showing 21 changed files with 1,357 additions and 1,013 deletions.
4 changes: 4 additions & 0 deletions Table Tool.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
E1CEF8881B74B4310083B957 /* test-doc-unquoted.csv in Resources */ = {isa = PBXBuildFile; fileRef = E1CEF8871B74B4310083B957 /* test-doc-unquoted.csv */; };
E1CEF88C1B79E5360083B957 /* Reading Test Documents in Resources */ = {isa = PBXBuildFile; fileRef = E1CEF88B1B79E5360083B957 /* Reading Test Documents */; };
E1CEF8921B7B4E5E0083B957 /* test-doc-quoted.csv in Resources */ = {isa = PBXBuildFile; fileRef = E1CEF8911B7B4E5E0083B957 /* test-doc-quoted.csv */; };
E1CEF89A1B7CC4250083B957 /* Heuristic Test Documents in Resources */ = {isa = PBXBuildFile; fileRef = E1CEF8991B7CC4250083B957 /* Heuristic Test Documents */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -71,6 +72,7 @@
E1CEF8871B74B4310083B957 /* test-doc-unquoted.csv */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "test-doc-unquoted.csv"; sourceTree = "<group>"; };
E1CEF88B1B79E5360083B957 /* Reading Test Documents */ = {isa = PBXFileReference; lastKnownFileType = folder; path = "Reading Test Documents"; sourceTree = "<group>"; };
E1CEF8911B7B4E5E0083B957 /* test-doc-quoted.csv */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "test-doc-quoted.csv"; sourceTree = "<group>"; };
E1CEF8991B7CC4250083B957 /* Heuristic Test Documents */ = {isa = PBXFileReference; lastKnownFileType = folder; path = "Heuristic Test Documents"; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -155,6 +157,7 @@
E1CC84FA1B4A5F2A00ED8314 /* Table_ToolTests.m */,
E1CEF8911B7B4E5E0083B957 /* test-doc-quoted.csv */,
E1CEF8871B74B4310083B957 /* test-doc-unquoted.csv */,
E1CEF8991B7CC4250083B957 /* Heuristic Test Documents */,
E1CEF88B1B79E5360083B957 /* Reading Test Documents */,
E1CC84F81B4A5F2A00ED8314 /* Supporting Files */,
);
Expand Down Expand Up @@ -263,6 +266,7 @@
files = (
E1CEF88C1B79E5360083B957 /* Reading Test Documents in Resources */,
E1CEF8881B74B4310083B957 /* test-doc-unquoted.csv in Resources */,
E1CEF89A1B7CC4250083B957 /* Heuristic Test Documents in Resources */,
E1CEF8921B7B4E5E0083B957 /* test-doc-quoted.csv in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,36 @@
<string>Local Baseline</string>
</dict>
</dict>
<key>testPerformanceHeuristic</key>
<dict>
<key>com.apple.XCTPerformanceMetric_WallClockTime</key>
<dict>
<key>baselineAverage</key>
<real>0.05</real>
<key>baselineIntegrationDisplayName</key>
<string>Local Baseline</string>
</dict>
</dict>
<key>testPerformanceReaderQuotedValues</key>
<dict>
<key>com.apple.XCTPerformanceMetric_WallClockTime</key>
<dict>
<key>baselineAverage</key>
<real>0.07</real>
<key>baselineIntegrationDisplayName</key>
<string>Local Baseline</string>
</dict>
</dict>
<key>testPerformanceReaderUnquotedValues</key>
<dict>
<key>com.apple.XCTPerformanceMetric_WallClockTime</key>
<dict>
<key>baselineAverage</key>
<real>0.06</real>
<key>baselineIntegrationDisplayName</key>
<string>Local Baseline</string>
</dict>
</dict>
<key>testReadQuotedCSVFile</key>
<dict>
<key>com.apple.XCTPerformanceMetric_WallClockTime</key>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
id,name,birth,weight,comment
1,"John Smith",01/01/1989,73.3,"I want a 42"" TV screen"
2,"Elisabeth Smith",01-02-1999,500e-1,"I want a 3,5"" mobile phone"
3,"Lukas Mohr",03.03.2000,60.3,"A simple; \ , test"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
id,name,birth,weight,comment
1,"John Smith",01/01/1989,73.3,"I want a 42\" TV screen"
2,"Elisabeth Smith",01-02-1999,500e-1,"I want a 3,5\" mobile phone\""
3,"Lukas Mohr",03.03.2000,60.3,"A simple; \\ , \" test"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
id,name,birth,weight,comment
1,"John Smith",01/01/1989,"73,3","I want a 42"" TV screen"
2,"Elisabeth Smith",01-02-1999,500e-1,"I want a 3,5"" mobile phone"
3,"Lukas Mohr",03.03.2000,"60,3","A simple; \ , "" test"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
id;name;birth;weight;comment
1;"John Smith";01/01/1989;73,3;"I want a 42"" TV screen"
2;"Elisabeth Smith";01-02-1999;500e-1;"I want a 3,5"" mobile phone"
3;"Lukas Mohr";03.03.2000;60,3;"A simple; \ , test"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
id name birth weight comment
1 "John Smith" 01/01/1989 73.3 "I want a 42"" TV screen"
2 "Elisabeth Smith" 01-02-1999 500e-1 "I want a 3,5"" mobile phone"
3 "Lukas Mohr" 03.03.2000 60.3 "A simple; \ , test"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
id name birth weight comment
1 "John Smith" 01/01/1989 73,3 "I want a 42"" TV screen"
2 "Elisabeth Smith" 01-02-1999 500e-1 "I want a 3,5"" mobile phone"
3 "Lukas Mohr" 03.03.2000 60,3 "A simple; \ , test"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
id;name;birth;weight;comment
1;"John Smith";01/01/1989;73,3;"I want a 42\" TV screen"
2;"Elisabeth Smith";01-02-1999;500e-1;"I want a 3,5\" mobile phone\""
3;"Lukas Mohr";03.03.2000;60,3;"A simple; \\ , \"test"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
id,name,birth,weight,comment
1,John Smith,01/01/1989,73.3,I want a 42" TV screen
2,Elisabeth Smith,01-02-1999,500e-1,I want a 3.5" mobile phone
3,Lukas Mohr,03.03.2000,60.3,A simple; \ " test
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
id;name;birth;weight;comment
1;John Smith;01/01/1989;73,3;I want a 42" TV screen
2;Elisabeth Smith;01-02-1999;500e-1;I want a 3,5" mobile phone
3;Lukas Mohr;03.03.2000;60,3;A simple \ , " test"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
id name birth weight comment
1 John Smith 01/01/1989 73.3 I want a 42" TV screen
2 Elisabeth Smith 01-02-1999 500e-1 I want a 3,5" mobile phone
3 Lukas Mohr 03.03.2000 60.3 A simple; \ , "test
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
id name birth weight comment
1 John Smith 01/01/1989 73,3 I want a 42" TV screen
2 Elisabeth Smith 01-02-1999 500e-1 I want a 3,5" mobile phone
3 Lukas Mohr 03.03.2000 60,3 A simple; \ , " test
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
id,name,birth,weight,comment,tooMuch
1,John Smith,01/01/1989,73.3,I want a 42 inch TV screen
2,Elisabeth Smith,01-02-1999,500e-1,I want a 3,5 inch mobile phone
3,Lukas Mohr,03.03.2000,60.3,A simple; \ test
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
id,name,birth,weight,comment
1,John Smith,01/01/1989,73.3,I want a 42 inch TV screen
2,Elisabeth Smith,01-02-1999,500e-1,I want a 3,5 inch mobile phone
3,Lukas Mohr,03.03.2000,60.3,A simple; \ test

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
id,name,birth,7.3,comment
1,John Smith,01/01/1989,73.3,I want a 42 inch TV screen
2,Elisabeth Smith,01-02-1999,500e-1,I want a 3,5 inch mobile phone
3,Lukas Mohr,03.03.2000,60.3,A simple; \ test
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"Ung�ltig","b,","""c""",""
1 change: 0 additions & 1 deletion Table ToolTests/Reading Test Documents/invalid-quote.csv

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"iPhone",5" Display,"444"
Loading

0 comments on commit 951b12a

Please sign in to comment.