Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
devcontainer-features
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eazydevelop-devcontainer-temp
devcontainer-features
Commits
96f53039
Unverified
Commit
96f53039
authored
Jan 22, 2024
by
Samruddhi Khandale
Committed by
GitHub
Jan 22, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Dotnet] - Fix tests ; removes stale check (#802)
* [Dotnet] - Fix tests ; removes stale check * Update projects
parent
43bb98bb
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
19 deletions
+3
-19
install_aspnetcore_runtime_only.sh
test/dotnet/install_aspnetcore_runtime_only.sh
+0
-4
install_dotnet_latest_when_version_is_empty.sh
test/dotnet/install_dotnet_latest_when_version_is_empty.sh
+1
-5
install_dotnet_lts.sh
test/dotnet/install_dotnet_lts.sh
+1
-1
install_dotnet_runtime_only.sh
test/dotnet/install_dotnet_runtime_only.sh
+0
-4
test.sh
test/dotnet/test.sh
+1
-5
No files found.
test/dotnet/install_aspnetcore_runtime_only.sh
View file @
96f53039
...
@@ -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
test/dotnet/install_dotnet_latest_when_version_is_empty.sh
View file @
96f53039
...
@@ -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/net
7
.0
dotnet run
--project
projects/net
8
.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.
...
...
test/dotnet/install_dotnet_lts.sh
View file @
96f53039
...
@@ -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/net
6
.0
dotnet run
--project
projects/net
8
.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.
...
...
test/dotnet/install_dotnet_runtime_only.sh
View file @
96f53039
...
@@ -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
test/dotnet/test.sh
View file @
96f53039
...
@@ -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/net
7
.0
dotnet run
--project
projects/net
8
.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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment