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

« back to all changes in this revision

Viewing changes to tests/UnitTests/MonoDevelop.CSharpBinding.Refactoring/GenerateNewMemberTests.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:
202
202
        {
203
203
        }
204
204
@u      
 
205
 
205
206
        int a;
206
207
@u      
 
208
 
207
209
        class Test2 {
208
210
                void TestMe2 ()
209
211
                {
210
212
        
211
213
                }
212
214
        }
213
 
@u      
 
215
@s      
214
216
        public delegate void ADelegate ();
215
217
        
216
218
@d}
227
229
@t      static void B ()
228
230
        {
229
231
        }
230
 
@u      
 
232
@s      
231
233
        public static void Main (string[] args)
232
234
        {
233
235
                System.Console.WriteLine ();
234
236
        }
235
237
@t      int g;
236
238
@t      int i;
237
 
@u      
 
239
@s      
238
240
        int j;
239
241
@t      public delegate void Del(int a);
240
242
@s}
266
268
                }
267
269
                
268
270
 
 
271
                /// <summary>
 
272
                /// Bug 5682 - insert method inserts two trailing tabs after } and has no trailing blank line
 
273
                /// </summary>
 
274
                [Test()]
 
275
                public void Bug5682 ()
 
276
                {
 
277
                        TestInsertionPoints (@"class MainClass {
 
278
@D      static void A ()
 
279
        {
 
280
        }
 
281
@s      
 
282
        public static void Main (string[] args)
 
283
        {
 
284
                System.Console.WriteLine ();
 
285
        }
 
286
@s}
 
287
");
 
288
                }
269
289
 
 
290
                
270
291
        }
271
292
}
272
293