[Mono-vb] Few more test cases

A Rafael D Teixeira rafael.teixeirabr@terra.com.br
Sat, 24 Jan 2004 10:37:52 -0200


On Fri, 2004-01-23 at 13:57, B Anirban wrote:
> Hi Rafael,

Hi Anirban,

> Today I have added few more test cases under btests.

Good,

> During check-in I realized that last time The Test.Sources file didn't
> get checked-in for some reason (my be I missed to add that in cvs).
> Anyways, I found that you already placed one in place.
> Today I added my Test.Sources file in place.
> Please let me know if you have any concern with the file. In that case
> we can revert back to your file.

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

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

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

Won't compile I corrected it to 

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

Already in CVS.

> Looking forward for your comments.

>From looking briefly at the results file, I think other sources contain
such errors, I recommend you to always compile with MS vbc in Windows,
before committing sources to cvs. If that is not possible, double-check
your coding with the syntax documentation in MSDN and try to understand
what mbas is saying about the files, to figure if it is a mbas problem
or a source problem.

> Regards.
> Anirban.

>From the lookout, we have plenty of work ahead of us...

Thanks Anirban,

-- 
Rafael Teixeira 
Brazilian Polymath 
Mono Hacker since 16 Jul 2001 
Mono Brasil Founding Member
English Blog: http://monoblog.blogspot.com/
Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/