From a6578543ff6dc57e7299b7404f10dcfe46934d2e Mon Sep 17 00:00:00 2001 From: "Ringler, Moritz" Date: Tue, 12 Nov 2024 13:19:28 +0100 Subject: [PATCH] Update copyright year --- czishrink/.vscode/settings.json | 3 ++- czishrink/netczicompress/ViewModels/AboutViewModel.cs | 2 +- .../netczicompressTests/ViewModels/AboutViewModelTests.cs | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/czishrink/.vscode/settings.json b/czishrink/.vscode/settings.json index 8447bfc..7c5dfc9 100644 --- a/czishrink/.vscode/settings.json +++ b/czishrink/.vscode/settings.json @@ -1,3 +1,4 @@ { - "dotnet.defaultSolution": "netczicompress.sln" + "dotnet.defaultSolution": "netczicompress.sln", + "dotnet-test-explorer.testProjectPath": "**/*Tests.@(csproj|vbproj|fsproj)" } diff --git a/czishrink/netczicompress/ViewModels/AboutViewModel.cs b/czishrink/netczicompress/ViewModels/AboutViewModel.cs index 0ab475c..30de691 100644 --- a/czishrink/netczicompress/ViewModels/AboutViewModel.cs +++ b/czishrink/netczicompress/ViewModels/AboutViewModel.cs @@ -25,7 +25,7 @@ public AboutViewModel(IFileLauncher launcher, IProgramNameAndVersion info) this.ShowAboutCommand = ReactiveCommand.Create(() => this.IsVisible = true); this.ShowTextFileCommand = ReactiveCommand.CreateFromTask(this.OpenTextFile); this.OpenUrlCommand = ReactiveCommand.CreateFromTask(this.OpenUrlLink); - this.ProgramVersionAndCopyRight = $"{info}, © 2023 Carl Zeiss Microscopy GmbH and others"; + this.ProgramVersionAndCopyRight = $"{info}, © 2023-2024 Carl Zeiss Microscopy GmbH and others"; this.launcher = launcher; } diff --git a/czishrink/netczicompressTests/ViewModels/AboutViewModelTests.cs b/czishrink/netczicompressTests/ViewModels/AboutViewModelTests.cs index 44be0e9..82be9f2 100644 --- a/czishrink/netczicompressTests/ViewModels/AboutViewModelTests.cs +++ b/czishrink/netczicompressTests/ViewModels/AboutViewModelTests.cs @@ -27,7 +27,7 @@ public void AfterConstruction_HasExpectedProperties() // ASSERT sut.IsVisible.Should().BeFalse(); sut.LibraryName.Should().BeSameAs(libname); - sut.ProgramVersionAndCopyRight.Should().Be("FooBar 99.3.7, © 2023 Carl Zeiss Microscopy GmbH and others"); + sut.ProgramVersionAndCopyRight.Should().Be("FooBar 99.3.7, © 2023-2024 Carl Zeiss Microscopy GmbH and others"); } [Theory]