Exemple #1
0
		private static void Main()
		{
			if (Directory.Exists("Logs"))
			{
				foreach (var file in Directory.GetFiles("Logs"))
				{
					File.Delete(file);
				}
			}
			SetupLogging();

			try
			{
				for (int i = 0; i < 1000; i++)
				{
					Environment.SetEnvironmentVariable("Run", i.ToString());
					Console.Clear();
					Console.WriteLine(i);
					using (var x = new LoadingSavedInfo())
						x.BugWhenSavingDocumentWithPreviousAuthorization_WithQuery();
				}
			}
			finally
			{
				LogManager.Flush();
			}
		}
Exemple #2
0
		static void Main(string[] args)
		{
			for (int i = 0; i < 1024; i++)
			{
				Console.WriteLine(i);
				using (var t = new LoadingSavedInfo())
				{
					t.BugWhenSavingDocumentWithPreviousAuthorization_WithQuery();
				}
			}
		}