We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4d6893 commit 4ea7b9eCopy full SHA for 4ea7b9e
1 file changed
test/UnitTest/Components/TableTreeNodeTest.cs
@@ -0,0 +1,18 @@
1
+// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
2
+// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3
+// Website: https://www.blazor.zone or https://argozhang.github.io/
4
+
5
+using BootstrapBlazor.Shared;
6
7
+namespace UnitTest.Components;
8
9
+public class TableTreeNodeTest
10
+{
11
+ [Fact]
12
+ public void Parent_Ok()
13
+ {
14
+ var node = new TableTreeNode<Foo>(new Foo() { Name = "Test" });
15
+ var target = (IExpandableNode<Foo>)node;
16
+ Assert.Null(target.Parent);
17
+ }
18
+}
0 commit comments