mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-24 21:54:01 -10:00
Commit migrated from https://github.com/dotnet/corefx/commit/97964e919b3218c957c3d17de5226177b9c33d6f
33 lines
945 B
C#
33 lines
945 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
|
|
using System;
|
|
using System.ComponentModel;
|
|
using Xunit;
|
|
|
|
namespace Test
|
|
{
|
|
public class ComponentModelPrimitivesTests
|
|
{
|
|
[Fact]
|
|
public static void TestComponentPrimitivesModelBasic()
|
|
{
|
|
// dummy tests to make sure the System.ComponentModel.Primitives library loaded successfully
|
|
#pragma warning disable 0219
|
|
IComponent iComponent = null;
|
|
Assert.Null(iComponent);
|
|
|
|
IContainer iContainer = null;
|
|
Assert.Null(iContainer);
|
|
|
|
ISite iSite = null;
|
|
IServiceProvider iServiceProvider = iSite;
|
|
Assert.Null(iServiceProvider);
|
|
|
|
ComponentCollection componentCollection = null;
|
|
Assert.Null(componentCollection);
|
|
#pragma warning restore 0219
|
|
}
|
|
}
|
|
}
|