void CreateScript()
        {
            fakeFileSystem = new FakeFileSystem();
            fakeFileSystem.FileExistsReturnValue      = true;
            fakeFileSystem.DirectoryExistsReturnValue = true;
            scriptFileName = new PackageUninstallScriptFileName(fakeFileSystem);

            fakeSession = new FakePackageScriptSession();
            fakePackage = new FakePackage();

            fakeProject = new FakePackageManagementProject();

            script         = new PackageUninstallScript(fakePackage, scriptFileName);
            script.Project = fakeProject;
        }
Exemplo n.º 2
0
 void CreateFileNameWithFakeFileSystem()
 {
     scriptFileName = new PackageUninstallScriptFileName(fakeFileSystem);
 }
Exemplo n.º 3
0
 void CreateFileName(string installPath)
 {
     scriptFileName = new PackageUninstallScriptFileName(installPath);
 }