You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
747 B
30 lines
747 B
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) |
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt) |
|
|
|
using System; |
|
using ICSharpCode.PackageManagement; |
|
using ICSharpCode.PackageManagement.Scripting; |
|
|
|
namespace PackageManagement.Tests.Helpers |
|
{ |
|
public class FakePackageScript : IPackageScript |
|
{ |
|
public IPackageManagementProject Project { get; set; } |
|
|
|
public bool IsRun; |
|
public IPackageScriptSession SessionPassedToRun; |
|
|
|
public void Run(IPackageScriptSession session) |
|
{ |
|
IsRun = true; |
|
SessionPassedToRun = session; |
|
} |
|
|
|
public bool ExistsReturnValue = true; |
|
|
|
public bool Exists() |
|
{ |
|
return ExistsReturnValue; |
|
} |
|
} |
|
}
|
|
|