开发者

What is the namespace of NUnit CollectionAssert?

I have the following:

using System;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using NUnit.Framework;
using Selenium;
using System.Collections.Generic;

but still can not get CollectionAssert which I found on CollectionA开发者_JAVA百科ssert (NUnit 2.4)

The printscreen:

What is the namespace of NUnit CollectionAssert?


It's definitely in the NUnit.Framework namespace in the nunit.framework assembly - I've just downloaded NUnit 2.5.10 to check.

I suggest you check which version of nunit.framework you're really referencing, and open it up in Reflector to check for the existence of CollectionAssert.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜