public void HasNotRegisteredOrcFileSystemViaWildCards() { // Load program to load assembly var assemblyInfo = AssemblyWeaver.Instance.GetAssembly("ExcludeOrcLibraries", "<LoadAssembliesOnStartup ExcludeAssemblies=\"Orc.*\" />"); ApprovalHelper.AssertIlCode(assemblyInfo.AssemblyPath); }
public void IncludesPrivateAssemblies() { var assemblyInfo = AssemblyWeaver.Instance.GetAssembly("IncludesPrivateAssemblies", @"<LoadAssembliesOnStartup ExcludePrivateAssemblies='false' />"); ApprovalHelper.AssertIlCode(assemblyInfo.AssemblyPath); }
public void ExcludesSystemAssemblies() { var assemblyInfo = AssemblyWeaver.Instance.GetAssembly("ExcludesSystemAssemblies", @"<LoadAssembliesOnStartup ExcludeSystemAssemblies='true' />"); ApprovalHelper.AssertIlCode(assemblyInfo.AfterAssemblyPath); }