-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create fixtures and golden files for LandscapeEnable
- Loading branch information
1 parent
1de8c8f
commit 2c7acfa
Showing
7 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
.../testdata/TestLandscapeEnable/error_when_the_config_file_cannot_be_written/landscape.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[client] | ||
hello = world |
3 changes: 3 additions & 0 deletions
3
...l/system/testdata/TestLandscapeEnable/error_when_the_file_cannot_be_parsed/landscape.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"message": "Wait a second, this is not an ini file!" | ||
} |
2 changes: 2 additions & 0 deletions
2
...testdata/TestLandscapeEnable/error_when_the_landscape-config_command_fails/landscape.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[client] | ||
hello = world |
3 changes: 3 additions & 0 deletions
3
wsl-pro-service/internal/system/testdata/TestLandscapeEnable/golden/success
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[client] | ||
hello = world | ||
computer_title = TEST_DISTRO |
3 changes: 3 additions & 0 deletions
3
...ice/internal/system/testdata/TestLandscapeEnable/golden/success_overriding_computer_title
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[client] | ||
hello = world | ||
computer_title = TEST_DISTRO |
2 changes: 2 additions & 0 deletions
2
wsl-pro-service/internal/system/testdata/TestLandscapeEnable/success/landscape.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[client] | ||
hello = world |
3 changes: 3 additions & 0 deletions
3
...rnal/system/testdata/TestLandscapeEnable/success_overriding_computer_title/landscape.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[client] | ||
computer_title = DEFAULT_COMPUTER_TITLE | ||
hello = world |