Ooui-tws-port/Tests/EventTargetTests.cs

26 lines
506 B
C#
Raw Normal View History

2017-06-18 06:21:49 +00:00
using System;
2017-07-07 18:47:59 +00:00
#if NUNIT
using NUnit.Framework;
using TestClassAttribute = NUnit.Framework.TestFixtureAttribute;
using TestMethodAttribute = NUnit.Framework.TestCaseAttribute;
#else
2017-06-18 06:21:49 +00:00
using Microsoft.VisualStudio.TestTools.UnitTesting;
2017-07-07 18:47:59 +00:00
#endif
2017-06-18 06:21:49 +00:00
using Ooui;
namespace Tests
{
[TestClass]
public class EventTargetTests
{
[TestMethod]
public void CreationState ()
{
var b = new Button ();
Assert.AreEqual (1, b.StateMessages.Count);
}
}
}