Skip to content

Commit 2d14cb7

Browse files
committed
Merge branch 'develop' of tig:gui-cs/Terminal.Gui into develop
2 parents 1c73f11 + 8287acb commit 2d14cb7

File tree

5 files changed

+20
-17
lines changed

5 files changed

+20
-17
lines changed

ReactiveExample/ReactiveExample.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<InformationalVersion>1.10.1+6.Branch.main.Sha.f7ee66ddbf8dbcfb0d96af7d63789879091670ec</InformationalVersion>
1212
</PropertyGroup>
1313
<ItemGroup>
14-
<PackageReference Include="ReactiveUI.Fody" Version="18.4.26" />
15-
<PackageReference Include="ReactiveUI" Version="18.4.26" />
14+
<PackageReference Include="ReactiveUI.Fody" Version="18.4.44" />
15+
<PackageReference Include="ReactiveUI" Version="18.4.44" />
1616
<PackageReference Include="ReactiveMarbles.ObservableEvents.SourceGenerator" Version="1.2.3" PrivateAssets="all" />
1717
</ItemGroup>
1818
<ItemGroup>

Terminal.Gui/Core/ConsoleDriver.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1494,7 +1494,7 @@ public static (int exitCode, string result) Process (string cmd, string argument
14941494
process.StandardInput.Close ();
14951495
}
14961496

1497-
if (!process.WaitForExit (5000)) {
1497+
if (!process.WaitForExit (10000)) {
14981498
var timeoutError = $@"Process timed out. Command line: {process.StartInfo.FileName} {process.StartInfo.Arguments}.";
14991499
throw new TimeoutException (timeoutError);
15001500
}

Terminal.Gui/Terminal.Gui.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
<!-- Version numbers are automatically updated by gitversion when a release is released -->
1111
<!-- In the source tree the version will always be 1.0 for all projects. -->
1212
<!-- Do not modify these. Do NOT commit after manually running `dotnet-gitversion /updateprojectfiles` -->
13-
<AssemblyVersion>1.10.1.0</AssemblyVersion>
14-
<FileVersion>1.10.1.0</FileVersion>
15-
<Version>1.10.1</Version>
16-
<InformationalVersion>1.10.1+6.Branch.main.Sha.f7ee66ddbf8dbcfb0d96af7d63789879091670ec</InformationalVersion>
13+
<AssemblyVersion>1.11.0.0</AssemblyVersion>
14+
<FileVersion>1.11.0.0</FileVersion>
15+
<Version>1.11</Version>
16+
<InformationalVersion>1.11</InformationalVersion>
1717
</PropertyGroup>
1818
<ItemGroup>
1919
<PackageReference Include="Microsoft.DotNet.PlatformAbstractions" Version="3.1.6" />

UnitTests/Drivers/ClipboardTests.cs

+10-8
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ public void Contents_Fake_Gets_Sets_When_IsSupportedFalse ()
102102
[Fact, AutoInitShutdown (useFakeClipboard: false)]
103103
public void IsSupported_Get ()
104104
{
105-
if (Clipboard.IsSupported) Assert.True (Clipboard.IsSupported);
106-
else Assert.False (Clipboard.IsSupported);
105+
if (Clipboard.IsSupported) Assert.True (Clipboard.IsSupported);
106+
else Assert.False (Clipboard.IsSupported);
107107
}
108108

109109
[Fact, AutoInitShutdown (useFakeClipboard: false)]
@@ -129,15 +129,15 @@ public void TryGetClipboardData_Gets_From_OS_Clipboard ()
129129
public void TrySetClipboardData_Sets_The_OS_Clipboard ()
130130
{
131131
var clipText = "The TrySetClipboardData_Sets_The_OS_Clipboard unit test pasted this to the OS clipboard.";
132-
if (Clipboard.IsSupported) Assert.True (Clipboard.TrySetClipboardData (clipText));
133-
else Assert.False (Clipboard.TrySetClipboardData (clipText));
132+
if (Clipboard.IsSupported) Assert.True (Clipboard.TrySetClipboardData (clipText));
133+
else Assert.False (Clipboard.TrySetClipboardData (clipText));
134134

135135
Application.Iteration += () => Application.RequestStop ();
136136

137137
Application.Run ();
138138

139-
if (Clipboard.IsSupported) Assert.Equal (clipText, Clipboard.Contents);
140-
else Assert.NotEqual (clipText, Clipboard.Contents);
139+
if (Clipboard.IsSupported) Assert.Equal (clipText, Clipboard.Contents);
140+
else Assert.NotEqual (clipText, Clipboard.Contents);
141141
}
142142

143143

@@ -209,7 +209,9 @@ public void Contents_Copies_From_OS_Clipboard ()
209209

210210
Application.Run ();
211211

212-
if (!failed) Assert.Equal (clipText, getClipText);
212+
if (!failed) {
213+
Assert.Equal (clipText, getClipText);
214+
}
213215
}
214216

215217
[Fact, AutoInitShutdown (useFakeClipboard: false)]
@@ -265,7 +267,7 @@ public void Contents_Pastes_To_OS_Clipboard ()
265267

266268
Application.Run ();
267269

268-
if (!failed) Assert.Equal (clipText, clipReadText.TrimEnd ());
270+
if (!failed) Assert.Equal (clipText, clipReadText.TrimEnd ());
269271

270272
}
271273

UnitTests/UnitTests.csproj

+3-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
<DefineConstants>TRACE;DEBUG_IDISPOSABLE</DefineConstants>
2222
</PropertyGroup>
2323
<ItemGroup>
24-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
25-
<PackageReference Include="ReportGenerator" Version="5.1.19" />
24+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.0" />
25+
<PackageReference Include="ReportGenerator" Version="5.1.20" />
2626
<PackageReference Include="System.Collections" Version="4.3.0" />
2727
<PackageReference Include="xunit" Version="2.4.2" />
2828
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
@@ -56,5 +56,6 @@
5656
<IncludeTestAssembly>
5757
False
5858
</IncludeTestAssembly>
59+
<RunSettingsFilePath>C:\Users\charlie\s\gui-cs\Terminal.Gui\UnitTests\bin\Debug\net7.0\fine-code-coverage\coverage-tool-output\UnitTests-fcc-mscodecoverage-generated.runsettings</RunSettingsFilePath>
5960
</PropertyGroup>
6061
</Project>

0 commit comments

Comments
 (0)