Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,11 @@ public void MCPSetupWindow_CachesMultipleUIElements_InCreateGUI()
public void MCPSetupWindow_ModifiesClassListForStatus_ValidInvalidPattern()
{
var type = typeof(MCPSetupWindow);
var method = type.GetMethod("UpdateDependencyStatus", BindingFlags.NonPublic | BindingFlags.Instance);
// Static as well as Instance: the method takes every element it touches as an argument,
// so it carries no instance state and is declared static. Looking it up with Instance
// alone returned null and failed this test rather than reporting a behaviour change.
var method = type.GetMethod("UpdateDependencyStatus",
BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.Instance);

Assert.IsNotNull(method, "Should have UpdateDependencyStatus method");

Expand Down
Loading