~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to tests/UnitTests/MonoDevelop.CSharpBinding/FoldingParserTests.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
223
223
/*
224
224
 
225
225
*/]");
226
 
                }               
 
226
                }
 
227
 
 
228
                // Bug 8896 - Strange "jump" behaviour when clicking on a search result, which makes the cursor go to the wrong location
 
229
                [Test]
 
230
                public void TestBug8896 ()
 
231
                {
 
232
                        var doc = Test (@"class Test
 
233
{
 
234
        void FooBar () // this should 
 
235
        { // not be 
 
236
        } // folded
 
237
}");
 
238
                        Assert.AreEqual (0, doc.Foldings.Count ());
 
239
                }
 
240
 
227
241
                
228
242
        }
229
243
}