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

« back to all changes in this revision

Viewing changes to external/ngit/Sharpen.Test/ScheduledThreadPoolExecutorTests.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:
8
8
        [TestFixture()]
9
9
        public class ScheduledThreadPoolExecutorTests
10
10
        {
11
 
                const int delayDif = 7;
12
 
                
 
11
                const int delayDif = 50;
 
12
 
 
13
                [Test]
 
14
                public void ExecuteTest ()
 
15
                {
 
16
                        ThreadPoolExecutor executor = new ThreadPoolExecutor (10, Executors.DefaultThreadFactory ());
 
17
                        executor.Execute (new RunnableAction (delegate {
 
18
                                Console.WriteLine ("Yarrrrr!");
 
19
                        }));
 
20
                }
 
21
 
13
22
                [Test()]
14
23
                public void DelayedTask ()
15
24
                {