Hi Li,

Well, I'd say that if the unit test fails, it's probably a bug.
I've seen it failing for some time, but been busy working on other things,
and it is my impression that this is a minor failure.
If you've got a fix for it, please, do create a patch (from the top of your
working copy, just do 'svn diff > bigUriTestFailureFix.patch' and send it on
up to the list as an attachment.  If it tests out well and passes a review
by one or more of the folks that have commit access to the branch, then
it'll be committed.  I'd love to see this bug fixed.

I haven't looked into this much, so I don't really have anything else to
say.

If you're using TortoiseSVN, you can create a patch by navigating to the
parent of your working copy, right clicking your working copy folder, and
choosing "Create Patch" off the TortoiseSVN menu.

On 8/15/07, 张 立 <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> when i test sipXtapiLibd.lib with sipXtackLibTest.exe tool, two error
> occured which are described as follow:
> 1) test: UrlTest::testBigUriScheme (F) line: 1611 e:\工作
> \hollyc5\sipfoundry\sip
> xtapi\sipxtacklib\src\test\net\urltest.cpp
> assertion failed
> - Expression: bigschemeUrl.getScheme() == Url::UnknownUrlScheme
> 2) test: UrlTest::testBigUriHost (F) line: 1710 e:\工作
> \hollyc5\sipfoundry\sipxt
> api\sipxtacklib\src\test\net\urltest.cpp
> assertion failed
> - Expression: bighostUrl.getScheme() == Url::UnknownUrlScheme
> After i have studied the src, i find there is a problem in the
> Url::parseString() function in Url.cpp. Any Urlstring can be parsed as
> SipUrlScheme only if the host string is correct. For example, a urlstring
> "1234:[EMAIL PROTECTED]" will be parsed as SipUrlScheme. The reason is that
> the mScheme attribute which is UnknownUrlScheme type formerly is
> reassigned
> SipUrlScheme type when the host string is matched. I do not know whether
> it
> is a bug or there is other explains for it.
> Appreciate your help!
>
> Li Zhang
>
> _________________________________________________________________
> 免费下载 MSN Explorer:   http://explorer.msn.com/lccn/
>
>


-- 
Keith Kyzivat

SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to