From 39858b76a7ffbfa54c75ce69d887944d3b99b382 Mon Sep 17 00:00:00 2001 From: Apollo3zehn Date: Mon, 26 Aug 2024 13:12:41 +0200 Subject: [PATCH] Fix tests --- .../StructuredFileDataSourceTests.cs | 2 +- .../expected/A.json | 6 +++--- .../expected/B.json | 6 +++--- .../expected/C.json | 6 +++--- .../expected/D.json | 6 +++--- .../expected/E.json | 4 ++-- .../expected/F.json | 6 +++--- .../expected/G.json | 8 ++++---- .../expected/H.json | 6 +++--- .../expected/I.json | 4 ++-- .../expected/J.json | 6 +++--- .../expected/K.json | 2 +- .../expected/L.json | 8 ++++---- .../expected/M.json | 12 ++++++------ .../expected/N.json | 18 +++++++++--------- .../expected/O.json | 10 +++++----- .../expected/P.json | 4 ++-- 17 files changed, 57 insertions(+), 57 deletions(-) diff --git a/tests/Nexus.Sources.StructuredFile.Tests/StructuredFileDataSourceTests.cs b/tests/Nexus.Sources.StructuredFile.Tests/StructuredFileDataSourceTests.cs index 42fe77a..a266215 100644 --- a/tests/Nexus.Sources.StructuredFile.Tests/StructuredFileDataSourceTests.cs +++ b/tests/Nexus.Sources.StructuredFile.Tests/StructuredFileDataSourceTests.cs @@ -339,7 +339,7 @@ await dataSource.ReadAsync( .Select(x => x with { FileSource = default!, - FilePath = x.FilePath.Split("Nexus.Sources.StructuredFile.Tests")[1] + FilePath = x.FilePath.Split("/DATABASES/")[1] } ) .OrderBy(x => x.FilePath); diff --git a/tests/Nexus.Sources.StructuredFile.Tests/expected/A.json b/tests/Nexus.Sources.StructuredFile.Tests/expected/A.json index 9e186a8..50c5ba7 100644 --- a/tests/Nexus.Sources.StructuredFile.Tests/expected/A.json +++ b/tests/Nexus.Sources.StructuredFile.Tests/expected/A.json @@ -1,7 +1,7 @@ [ { "BufferOffset": 43200, - "FilePath": "/debug/DATABASES/A/DATA/calibrated/2019-12/2019-12-31/2019-12-31_12-00-00.dat", + "FilePath": "A/DATA/calibrated/2019-12/2019-12-31/2019-12-31_12-00-00.dat", "FileSource": null, "RegularFileBegin": "2019-12-31T12:00:00Z", "FileOffset": 0, @@ -10,7 +10,7 @@ }, { "BufferOffset": 172800, - "FilePath": "/debug/DATABASES/A/DATA/calibrated/2020-01/2020-01-02/2020-01-02_00-00-00.dat", + "FilePath": "A/DATA/calibrated/2020-01/2020-01-02/2020-01-02_00-00-00.dat", "FileSource": null, "RegularFileBegin": "2020-01-02T00:00:00Z", "FileOffset": 0, @@ -19,7 +19,7 @@ }, { "BufferOffset": 173400, - "FilePath": "/debug/DATABASES/A/DATA/calibrated/2020-01/2020-01-02/2020-01-02_00-10-00.dat", + "FilePath": "A/DATA/calibrated/2020-01/2020-01-02/2020-01-02_00-10-00.dat", "FileSource": null, "RegularFileBegin": "2020-01-02T00:10:00Z", "FileOffset": 0, diff --git a/tests/Nexus.Sources.StructuredFile.Tests/expected/B.json b/tests/Nexus.Sources.StructuredFile.Tests/expected/B.json index 3427bbc..74281d4 100644 --- a/tests/Nexus.Sources.StructuredFile.Tests/expected/B.json +++ b/tests/Nexus.Sources.StructuredFile.Tests/expected/B.json @@ -1,7 +1,7 @@ [ { "BufferOffset": 43200, - "FilePath": "/debug/DATABASES/B/DATA/2019-12/calibrated/2019-12-31/2019-12-31_12-00-00.dat", + "FilePath": "B/DATA/2019-12/calibrated/2019-12-31/2019-12-31_12-00-00.dat", "FileSource": null, "RegularFileBegin": "2019-12-31T12:00:00Z", "FileOffset": 0, @@ -10,7 +10,7 @@ }, { "BufferOffset": 172800, - "FilePath": "/debug/DATABASES/B/DATA/2020-01/calibrated/2020-01-02/2020-01-02_00-00-00.dat", + "FilePath": "B/DATA/2020-01/calibrated/2020-01-02/2020-01-02_00-00-00.dat", "FileSource": null, "RegularFileBegin": "2020-01-02T00:00:00Z", "FileOffset": 0, @@ -19,7 +19,7 @@ }, { "BufferOffset": 173400, - "FilePath": "/debug/DATABASES/B/DATA/2020-01/calibrated/2020-01-02/2020-01-02_00-10-00.dat", + "FilePath": "B/DATA/2020-01/calibrated/2020-01-02/2020-01-02_00-10-00.dat", "FileSource": null, "RegularFileBegin": "2020-01-02T00:10:00Z", "FileOffset": 0, diff --git a/tests/Nexus.Sources.StructuredFile.Tests/expected/C.json b/tests/Nexus.Sources.StructuredFile.Tests/expected/C.json index f77a9e4..ba9399f 100644 --- a/tests/Nexus.Sources.StructuredFile.Tests/expected/C.json +++ b/tests/Nexus.Sources.StructuredFile.Tests/expected/C.json @@ -1,7 +1,7 @@ [ { "BufferOffset": 43200, - "FilePath": "/debug/DATABASES/C/DATA/2019-12-31/__0_2019-12-31_12-00-00_000000.dat", + "FilePath": "C/DATA/2019-12-31/__0_2019-12-31_12-00-00_000000.dat", "FileSource": null, "RegularFileBegin": "2019-12-31T12:00:00Z", "FileOffset": 0, @@ -10,7 +10,7 @@ }, { "BufferOffset": 172800, - "FilePath": "/debug/DATABASES/C/DATA/2020-01-02/__0_2020-01-02_00-00-00_000000.dat", + "FilePath": "C/DATA/2020-01-02/__0_2020-01-02_00-00-00_000000.dat", "FileSource": null, "RegularFileBegin": "2020-01-02T00:00:00Z", "FileOffset": 0, @@ -19,7 +19,7 @@ }, { "BufferOffset": 173400, - "FilePath": "/debug/DATABASES/C/DATA/2020-01-02/__0_2020-01-02_00-10-00_000000.dat", + "FilePath": "C/DATA/2020-01-02/__0_2020-01-02_00-10-00_000000.dat", "FileSource": null, "RegularFileBegin": "2020-01-02T00:10:00Z", "FileOffset": 0, diff --git a/tests/Nexus.Sources.StructuredFile.Tests/expected/D.json b/tests/Nexus.Sources.StructuredFile.Tests/expected/D.json index 2c32def..79f0e2b 100644 --- a/tests/Nexus.Sources.StructuredFile.Tests/expected/D.json +++ b/tests/Nexus.Sources.StructuredFile.Tests/expected/D.json @@ -1,7 +1,7 @@ [ { "BufferOffset": 36000, - "FilePath": "/debug/DATABASES/D/DATA/position_A/__0_2019-12-31_12-00-00_000000.dat", + "FilePath": "D/DATA/position_A/__0_2019-12-31_12-00-00_000000.dat", "FileSource": null, "RegularFileBegin": "2019-12-31T10:00:00Z", "FileOffset": 0, @@ -10,7 +10,7 @@ }, { "BufferOffset": 165600, - "FilePath": "/debug/DATABASES/D/DATA/position_A/__0_2020-01-02_00-00-00_000000.dat", + "FilePath": "D/DATA/position_A/__0_2020-01-02_00-00-00_000000.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T22:00:00Z", "FileOffset": 0, @@ -19,7 +19,7 @@ }, { "BufferOffset": 166200, - "FilePath": "/debug/DATABASES/D/DATA/position_A/__0_2020-01-02_00-10-00_000000.dat", + "FilePath": "D/DATA/position_A/__0_2020-01-02_00-10-00_000000.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T22:10:00Z", "FileOffset": 0, diff --git a/tests/Nexus.Sources.StructuredFile.Tests/expected/E.json b/tests/Nexus.Sources.StructuredFile.Tests/expected/E.json index 02fb234..b0439c5 100644 --- a/tests/Nexus.Sources.StructuredFile.Tests/expected/E.json +++ b/tests/Nexus.Sources.StructuredFile.Tests/expected/E.json @@ -1,7 +1,7 @@ [ { "BufferOffset": 86400, - "FilePath": "/debug/DATABASES/E/DATA/2020-01/prefix_average_data_2020-01-01_00-00-00.dat", + "FilePath": "E/DATA/2020-01/prefix_average_data_2020-01-01_00-00-00.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T00:00:00Z", "FileOffset": 0, @@ -10,7 +10,7 @@ }, { "BufferOffset": 172800, - "FilePath": "/debug/DATABASES/E/DATA/2020-01/prefix_average_data_2020-01-02_00-00-00.dat", + "FilePath": "E/DATA/2020-01/prefix_average_data_2020-01-02_00-00-00.dat", "FileSource": null, "RegularFileBegin": "2020-01-02T00:00:00Z", "FileOffset": 0, diff --git a/tests/Nexus.Sources.StructuredFile.Tests/expected/F.json b/tests/Nexus.Sources.StructuredFile.Tests/expected/F.json index 5860c0c..c042835 100644 --- a/tests/Nexus.Sources.StructuredFile.Tests/expected/F.json +++ b/tests/Nexus.Sources.StructuredFile.Tests/expected/F.json @@ -1,7 +1,7 @@ [ { "BufferOffset": 43200, - "FilePath": "/debug/DATABASES/F/DATA/2019-12/20191231_12_x_0000.dat", + "FilePath": "F/DATA/2019-12/20191231_12_x_0000.dat", "FileSource": null, "RegularFileBegin": "2019-12-31T12:00:00Z", "FileOffset": 0, @@ -10,7 +10,7 @@ }, { "BufferOffset": 172800, - "FilePath": "/debug/DATABASES/F/DATA/2020-01/20200102_00_x_0001.dat", + "FilePath": "F/DATA/2020-01/20200102_00_x_0001.dat", "FileSource": null, "RegularFileBegin": "2020-01-02T00:00:00Z", "FileOffset": 0, @@ -19,7 +19,7 @@ }, { "BufferOffset": 176400, - "FilePath": "/debug/DATABASES/F/DATA/2020-01/20200102_01_x_0002.dat", + "FilePath": "F/DATA/2020-01/20200102_01_x_0002.dat", "FileSource": null, "RegularFileBegin": "2020-01-02T01:00:00Z", "FileOffset": 0, diff --git a/tests/Nexus.Sources.StructuredFile.Tests/expected/G.json b/tests/Nexus.Sources.StructuredFile.Tests/expected/G.json index 2bb9ab7..5bd920b 100644 --- a/tests/Nexus.Sources.StructuredFile.Tests/expected/G.json +++ b/tests/Nexus.Sources.StructuredFile.Tests/expected/G.json @@ -1,7 +1,7 @@ [ { "BufferOffset": 88822, - "FilePath": "/debug/DATABASES/G/DATA/prefix_01-01-2020/00-40-22.dat", + "FilePath": "G/DATA/prefix_01-01-2020/00-40-22.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T00:40:22Z", "FileOffset": 0, @@ -10,7 +10,7 @@ }, { "BufferOffset": 92362, - "FilePath": "/debug/DATABASES/G/DATA/prefix_01-01-2020/01-39-22.dat", + "FilePath": "G/DATA/prefix_01-01-2020/01-39-22.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T01:39:22Z", "FileOffset": 0, @@ -19,7 +19,7 @@ }, { "BufferOffset": 2422, - "FilePath": "/debug/DATABASES/G/DATA/prefix_31-12-2019/00-40-22.dat", + "FilePath": "G/DATA/prefix_31-12-2019/00-40-22.dat", "FileSource": null, "RegularFileBegin": "2019-12-31T00:40:22Z", "FileOffset": 0, @@ -28,7 +28,7 @@ }, { "BufferOffset": 5962, - "FilePath": "/debug/DATABASES/G/DATA/prefix_31-12-2019/01-39-22.dat", + "FilePath": "G/DATA/prefix_31-12-2019/01-39-22.dat", "FileSource": null, "RegularFileBegin": "2019-12-31T01:39:22Z", "FileOffset": 0, diff --git a/tests/Nexus.Sources.StructuredFile.Tests/expected/H.json b/tests/Nexus.Sources.StructuredFile.Tests/expected/H.json index 49205e5..1f9db2b 100644 --- a/tests/Nexus.Sources.StructuredFile.Tests/expected/H.json +++ b/tests/Nexus.Sources.StructuredFile.Tests/expected/H.json @@ -1,7 +1,7 @@ [ { "BufferOffset": 43200, - "FilePath": "/debug/DATABASES/H/2019-12-31_12-00-00.dat", + "FilePath": "H/2019-12-31_12-00-00.dat", "FileSource": null, "RegularFileBegin": "2019-12-31T12:00:00Z", "FileOffset": 0, @@ -10,7 +10,7 @@ }, { "BufferOffset": 172800, - "FilePath": "/debug/DATABASES/H/2020-01-02_00-00-00.dat", + "FilePath": "H/2020-01-02_00-00-00.dat", "FileSource": null, "RegularFileBegin": "2020-01-02T00:00:00Z", "FileOffset": 0, @@ -19,7 +19,7 @@ }, { "BufferOffset": 173400, - "FilePath": "/debug/DATABASES/H/2020-01-02_00-10-00.dat", + "FilePath": "H/2020-01-02_00-10-00.dat", "FileSource": null, "RegularFileBegin": "2020-01-02T00:10:00Z", "FileOffset": 0, diff --git a/tests/Nexus.Sources.StructuredFile.Tests/expected/I.json b/tests/Nexus.Sources.StructuredFile.Tests/expected/I.json index 167e29a..75a40db 100644 --- a/tests/Nexus.Sources.StructuredFile.Tests/expected/I.json +++ b/tests/Nexus.Sources.StructuredFile.Tests/expected/I.json @@ -1,7 +1,7 @@ [ { "BufferOffset": 86100, - "FilePath": "/debug/DATABASES/I/DATA/2019-12-31_23-55-00/data.dat", + "FilePath": "I/DATA/2019-12-31_23-55-00/data.dat", "FileSource": null, "RegularFileBegin": "2019-12-31T23:55:00Z", "FileOffset": 0, @@ -10,7 +10,7 @@ }, { "BufferOffset": 87000, - "FilePath": "/debug/DATABASES/I/DATA/2020-01-01_00-10-00/data.dat", + "FilePath": "I/DATA/2020-01-01_00-10-00/data.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T00:10:00Z", "FileOffset": 0, diff --git a/tests/Nexus.Sources.StructuredFile.Tests/expected/J.json b/tests/Nexus.Sources.StructuredFile.Tests/expected/J.json index c8f39d1..c10ccc4 100644 --- a/tests/Nexus.Sources.StructuredFile.Tests/expected/J.json +++ b/tests/Nexus.Sources.StructuredFile.Tests/expected/J.json @@ -1,7 +1,7 @@ [ { "BufferOffset": 0, - "FilePath": "/debug/DATABASES/J/DATA1/2020_01_01.dat", + "FilePath": "J/DATA1/2020_01_01.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T00:00:00Z", "FileOffset": 0, @@ -10,7 +10,7 @@ }, { "BufferOffset": 86400, - "FilePath": "/debug/DATABASES/J/DATA1/2020-01-02.dat", + "FilePath": "J/DATA1/2020-01-02.dat", "FileSource": null, "RegularFileBegin": "2020-01-02T00:00:00Z", "FileOffset": 0, @@ -19,7 +19,7 @@ }, { "BufferOffset": 259200, - "FilePath": "/debug/DATABASES/J/DATA2/2020-01-04.dat", + "FilePath": "J/DATA2/2020-01-04.dat", "FileSource": null, "RegularFileBegin": "2020-01-04T00:00:00Z", "FileOffset": 0, diff --git a/tests/Nexus.Sources.StructuredFile.Tests/expected/K.json b/tests/Nexus.Sources.StructuredFile.Tests/expected/K.json index fc02f5f..5179cf8 100644 --- a/tests/Nexus.Sources.StructuredFile.Tests/expected/K.json +++ b/tests/Nexus.Sources.StructuredFile.Tests/expected/K.json @@ -1,7 +1,7 @@ [ { "BufferOffset": 0, - "FilePath": "/debug/DATABASES/K/DATA/2020-01-01T00-00-00Z.dat", + "FilePath": "K/DATA/2020-01-01T00-00-00Z.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T00:00:00Z", "FileOffset": 0, diff --git a/tests/Nexus.Sources.StructuredFile.Tests/expected/L.json b/tests/Nexus.Sources.StructuredFile.Tests/expected/L.json index d85978b..7c6309b 100644 --- a/tests/Nexus.Sources.StructuredFile.Tests/expected/L.json +++ b/tests/Nexus.Sources.StructuredFile.Tests/expected/L.json @@ -1,7 +1,7 @@ [ { "BufferOffset": 0, - "FilePath": "/debug/DATABASES/L/DATA/2020-01-01T00-00-00Z_V1.dat", + "FilePath": "L/DATA/2020-01-01T00-00-00Z_V1.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T00:00:00Z", "FileOffset": 0, @@ -10,7 +10,7 @@ }, { "BufferOffset": 86400, - "FilePath": "/debug/DATABASES/L/DATA/2020-01-02T00-00-00Z_V1.dat", + "FilePath": "L/DATA/2020-01-02T00-00-00Z_V1.dat", "FileSource": null, "RegularFileBegin": "2020-01-02T00:00:00Z", "FileOffset": 0, @@ -19,7 +19,7 @@ }, { "BufferOffset": 86400, - "FilePath": "/debug/DATABASES/L/DATA/2020-01-02T00-00-00Z_V2.dat", + "FilePath": "L/DATA/2020-01-02T00-00-00Z_V2.dat", "FileSource": null, "RegularFileBegin": "2020-01-02T00:00:00Z", "FileOffset": 0, @@ -28,7 +28,7 @@ }, { "BufferOffset": 172800, - "FilePath": "/debug/DATABASES/L/DATA/2020-01-03T00-00-00Z_V2.dat", + "FilePath": "L/DATA/2020-01-03T00-00-00Z_V2.dat", "FileSource": null, "RegularFileBegin": "2020-01-03T00:00:00Z", "FileOffset": 0, diff --git a/tests/Nexus.Sources.StructuredFile.Tests/expected/M.json b/tests/Nexus.Sources.StructuredFile.Tests/expected/M.json index 678b3dd..817415b 100644 --- a/tests/Nexus.Sources.StructuredFile.Tests/expected/M.json +++ b/tests/Nexus.Sources.StructuredFile.Tests/expected/M.json @@ -1,7 +1,7 @@ [ { "BufferOffset": 5723, - "FilePath": "/debug/DATABASES/M/DATA/2020-01-01T01-35-23Z.dat", + "FilePath": "M/DATA/2020-01-01T01-35-23Z.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T01:00:00Z", "FileOffset": 0, @@ -10,7 +10,7 @@ }, { "BufferOffset": 6421, - "FilePath": "/debug/DATABASES/M/DATA/2020-01-01T01-47-01Z.dat", + "FilePath": "M/DATA/2020-01-01T01-47-01Z.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T01:00:00Z", "FileOffset": 0, @@ -19,7 +19,7 @@ }, { "BufferOffset": 8810, - "FilePath": "/debug/DATABASES/M/DATA/2020-01-01T02-26-50Z.dat", + "FilePath": "M/DATA/2020-01-01T02-26-50Z.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T02:00:00Z", "FileOffset": 0, @@ -28,7 +28,7 @@ }, { "BufferOffset": 10800, - "FilePath": "/debug/DATABASES/M/DATA/2020-01-01T03-00-00Z.dat", + "FilePath": "M/DATA/2020-01-01T03-00-00Z.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T03:00:00Z", "FileOffset": 0, @@ -37,7 +37,7 @@ }, { "BufferOffset": 14400, - "FilePath": "/debug/DATABASES/M/DATA/2020-01-01T04-00-00Z.dat", + "FilePath": "M/DATA/2020-01-01T04-00-00Z.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T04:00:00Z", "FileOffset": 0, @@ -46,7 +46,7 @@ }, { "BufferOffset": 15314, - "FilePath": "/debug/DATABASES/M/DATA/2020-01-01T04-15-14Z.dat", + "FilePath": "M/DATA/2020-01-01T04-15-14Z.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T04:00:00Z", "FileOffset": 0, diff --git a/tests/Nexus.Sources.StructuredFile.Tests/expected/N.json b/tests/Nexus.Sources.StructuredFile.Tests/expected/N.json index 0057a29..c1a59b3 100644 --- a/tests/Nexus.Sources.StructuredFile.Tests/expected/N.json +++ b/tests/Nexus.Sources.StructuredFile.Tests/expected/N.json @@ -1,7 +1,7 @@ [ { "BufferOffset": 0, - "FilePath": "/debug/DATABASES/N/DATA/2020-01-01/12-00-00.dat", + "FilePath": "N/DATA/2020-01-01/12-00-00.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T00:00:00Z", "FileOffset": 0, @@ -10,7 +10,7 @@ }, { "BufferOffset": 21600, - "FilePath": "/debug/DATABASES/N/DATA/2020-01-01/18-00-00.dat", + "FilePath": "N/DATA/2020-01-01/18-00-00.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T06:00:00Z", "FileOffset": 0, @@ -19,7 +19,7 @@ }, { "BufferOffset": 43200, - "FilePath": "/debug/DATABASES/N/DATA/2020-01-02/00-00-00.dat", + "FilePath": "N/DATA/2020-01-02/00-00-00.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T12:00:00Z", "FileOffset": 0, @@ -28,7 +28,7 @@ }, { "BufferOffset": 64800, - "FilePath": "/debug/DATABASES/N/DATA/2020-01-02/06-00-00.dat", + "FilePath": "N/DATA/2020-01-02/06-00-00.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T18:00:00Z", "FileOffset": 0, @@ -37,7 +37,7 @@ }, { "BufferOffset": 86400, - "FilePath": "/debug/DATABASES/N/DATA/2020-01-02/12-00-00.dat", + "FilePath": "N/DATA/2020-01-02/12-00-00.dat", "FileSource": null, "RegularFileBegin": "2020-01-02T00:00:00Z", "FileOffset": 0, @@ -46,7 +46,7 @@ }, { "BufferOffset": 108000, - "FilePath": "/debug/DATABASES/N/DATA/2020-01-02/18-00-00.dat", + "FilePath": "N/DATA/2020-01-02/18-00-00.dat", "FileSource": null, "RegularFileBegin": "2020-01-02T06:00:00Z", "FileOffset": 0, @@ -55,7 +55,7 @@ }, { "BufferOffset": 151200, - "FilePath": "/debug/DATABASES/N/DATA/2020-01-03/06-00-00.dat", + "FilePath": "N/DATA/2020-01-03/06-00-00.dat", "FileSource": null, "RegularFileBegin": "2020-01-02T18:00:00Z", "FileOffset": 0, @@ -64,7 +64,7 @@ }, { "BufferOffset": 172800, - "FilePath": "/debug/DATABASES/N/DATA/2020-01-03/12-00-00.dat", + "FilePath": "N/DATA/2020-01-03/12-00-00.dat", "FileSource": null, "RegularFileBegin": "2020-01-03T00:00:00Z", "FileOffset": 0, @@ -73,7 +73,7 @@ }, { "BufferOffset": 194400, - "FilePath": "/debug/DATABASES/N/DATA/2020-01-03/18-00-00.dat", + "FilePath": "N/DATA/2020-01-03/18-00-00.dat", "FileSource": null, "RegularFileBegin": "2020-01-03T06:00:00Z", "FileOffset": 0, diff --git a/tests/Nexus.Sources.StructuredFile.Tests/expected/O.json b/tests/Nexus.Sources.StructuredFile.Tests/expected/O.json index 0af83b2..a604623 100644 --- a/tests/Nexus.Sources.StructuredFile.Tests/expected/O.json +++ b/tests/Nexus.Sources.StructuredFile.Tests/expected/O.json @@ -1,7 +1,7 @@ [ { "BufferOffset": 2123, - "FilePath": "/debug/DATABASES/O/DATA/2020-01-01T00-35-23Z.dat", + "FilePath": "O/DATA/2020-01-01T00-35-23Z.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T00:35:00Z", "FileOffset": 0, @@ -10,7 +10,7 @@ }, { "BufferOffset": 2400, - "FilePath": "/debug/DATABASES/O/DATA/2020-01-01T00-35-23Z.dat", + "FilePath": "O/DATA/2020-01-01T00-35-23Z.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T00:40:00Z", "FileOffset": 277, @@ -19,7 +19,7 @@ }, { "BufferOffset": 2700, - "FilePath": "/debug/DATABASES/O/DATA/2020-01-01T00-45-00Z.dat", + "FilePath": "O/DATA/2020-01-01T00-45-00Z.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T00:45:00Z", "FileOffset": 0, @@ -28,7 +28,7 @@ }, { "BufferOffset": 3310, - "FilePath": "/debug/DATABASES/O/DATA/2020-01-01T00-55-10Z.dat", + "FilePath": "O/DATA/2020-01-01T00-55-10Z.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T00:55:00Z", "FileOffset": 0, @@ -37,7 +37,7 @@ }, { "BufferOffset": 3600, - "FilePath": "/debug/DATABASES/O/DATA/2020-01-01T00-55-10Z.dat", + "FilePath": "O/DATA/2020-01-01T00-55-10Z.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T01:00:00Z", "FileOffset": 290, diff --git a/tests/Nexus.Sources.StructuredFile.Tests/expected/P.json b/tests/Nexus.Sources.StructuredFile.Tests/expected/P.json index af8390d..e3c3254 100644 --- a/tests/Nexus.Sources.StructuredFile.Tests/expected/P.json +++ b/tests/Nexus.Sources.StructuredFile.Tests/expected/P.json @@ -1,7 +1,7 @@ [ { "BufferOffset": 0, - "FilePath": "/debug/DATABASES/P/DATA/2020-01-01T00-10-00Z.dat", + "FilePath": "P/DATA/2020-01-01T00-10-00Z.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T00:00:00Z", "FileOffset": 0, @@ -10,7 +10,7 @@ }, { "BufferOffset": 600, - "FilePath": "/debug/DATABASES/P/DATA/2020-01-01T00-20-00Z.dat", + "FilePath": "P/DATA/2020-01-01T00-20-00Z.dat", "FileSource": null, "RegularFileBegin": "2020-01-01T00:10:00Z", "FileOffset": 0,