Remove StreamForwarder from CLI tests (#4936)
* WiP * Replace StreamForwarder with OutputDataReceived * Add build logging around test execution * add newlines * Add handling for the null terminator while maintaining empty lines * Extra Diag * Verbose logging for VS Test Console * Fix asset file locking tests * Add testcommand timeout + improve dotnet-new tests * WiP * Welcome, JoSequ! * Fix failing tests * Clean out diagnostics writelines * self-PR1
This commit is contained in:
parent
2b7e9b6524
commit
2fbafe6f3f
21 changed files with 353 additions and 753 deletions
|
@ -25,7 +25,7 @@ namespace Microsoft.DotNet.Tests
|
|||
}
|
||||
|
||||
[Fact]
|
||||
public void When_invoked_then_dotnet_writes_optimization_data_to_the_profile_root()
|
||||
public void WhenInvokedThenDotnetWritesOptimizationDataToTheProfileRoot()
|
||||
{
|
||||
var testDirectory = TestAssetsManager.CreateTestDirectory();
|
||||
var testStartTime = GetTruncatedDateTime();
|
||||
|
@ -43,7 +43,7 @@ namespace Microsoft.DotNet.Tests
|
|||
}
|
||||
|
||||
[Fact]
|
||||
public void When_invoked_with_MulticoreJit_disabled_then_dotnet_does_not_writes_optimization_data_to_the_profile_root()
|
||||
public void WhenInvokedWithMulticoreJitDisabledThenDotnetDoesNotWriteOptimizationDataToTheProfileRoot()
|
||||
{
|
||||
var testDirectory = TestAssetsManager.CreateTestDirectory();
|
||||
var testStartTime = GetTruncatedDateTime();
|
||||
|
@ -60,7 +60,7 @@ namespace Microsoft.DotNet.Tests
|
|||
}
|
||||
|
||||
[Fact]
|
||||
public void When_the_profile_root_is_undefined_then_dotnet_does_not_crash()
|
||||
public void WhenTheProfileRootIsUndefinedThenDotnetDoesNotCrash()
|
||||
{
|
||||
var testDirectory = TestAssetsManager.CreateTestDirectory();
|
||||
var testStartTime = GetTruncatedDateTime();
|
||||
|
@ -74,7 +74,7 @@ namespace Microsoft.DotNet.Tests
|
|||
}
|
||||
|
||||
[Fact]
|
||||
public void When_cli_repo_builds_then_dotnet_writes_optimization_data_to_the_default_profile_root()
|
||||
public void WhenCliRepoBuildsThenDotnetWritesOptimizationDataToTheDefaultProfileRoot()
|
||||
{
|
||||
var optimizationProfileFilePath = GetOptimizationProfileFilePath();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue