20 references to ASSETS_DIRECTORY
Microsoft.DotNet.VersionTools.Cli.Tests (20)
VersionTrimmingOperationTests.cs (20)
30
directoryProxy.Setup(m => m.Exists(
ASSETS_DIRECTORY
)).Returns(true);
31
directoryProxy.Setup(m => m.GetFiles(
ASSETS_DIRECTORY
, SEARCH_PATTERN, SearchOption.AllDirectories))
33
ASSETS_DIRECTORY
+ @"\package.8.0.0-dev.nupkg",
34
ASSETS_DIRECTORY
+ @"\SubDir\package.8.0.0-dev.nupkg" });
46
AssetsDirectory =
ASSETS_DIRECTORY
,
54
ASSETS_DIRECTORY
+ @"\package.8.0.0-dev.nupkg",
55
ASSETS_DIRECTORY
+ @"\package.nupkg"), Times.Exactly(1));
57
ASSETS_DIRECTORY
+ @"\SubDir\package.8.0.0-dev.nupkg",
58
ASSETS_DIRECTORY
+ @"\SubDir\package.nupkg"), Times.Exactly(1));
69
directoryProxy.Setup(m => m.Exists(
ASSETS_DIRECTORY
)).Returns(false);
82
AssetsDirectory =
ASSETS_DIRECTORY
,
100
directoryProxy.Setup(m => m.Exists(
ASSETS_DIRECTORY
)).Returns(true);
101
directoryProxy.Setup(m => m.GetFiles(
ASSETS_DIRECTORY
, "*.nupkg", SearchOption.AllDirectories))
102
.Returns(new string[] {
ASSETS_DIRECTORY
+ @"\file.nupkg" });
115
AssetsDirectory =
ASSETS_DIRECTORY
,
123
ASSETS_DIRECTORY
+ @"\file.nupkg"), Times.Exactly(1));
135
directoryProxy.Setup(m => m.Exists(
ASSETS_DIRECTORY
)).Returns(true);
136
directoryProxy.Setup(m => m.GetFiles(
ASSETS_DIRECTORY
, "*.json", SearchOption.AllDirectories))
137
.Returns(new string[] {
ASSETS_DIRECTORY
+ @"\file.json" });
149
AssetsDirectory =
ASSETS_DIRECTORY
,