From 44539e826e4e6d6b010c38fade002be51455d9f8 Mon Sep 17 00:00:00 2001 From: zhangpeihang <948869991@qq.com> Date: Tue, 22 Mar 2022 21:59:47 +0800 Subject: [PATCH 1/3] =?UTF-8?q?test:=20=E6=B7=BB=E5=8A=A0=20Nav=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=8D=95=E5=85=83=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/UnitTest/Components/NavTest.cs | 133 ++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 test/UnitTest/Components/NavTest.cs diff --git a/test/UnitTest/Components/NavTest.cs b/test/UnitTest/Components/NavTest.cs new file mode 100644 index 000000000..19607f4e2 --- /dev/null +++ b/test/UnitTest/Components/NavTest.cs @@ -0,0 +1,133 @@ +// Copyright (c) Argo Zhang (argo@163.com). All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Website: https://www.blazor.zone or https://argozhang.github.io/ + +using Microsoft.AspNetCore.Components.Routing; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace UnitTest.Components; + +public class NavTest : BootstrapBlazorTestBase +{ + [Fact] + public void Items_OK() + { + var cut = Context.RenderComponent