Rework TIC processing and added test cases
This commit is contained in:
1
storage/app/test/000E-0000000000-FILE.ZIP
Normal file
1
storage/app/test/000E-0000000000-FILE.ZIP
Normal file
@@ -0,0 +1 @@
|
||||
This is not really a ZIP file!
|
28
storage/app/test/000E-1700545740-bad_size.tic
Normal file
28
storage/app/test/000E-1700545740-bad_size.tic
Normal file
@@ -0,0 +1,28 @@
|
||||
Created by Typewriter, written by a developer
|
||||
File FILE.ZIP
|
||||
Area FILE_AREA
|
||||
Areadesc This is a file area name
|
||||
Desc This is the description of the file
|
||||
Replaces FILE.Z..
|
||||
From 100:1/0
|
||||
To 100:0/0
|
||||
Origin 100:10/11
|
||||
Size 15
|
||||
Crc 2B4F9097
|
||||
Path 100:10/11.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #1
|
||||
Path 100:10/10.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #2
|
||||
Path 100:10/0.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #3
|
||||
Path 100:1/0.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #4
|
||||
Seenby 100:10/10
|
||||
Seenby 100:10/11
|
||||
Seenby 100:10/12
|
||||
Seenby 100:10/13
|
||||
Seenby 100:10/0
|
||||
Seenby 100:10/100
|
||||
Seenby 100:10/200
|
||||
Seenby 100:10/300
|
||||
Seenby 100:1/0
|
||||
Seenby 100:1/100
|
||||
Seenby 100:1/200
|
||||
Seenby 100:1/300
|
||||
Pw PASSWORD
|
28
storage/app/test/000E-1700545740-file.tic
Normal file
28
storage/app/test/000E-1700545740-file.tic
Normal file
@@ -0,0 +1,28 @@
|
||||
Created by Typewriter, written by a developer
|
||||
File FILE.ZIP
|
||||
Area FILE_AREA
|
||||
Areadesc This is a file area name
|
||||
Desc This is the description of the file
|
||||
Replaces FILE.Z..
|
||||
From 100:1/0
|
||||
To 100:0/0
|
||||
Origin 100:10/11
|
||||
Size 31
|
||||
Crc 2B4F9097
|
||||
Path 100:10/11.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #1
|
||||
Path 100:10/10.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #2
|
||||
Path 100:10/0.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #3
|
||||
Path 100:1/0.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #4
|
||||
Seenby 100:10/10
|
||||
Seenby 100:10/11
|
||||
Seenby 100:10/12
|
||||
Seenby 100:10/13
|
||||
Seenby 100:10/0
|
||||
Seenby 100:10/100
|
||||
Seenby 100:10/200
|
||||
Seenby 100:10/300
|
||||
Seenby 100:1/0
|
||||
Seenby 100:1/100
|
||||
Seenby 100:1/200
|
||||
Seenby 100:1/300
|
||||
Pw PASSWORD
|
28
storage/app/test/000E-1700545740-invalid_crc.tic
Normal file
28
storage/app/test/000E-1700545740-invalid_crc.tic
Normal file
@@ -0,0 +1,28 @@
|
||||
Created by Typewriter, written by a developer
|
||||
File FILE.ZIP
|
||||
Area FILE_AREA
|
||||
Areadesc This is a file area name
|
||||
Desc This is the description of the file
|
||||
Replaces FILE.Z..
|
||||
From 100:1/0
|
||||
To 100:0/0
|
||||
Origin 100:10/11
|
||||
Size 31
|
||||
Crc DEADBEEF
|
||||
Path 100:10/11.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #1
|
||||
Path 100:10/10.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #2
|
||||
Path 100:10/0.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #3
|
||||
Path 100:1/0.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #4
|
||||
Seenby 100:10/10
|
||||
Seenby 100:10/11
|
||||
Seenby 100:10/12
|
||||
Seenby 100:10/13
|
||||
Seenby 100:10/0
|
||||
Seenby 100:10/100
|
||||
Seenby 100:10/200
|
||||
Seenby 100:10/300
|
||||
Seenby 100:1/0
|
||||
Seenby 100:1/100
|
||||
Seenby 100:1/200
|
||||
Seenby 100:1/300
|
||||
Pw PASSWORD
|
28
storage/app/test/000E-1700545740-no_area.tic
Normal file
28
storage/app/test/000E-1700545740-no_area.tic
Normal file
@@ -0,0 +1,28 @@
|
||||
Created by Typewriter, written by a developer
|
||||
File FILE.ZIP
|
||||
Area NO_FILE_AREA
|
||||
Areadesc This is a file area name
|
||||
Desc This is the description of the file
|
||||
Replaces FILE.Z..
|
||||
From 100:1/0
|
||||
To 100:0/0
|
||||
Origin 100:10/11
|
||||
Size 31
|
||||
Crc 2B4F9097
|
||||
Path 100:10/11.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #1
|
||||
Path 100:10/10.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #2
|
||||
Path 100:10/0.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #3
|
||||
Path 100:1/0.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #4
|
||||
Seenby 100:10/10
|
||||
Seenby 100:10/11
|
||||
Seenby 100:10/12
|
||||
Seenby 100:10/13
|
||||
Seenby 100:10/0
|
||||
Seenby 100:10/100
|
||||
Seenby 100:10/200
|
||||
Seenby 100:10/300
|
||||
Seenby 100:1/0
|
||||
Seenby 100:1/100
|
||||
Seenby 100:1/200
|
||||
Seenby 100:1/300
|
||||
Pw PASSWORD
|
28
storage/app/test/000E-1700545740-no_file.tic
Normal file
28
storage/app/test/000E-1700545740-no_file.tic
Normal file
@@ -0,0 +1,28 @@
|
||||
Created by Typewriter, written by a developer
|
||||
File NO_FILE.ZIP
|
||||
Area FILE_AREA
|
||||
Areadesc This is a file area name
|
||||
Desc This is the description of the file
|
||||
Replaces FILE.Z..
|
||||
From 100:1/0
|
||||
To 100:0/0
|
||||
Origin 100:10/11
|
||||
Size 31
|
||||
Crc 2B4F9097
|
||||
Path 100:10/11.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #1
|
||||
Path 100:10/10.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #2
|
||||
Path 100:10/0.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #3
|
||||
Path 100:1/0.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #4
|
||||
Seenby 100:10/10
|
||||
Seenby 100:10/11
|
||||
Seenby 100:10/12
|
||||
Seenby 100:10/13
|
||||
Seenby 100:10/0
|
||||
Seenby 100:10/100
|
||||
Seenby 100:10/200
|
||||
Seenby 100:10/300
|
||||
Seenby 100:1/0
|
||||
Seenby 100:1/100
|
||||
Seenby 100:1/200
|
||||
Seenby 100:1/300
|
||||
Pw PASSWORD
|
28
storage/app/test/000E-1700545740-not_to_me.tic
Normal file
28
storage/app/test/000E-1700545740-not_to_me.tic
Normal file
@@ -0,0 +1,28 @@
|
||||
Created by Typewriter, written by a developer
|
||||
File FILE.ZIP
|
||||
Area FILE_AREA
|
||||
Areadesc This is a file area name
|
||||
Desc This is the description of the file
|
||||
Replaces FILE.Z..
|
||||
From 100:1/0
|
||||
To 100:10/0
|
||||
Origin 100:10/11
|
||||
Size 31
|
||||
Crc 2B4F9097
|
||||
Path 100:10/11.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #1
|
||||
Path 100:10/10.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #2
|
||||
Path 100:10/0.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #3
|
||||
Path 100:1/0.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #4
|
||||
Seenby 100:10/10
|
||||
Seenby 100:10/11
|
||||
Seenby 100:10/12
|
||||
Seenby 100:10/13
|
||||
Seenby 100:10/0
|
||||
Seenby 100:10/100
|
||||
Seenby 100:10/200
|
||||
Seenby 100:10/300
|
||||
Seenby 100:1/0
|
||||
Seenby 100:1/100
|
||||
Seenby 100:1/200
|
||||
Seenby 100:1/300
|
||||
Pw PASSWORD
|
28
storage/app/test/000E-1700545740-wrong_password.tic
Normal file
28
storage/app/test/000E-1700545740-wrong_password.tic
Normal file
@@ -0,0 +1,28 @@
|
||||
Created by Typewriter, written by a developer
|
||||
File FILE.ZIP
|
||||
Area FILE_AREA
|
||||
Areadesc This is a file area name
|
||||
Desc This is the description of the file
|
||||
Replaces FILE.Z..
|
||||
From 100:1/0
|
||||
To 100:0/0
|
||||
Origin 100:10/11
|
||||
Size 31
|
||||
Crc 2B4F9097
|
||||
Path 100:10/11.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #1
|
||||
Path 100:10/10.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #2
|
||||
Path 100:10/0.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #3
|
||||
Path 100:1/0.0 1700140806 Thu Nov 16 13:20:06 2023 UTC some/thing 0.0 2022-07-03 Path #4
|
||||
Seenby 100:10/10
|
||||
Seenby 100:10/11
|
||||
Seenby 100:10/12
|
||||
Seenby 100:10/13
|
||||
Seenby 100:10/0
|
||||
Seenby 100:10/100
|
||||
Seenby 100:10/200
|
||||
Seenby 100:10/300
|
||||
Seenby 100:1/0
|
||||
Seenby 100:1/100
|
||||
Seenby 100:1/200
|
||||
Seenby 100:1/300
|
||||
Pw WRONG
|
Reference in New Issue
Block a user