-
Notifications
You must be signed in to change notification settings - Fork 689
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #3790. Can't build v2_develop RELEASE - "The local source 'C:\U…
…sers\Tig\s\gui-cs\Terminal.Gui\local_packages' doesn't exist." (#3794)
- Loading branch information
Showing
9 changed files
with
66 additions
and
45 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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,33 @@ | ||
namespace Terminal.Gui; | ||
|
||
public class LocalPackagesTests | ||
{ | ||
private readonly string _localPackagesPath; | ||
|
||
public LocalPackagesTests () | ||
{ | ||
// Define the local_packages path relative to the solution directory | ||
_localPackagesPath = Path.Combine (Directory.GetCurrentDirectory (), "..", "..", "..", "..", "local_packages"); | ||
} | ||
|
||
[Fact] | ||
public void LocalPackagesFolderExists () | ||
{ | ||
Assert.True (Directory.Exists (_localPackagesPath), | ||
$"The local_packages folder does not exist: {_localPackagesPath}"); | ||
} | ||
|
||
[Fact] | ||
public void NupkgFilesExist () | ||
{ | ||
var nupkgFiles = Directory.GetFiles (_localPackagesPath, "*.nupkg"); | ||
Assert.NotEmpty (nupkgFiles); | ||
} | ||
|
||
[Fact] | ||
public void SnupkgFilesExist () | ||
{ | ||
var snupkgFiles = Directory.GetFiles (_localPackagesPath, "*.snupkg"); | ||
Assert.NotEmpty (snupkgFiles); | ||
} | ||
} |
Binary file not shown.
Binary file not shown.