Skip to content

Commit 2c33bcc

Browse files
Update TextImportServiceTests.cs
1 parent 9fa8adf commit 2c33bcc

1 file changed

Lines changed: 33 additions & 33 deletions

File tree

AudioCuesheetEditor.Tests/Services/IO/TextImportServiceTests.cs

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -631,36 +631,36 @@ public async Task AnalyseAsync_WithoutRegularExpression_ReturnsCuesheetAsync()
631631
public async Task AnalyseAsync_TextfileWithStartDateTime_CreatesValidCuesheetAsync()
632632
{
633633
// Arrange
634-
var fileContent = @"Innellea~The Golden Fort~02.08.2024 20:10:48
635-
Nora En Pure~Diving with Whales (Daniel Portman Remix)~02.08.2024 20:15:21
636-
WhoMadeWho & Adriatique~Miracle (RÜFÜS DU SOL Remix)~02.08.2024 20:20:42
637-
Ella Wild~Poison D'araignee (Original Mix)~02.08.2024 20:28:03
638-
Stil & Bense~On The Edge (Original Mix)~02.08.2024 20:32:42
639-
Nebula~Clairvoyant Dreams~02.08.2024 20:39:01
640-
Valentina Black~I'm a Tree (Extended Mix)~02.08.2024 20:47:08
641-
Nebula~Clairvoyant Dreams~02.08.2024 20:53:20
642-
Kiko & Dave Davis feat. Phoebe~Living in Space (Dub Mix)~02.08.2024 20:58:11
643-
Lilly Palmer~Before Acid~02.08.2024 21:03:53
644-
Sofi Tukker~Drinkee (Vintage Culture & John Summit Extended Mix)~02.08.2024 21:09:52
645-
CID & Truth x Lies~Caroline (Extended Mix)~02.08.2024 21:14:09
646-
Moby~Why Does My Heart Feel So Bad? (Oxia Remix)~02.08.2024 21:17:15
647-
Ammo Avenue~Little Gurl (Extended Mix)~02.08.2024 21:22:46
648-
James Hurr & Smokin Jo & Stealth~Beggin' For Change~02.08.2024 21:28:37
649-
Kristine Blond~Love Shy (Sam Divine & CASSIMM Extended Remix)~02.08.2024 21:30:47
650-
Vanilla Ace~Work On You (Original Mix)~02.08.2024 21:36:28
651-
Truth X Lies~Like This~02.08.2024 21:42:05
652-
Terri-Anne~Round Round~02.08.2024 21:44:07
653-
Joanna Magik~Maneater~02.08.2024 21:46:32
654-
Jen Payne & Kevin McKay~Feed Your Soul~02.08.2024 21:48:45
655-
Kevin McKay & Eppers & Notelle~On My Own~02.08.2024 21:51:37
656-
Nader Razdar & Kevin McKay~Get Ur Freak On (Kevin McKay Extended Mix)~02.08.2024 21:53:49
657-
Philip Z~Yala (Extended Mix)~02.08.2024 21:59:40
658-
Kyle Kinch & Kevin McKay~Hella~02.08.2024 22:05:53
659-
Roze Wild~B-O-D-Y~02.08.2024 22:08:26
660-
Jey Kurmis~Snoop~02.08.2024 22:11:09
661-
Bootie Brown & Tame Impala & Gorillaz~New Gold (Dom Dolla Remix Extended)~02.08.2024 22:16:23
662-
Eli Brown & Love Regenerator~Don't You Want Me (Original Mix)~02.08.2024 22:21:23
663-
Local Singles~Voices~02.08.2024 22:25:59";
634+
var fileContent = @"Innellea~The Golden Fort~14.08.2024 20:10:48
635+
Nora En Pure~Diving with Whales (Daniel Portman Remix)~14.08.2024 20:15:21
636+
WhoMadeWho & Adriatique~Miracle (RÜFÜS DU SOL Remix)~14.08.2024 20:20:42
637+
Ella Wild~Poison D'araignee (Original Mix)~14.08.2024 20:28:03
638+
Stil & Bense~On The Edge (Original Mix)~14.08.2024 20:32:42
639+
Nebula~Clairvoyant Dreams~14.08.2024 20:39:01
640+
Valentina Black~I'm a Tree (Extended Mix)~14.08.2024 20:47:08
641+
Nebula~Clairvoyant Dreams~14.08.2024 20:53:20
642+
Kiko & Dave Davis feat. Phoebe~Living in Space (Dub Mix)~14.08.2024 20:58:11
643+
Lilly Palmer~Before Acid~14.08.2024 21:03:53
644+
Sofi Tukker~Drinkee (Vintage Culture & John Summit Extended Mix)~14.08.2024 21:09:52
645+
CID & Truth x Lies~Caroline (Extended Mix)~14.08.2024 21:14:09
646+
Moby~Why Does My Heart Feel So Bad? (Oxia Remix)~14.08.2024 21:17:15
647+
Ammo Avenue~Little Gurl (Extended Mix)~14.08.2024 21:22:46
648+
James Hurr & Smokin Jo & Stealth~Beggin' For Change~14.08.2024 21:28:37
649+
Kristine Blond~Love Shy (Sam Divine & CASSIMM Extended Remix)~14.08.2024 21:30:47
650+
Vanilla Ace~Work On You (Original Mix)~14.08.2024 21:36:28
651+
Truth X Lies~Like This~14.08.2024 21:42:05
652+
Terri-Anne~Round Round~14.08.2024 21:44:07
653+
Joanna Magik~Maneater~14.08.2024 21:46:32
654+
Jen Payne & Kevin McKay~Feed Your Soul~14.08.2024 21:48:45
655+
Kevin McKay & Eppers & Notelle~On My Own~14.08.2024 21:51:37
656+
Nader Razdar & Kevin McKay~Get Ur Freak On (Kevin McKay Extended Mix)~14.08.2024 21:53:49
657+
Philip Z~Yala (Extended Mix)~14.08.2024 21:59:40
658+
Kyle Kinch & Kevin McKay~Hella~14.08.2024 22:05:53
659+
Roze Wild~B-O-D-Y~14.08.2024 22:08:26
660+
Jey Kurmis~Snoop~14.08.2024 22:11:09
661+
Bootie Brown & Tame Impala & Gorillaz~New Gold (Dom Dolla Remix Extended)~14.08.2024 22:16:23
662+
Eli Brown & Love Regenerator~Don't You Want Me (Original Mix)~14.08.2024 22:21:23
663+
Local Singles~Voices~14.08.2024 22:25:59";
664664

665665
var profile = new Importprofile()
666666
{
@@ -682,13 +682,13 @@ public async Task AnalyseAsync_TextfileWithStartDateTime_CreatesValidCuesheetAsy
682682
Assert.AreEqual(30, importfile.AnalysedCuesheet.Tracks.Count);
683683
Assert.AreEqual("Innellea", importfile.AnalysedCuesheet.Tracks.ElementAt(0).Artist);
684684
Assert.AreEqual("The Golden Fort", importfile.AnalysedCuesheet.Tracks.ElementAt(0).Title);
685-
Assert.AreEqual(new DateTime(2024, 8, 2, 20, 10, 48), importfile.AnalysedCuesheet.Tracks.ElementAt(0).StartDateTime);
685+
Assert.AreEqual(new DateTime(2024, 8, 14, 20, 10, 48), importfile.AnalysedCuesheet.Tracks.ElementAt(0).StartDateTime);
686686
Assert.AreEqual("Nora En Pure", importfile.AnalysedCuesheet.Tracks.ElementAt(1).Artist);
687687
Assert.AreEqual("Diving with Whales (Daniel Portman Remix)", importfile.AnalysedCuesheet.Tracks.ElementAt(1).Title);
688-
Assert.AreEqual(new DateTime(2024, 8, 2, 20, 15, 21), importfile.AnalysedCuesheet.Tracks.ElementAt(1).StartDateTime);
688+
Assert.AreEqual(new DateTime(2024, 8, 14, 20, 15, 21), importfile.AnalysedCuesheet.Tracks.ElementAt(1).StartDateTime);
689689
Assert.AreEqual("Local Singles", importfile.AnalysedCuesheet.Tracks.ElementAt(29).Artist);
690690
Assert.AreEqual("Voices", importfile.AnalysedCuesheet.Tracks.ElementAt(29).Title);
691-
Assert.AreEqual(new DateTime(2024, 8, 2, 22, 25, 59), importfile.AnalysedCuesheet.Tracks.ElementAt(29).StartDateTime);
691+
Assert.AreEqual(new DateTime(2024, 8, 14, 22, 25, 59), importfile.AnalysedCuesheet.Tracks.ElementAt(29).StartDateTime);
692692
}
693693

694694
[TestMethod()]

0 commit comments

Comments
 (0)