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.
53 lines
914 B
53 lines
914 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 System.Linq; |
|
using ICSharpCode.SharpDevelop.Project; |
|
|
|
namespace ICSharpCode.UnitTesting |
|
{ |
|
public class EmptyUnitTestsPad : IUnitTestsPad |
|
{ |
|
Solution solution; |
|
|
|
public EmptyUnitTestsPad() |
|
: this(null) |
|
{ |
|
} |
|
|
|
public EmptyUnitTestsPad(Solution solution) |
|
{ |
|
this.solution = solution; |
|
} |
|
|
|
public void UpdateToolbar() |
|
{ |
|
} |
|
|
|
public void BringToFront() |
|
{ |
|
} |
|
|
|
public void ResetTestResults() |
|
{ |
|
} |
|
|
|
public IProject[] GetProjects() |
|
{ |
|
if (solution != null) { |
|
return solution.Projects.ToArray(); |
|
} |
|
return new IProject[0]; |
|
} |
|
|
|
public TestProject GetTestProject(IProject project) |
|
{ |
|
return null; |
|
} |
|
|
|
public void CollapseAll() |
|
{ |
|
} |
|
} |
|
}
|
|
|