mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-23 17:48:39 +08:00
19 lines
526 B
C#
19 lines
526 B
C#
using mRemoteNG.Connection;
|
|
using mRemoteNG.Tree.Root;
|
|
using NUnit.Framework;
|
|
|
|
namespace mRemoteNGTests.Container
|
|
{
|
|
public class RootNodeInfoTests
|
|
{
|
|
[Test]
|
|
public void InheritanceIsDisabledForNodesDirectlyUnderRootNode()
|
|
{
|
|
var rootNode = new RootNodeInfo(RootNodeType.Connection);
|
|
var con1 = new ConnectionInfo { Inheritance = { Password = true } };
|
|
rootNode.AddChild(con1);
|
|
Assert.That(con1.Inheritance.Password, Is.False);
|
|
}
|
|
}
|
|
}
|