Ooui-tws-port/Tests/EventTargetTests.cs

26 lines
506 B
C#

using System;
#if NUNIT
using NUnit.Framework;
using TestClassAttribute = NUnit.Framework.TestFixtureAttribute;
using TestMethodAttribute = NUnit.Framework.TestCaseAttribute;
#else
using Microsoft.VisualStudio.TestTools.UnitTesting;
#endif
using Ooui;
namespace Tests
{
[TestClass]
public class EventTargetTests
{
[TestMethod]
public void CreationState ()
{
var b = new Button ();
Assert.AreEqual (1, b.StateMessages.Count);
}
}
}