2022-11-28 20:17:49 +03:00
|
|
|
using System;
|
|
|
|
using System.Reflection;
|
|
|
|
using System.Collections.Generic;
|
2023-01-14 00:20:47 +03:00
|
|
|
using System.Linq;
|
2022-11-28 20:17:49 +03:00
|
|
|
|
2023-01-14 00:20:47 +03:00
|
|
|
using NUnit.Framework;
|
2022-11-28 20:17:49 +03:00
|
|
|
|
2023-01-14 00:20:47 +03:00
|
|
|
public static partial class TestLoader {
|
|
|
|
static partial void AddTestAssembliesImpl (HashSet<Assembly> assemblies)
|
2022-11-28 20:17:49 +03:00
|
|
|
{
|
2023-01-14 00:20:47 +03:00
|
|
|
assemblies.Add (typeof (BundledResources.ResourcesTest).Assembly);
|
2022-11-28 20:17:49 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-14 00:20:47 +03:00
|
|
|
[TestFixture]
|
|
|
|
public class LoaderTest {
|
|
|
|
public void TestAssemblyCount ()
|
|
|
|
{
|
|
|
|
Assert.AreEqual (2, TestLoader.GetTestAssemblies ().Count (), "Test assembly count");
|
|
|
|
}
|
|
|
|
}
|