File: System\Windows\Forms\TestUtilitiesTests.vb
Web Access
Project: src\src\Microsoft.VisualBasic.Forms\tests\UnitTests\Microsoft.VisualBasic.Forms.Tests.vbproj (Microsoft.VisualBasic.Forms.Tests)
' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
 
Imports FluentAssertions
Imports Microsoft.VisualBasic.ApplicationServices
Imports Xunit
 
Namespace Microsoft.VisualBasic.Forms.Tests
 
    Public Class TestUtilitiesTests
 
        <WinFormsFact>
        Public Sub EnumTestInvalidDataIteratorTests()
            Dim testClass As New EnumTestValidData(Of AuthenticationMode)
            testClass.IEnumerable_GetEnumerator.Should.NotBeNull()
            testClass.Any.Should.BeTrue()
        End Sub
 
        <WinFormsFact>
        Public Sub EnumTestValidDataIteratorTests()
            Dim testClass As New EnumTestValidData(Of AuthenticationMode)
            testClass.IEnumerable_GetEnumerator.Should.NotBeNull()
            testClass.Any.Should.BeTrue()
        End Sub
 
        <WinFormsFact>
        Public Sub TimeTestDataIteratorTests()
            Dim testClass As New TimeTestData
            testClass.IEnumerable_GetEnumerator.Should.NotBeNull()
            testClass.Any.Should.BeTrue()
        End Sub
 
    End Class
End Namespace