Unverified Commit 96f53039 authored by Samruddhi Khandale's avatar Samruddhi Khandale Committed by GitHub

[Dotnet] - Fix tests ; removes stale check (#802)

* [Dotnet] - Fix tests ; removes stale check

* Update projects
parent 43bb98bb
...@@ -18,10 +18,6 @@ expected=$(fetch_latest_version "aspnetcore") ...@@ -18,10 +18,6 @@ expected=$(fetch_latest_version "aspnetcore")
check "Latest ASP.NET Core Runtime version installed" \ check "Latest ASP.NET Core Runtime version installed" \
is_aspnetcore_runtime_version_installed "$expected" is_aspnetcore_runtime_version_installed "$expected"
# Expect this check to fail in November 2023 when .NET 8.0 becomes GA
check "It is a flavor of .NET 7.0" \
is_aspnetcore_runtime_version_installed "7.0"
# Report results # Report results
# If any of the checks above exited with a non-zero exit code, the test will fail. # If any of the checks above exited with a non-zero exit code, the test will fail.
reportResults reportResults
\ No newline at end of file
...@@ -18,12 +18,8 @@ expected=$(fetch_latest_version) ...@@ -18,12 +18,8 @@ expected=$(fetch_latest_version)
check "Latest .NET SDK version installed" \ check "Latest .NET SDK version installed" \
is_dotnet_sdk_version_installed "$expected" is_dotnet_sdk_version_installed "$expected"
# Expect this check to fail in November 2023 when .NET 8.0 becomes GA
check "It is a flavor of .NET 7.0" \
is_dotnet_sdk_version_installed "7.0"
check "Build and run example project" \ check "Build and run example project" \
dotnet run --project projects/net7.0 dotnet run --project projects/net8.0
# Report results # Report results
# If any of the checks above exited with a non-zero exit code, the test will fail. # If any of the checks above exited with a non-zero exit code, the test will fail.
......
...@@ -19,7 +19,7 @@ check "Latest LTS version installed" \ ...@@ -19,7 +19,7 @@ check "Latest LTS version installed" \
is_dotnet_sdk_version_installed "$expected" is_dotnet_sdk_version_installed "$expected"
check "Build and run example project" \ check "Build and run example project" \
dotnet run --project projects/net6.0 dotnet run --project projects/net8.0
# Report results # Report results
# If any of the checks above exited with a non-zero exit code, the test will fail. # If any of the checks above exited with a non-zero exit code, the test will fail.
......
...@@ -18,10 +18,6 @@ expected=$(fetch_latest_version "dotnet") ...@@ -18,10 +18,6 @@ expected=$(fetch_latest_version "dotnet")
check "Latest .NET Runtime version installed" \ check "Latest .NET Runtime version installed" \
is_dotnet_runtime_version_installed "$expected" is_dotnet_runtime_version_installed "$expected"
# Expect this check to fail in November 2023 when .NET 8.0 becomes GA
check "It is a flavor of .NET 7.0" \
is_dotnet_runtime_version_installed "7.0"
# Report results # Report results
# If any of the checks above exited with a non-zero exit code, the test will fail. # If any of the checks above exited with a non-zero exit code, the test will fail.
reportResults reportResults
\ No newline at end of file
...@@ -18,12 +18,8 @@ expected=$(fetch_latest_version) ...@@ -18,12 +18,8 @@ expected=$(fetch_latest_version)
check "Latest .NET SDK version installed" \ check "Latest .NET SDK version installed" \
is_dotnet_sdk_version_installed "$expected" is_dotnet_sdk_version_installed "$expected"
# Expect this check to fail in November 2023 when .NET 8.0 becomes GA
check "It is a flavor of .NET 7.0" \
is_dotnet_sdk_version_installed "7.0"
check "Build and run example project" \ check "Build and run example project" \
dotnet run --project projects/net7.0 dotnet run --project projects/net8.0
# Report results # Report results
# If any of the checks above exited with a non-zero exit code, the test will fail. # If any of the checks above exited with a non-zero exit code, the test will fail.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment