Esempio n. 1
0
			private void  InitBlock(TestSort enclosingInstance)
			{
				this.enclosingInstance = enclosingInstance;
			}
Esempio n. 2
0
			public AnonymousClassFloatParser(TestSort enclosingInstance)
			{
				InitBlock(enclosingInstance);
			}
Esempio n. 3
0
			private void  InitBlock(Lucene.Net.Search.TopDocs docs1, TestSort enclosingInstance)
			{
				this.docs1 = docs1;
				this.enclosingInstance = enclosingInstance;
			}
Esempio n. 4
0
			public AnonymousClassFilter(Lucene.Net.Search.TopDocs docs1, TestSort enclosingInstance)
			{
				InitBlock(docs1, enclosingInstance);
			}
Esempio n. 5
0
 public DoubleParserAnonymousInnerClassHelper(TestSort outerInstance)
 {
     this.OuterInstance = outerInstance;
 }
Esempio n. 6
0
		public static void  Main(System.String[] argv)
		{
			System.Runtime.Remoting.RemotingConfiguration.Configure("Lucene.Net.Search.TestSort.config", false);
			System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel(new System.Runtime.Remoting.Channels.Http.HttpChannel(8080), false);
			if (argv == null || argv.Length < 1)
			{
				// NUnit.Core.TestRunner.Run(Suite());    // {{Aroush-1.9}} where is "Run" in NUnit?
			}
			else if ("server".Equals(argv[0]))
			{
				TestSort test = new TestSort();
				try
				{
					test.StartServer();
					System.Threading.Thread.Sleep(new System.TimeSpan((System.Int64) 10000 * 500000));
				}
				catch (System.Exception e)
				{
					System.Console.Out.WriteLine(e);
					System.Console.Error.WriteLine(e.StackTrace);
				}
			}

			System.Console.ReadLine();
		}