[Mono-vb] Few more test cases

B Anirban banirban@novell.com
Sun, 25 Jan 2004 04:08:36 -0700

Hi Rafael,
Thanks for your comments.

> The Test.Sources is OK; but we have problems with some of the source
> files, for instance:

> CharacterLiterals1.vb
> ---------------------

This negative test case is been derived from the following positive
test case.
Which compiles and run without any problem in .Net environment as shown

F:\MyProgs\mbas_testcases\common\Project1>Type CharacterLiterals.vb
Module CharacterLiterals
    Sub Main()
        Dim c As Char
        c = "x"

        c = "X"

        Dim a As String = "X"c
        If a <> c Then
            Throw New System.Exception("a is not same as c")
        End If

        'the outcome should be "x"
        c = """x"""
    End Sub

End Module

F:\MyProgs\mbas_testcases\common\Project1>vbc CharacterLiterals.vb
Microsoft (R) Visual Basic .NET Compiler version 7.00.9466
for Microsoft (R) .NET Framework version 1.00.3705
Copyright (C) Microsoft Corporation 1987-2001. All rights reserved.



Anyways, I had written all the test cases in windows .Net and executed
each one and then only ported the same on Mono, as I mentioned in my
last mail.

Thanking again.