Welcome to mirror list, hosted at ThFree Co, Russian Federation.

CommonLogs.cs « Logging « Mono.Linker.Tests.Cases « test - github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 776647232a8a4c604ca35c60647c827c193dda62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using Mono.Linker.Tests.Cases.Expectations.Assertions;
using Mono.Linker.Tests.Cases.Expectations.Metadata;

namespace Mono.Linker.Tests.Cases.Logging
{

#if !NETCOREAPP
	[IgnoreTestCase ("Can be enabled once MonoBuild produces a dll from which we can grab the types in the Mono.Linker namespace.")]
#else
	[SetupCompileBefore ("LogStep.dll", new[] { "Dependencies/LogStep.cs" }, new[] { "illink.dll" })]
#endif
	[SetupLinkerArgument ("--custom-step", "Log.LogStep,LogStep.dll")]
	[SetupLinkerArgument ("--verbose")]
	[LogContains ("ILLink: error IL6001: Error")]
	[LogContains ("logtest(1,1): warning IL6002: Warning")]
	[LogContains ("ILLink: Info")]
	[LogContains ("ILLink: Diagnostics")]
	public class CommonLogs
	{
		public static void Main ()
		{
		}
	}
}