diff options
author | Mike Krüger <mkrueger@novell.com> | 2011-03-28 15:22:11 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@novell.com> | 2011-03-28 15:22:11 +0400 |
commit | ac1e85f50559bf4c0f3b4e404d39a7cbec42fc93 (patch) | |
tree | d187c1da7f75d1b9b04312c4224ddf476216725a /main/tests | |
parent | 8a7938b703f565409f8c0e79f6bac9f30810e7c2 (diff) |
Fixed 'Bug 683007 - "Refactor/Implement implicit" creates explicit
implementations of methods with same names'.
Diffstat (limited to 'main/tests')
-rw-r--r-- | main/tests/UnitTests/MonoDevelop.Refactoring/ImplementInterfaceTests.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/main/tests/UnitTests/MonoDevelop.Refactoring/ImplementInterfaceTests.cs b/main/tests/UnitTests/MonoDevelop.Refactoring/ImplementInterfaceTests.cs index 6c6ca705fc..96a3b0eeb6 100644 --- a/main/tests/UnitTests/MonoDevelop.Refactoring/ImplementInterfaceTests.cs +++ b/main/tests/UnitTests/MonoDevelop.Refactoring/ImplementInterfaceTests.cs @@ -95,6 +95,26 @@ namespace MonoDevelop.Refactoring throw new System.NotImplementedException (); }"); } + + /// <summary> + /// Bug 683007 - "Refactor/Implement implicit" creates explicit implementations of methods with same names + /// </summary> + [Test()] + public void TestBug683007 () + { + TestCreateInterface (@"interface ITest { + void M1(); + void M1(int x); +}", @"public void M1 () + { + throw new System.NotImplementedException (); + } + + public void M1 (int x) + { + throw new System.NotImplementedException (); + }"); + } } } |