mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-19 16:06:35 +08:00
24 lines
640 B
C#
24 lines
640 B
C#
namespace Fluent.Tests.Controls
|
|
{
|
|
using Fluent.Tests.TestClasses;
|
|
using NUnit.Framework;
|
|
|
|
[TestFixture]
|
|
public class InRibbonGalleryTests
|
|
{
|
|
[Test]
|
|
public void Opening_DropDown_Should_Not_Throw_When_GalleryPanel_Has_No_Width()
|
|
{
|
|
var control = new InRibbonGallery
|
|
{
|
|
Width = 10,
|
|
Height = 30
|
|
};
|
|
|
|
using (new TestRibbonWindow(control))
|
|
{
|
|
Assert.That(() => control.IsDropDownOpen = true, Throws.Nothing);
|
|
}
|
|
}
|
|
}
|
|
} |