Re: nUnit version 2.4.7 cannot support .net framework 1.1

"Agnes Chan" <[email protected]> Tue, 22 Jul 2008 11:50:29 +0800
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <[email protected]>
Hi Charlie

  I follow your instruction but it still marked as error.

  I add these 3 at the beginning of my code:
  Imports NUnit.Framework.Extensions
  Imports NUnit.Framework
  Imports NUnit.Core.Extensions.RowTest

  Here is my code:
    <RowTest()> _
    <Row ("A")> _
    Public Sub Testing(ByVal str As String)

    End Sub

The part I highlight with yellow is where the error occurred. And the error
is still remain as: Attribute specifier is not a complete statement. Use a
line continuation to apply the attribute to the following statement.

Thanks for helping me to look into this error.



2008/7/22 Charlie Poole <[email protected]>:

>  Hi Agnes,
>
> I put us back to the list - otherwise the context gets lost.
>
> If you are putting attributes on a separate line from the method definition
> in
> VB, that's an error.
>
> RowTest and Row are not part of NUnit.Framework. You need to add both
> a reference to the assembly with RowTest - nunit.core.extensions.dll - and
> import the namespace for RowTest  - use the intellisense to find it.
>
> Charlie
>
>  ------------------------------
> *From:* Agnes Chan [mailto:[email protected]]
> *Sent:* Monday, July 21, 2008 5:56 PM
> *To:* Charlie Poole; [email protected]
> *Subject:* Re: [Nunit-users] nUnit version 2.4.7 cannot support .net
> framework 1.1
>
>  Hi,
>
>   The error I encountered is happened under nUnit version 2.4.7 + .net
> framework 1.1.
>
>   I wish to use RowTest to test on my data, and I added reference to
> nunit.framework.extensions assembly.
>
>   I added "Imports NUnit.Framework" at the beginning of my code, but when
> come to the <RowTest()> part:
>   <Row("a", "b", "c")> _
>   It marked as an error.
>
>   And the Error message is: Attribute specifier is not a complete
> statement. Use a line continuation to apply the attribute to the following
> statement.
>
>   Thanks for helping me to look into this error.
>
>
> 2008/7/22 Charlie Poole <[email protected]>:
>
>>  I would need more info to help you with this. The screen shot doesn't
>> show any
>> info about what the error is. I do see that the import statements for the
>> rowtest
>> namespaces seem to be marked as an error.
>>
>> Please provide some info about the error message in a note - no more
>> screen
>> shots please. :-)
>>
>> Charlie
>>
>>  ------------------------------
>> *From:* [email protected] [mailto:
>> [email protected]] *On Behalf Of *Agnes Chan
>> *Sent:* Monday, July 21, 2008 1:50 AM
>> *To:* [email protected]
>> *Subject:* [Nunit-users] nUnit version 2.4.7 cannot support .net
>> framework 1.1
>>
>>   Hi,
>>
>>   I encountered this issue: nUnit version 2.4.7 cannot support .net
>> framework 1.1
>>
>>   When I am using the RowTest(), it appears error.
>>
>>   Please find attachment for screen shot. Thanks.
>>
>> --
>>
>>
>>
>> Regards,
>> Agnes Chan
>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Nunit-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/nunit-users
>>
>>
>
>
> --
>
>
>
> Regards,
> Agnes Chan
>
>


-- 



Regards,
Agnes Chan

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
Nunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nunit-users