[haiku-bugs] [Haiku] #14377: BUrl unit tests fail

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 20 Aug 2018 17:31:05 -0000

#14377: BUrl unit tests fail
------------------------------+------------------------------
 Reporter:  KapiX             |        Owner:  nobody
     Type:  bug               |       Status:  new
 Priority:  normal            |    Milestone:  Unscheduled
Component:  Kits/Network Kit  |      Version:  R1/Development
 Keywords:                    |   Blocked By:
 Blocking:                    |  Has a Patch:  0
 Platform:  All               |
------------------------------+------------------------------
 Repro: `UnitTester UrlTest`

 {{{
 - FAILURES: 3
     TestCaller UrlTest::ParseTest: Expected:
 http://user:pass@xxxxxxxxxxx:80/path?, but was:
 http://user:pass@xxxxxxxxxxx:80/path.
     TestCaller UrlTest::TestIsValid: Set to an invalid host
     TestCaller UrlTest::RelativeUriTest: Expected: foo:/c, but was:
 foo:a/c. Base: foo:a/b Relative: ../c
 }}}

 * ParseTest: `// Test that parsing a valid URL and converting back to
 string doesn't alter it` [1]
 * TestIsValid: looks like assert condition is reversed [2]
 * RelativeUriTest: `// However, foo:/c is what the RFC says we should
 get.` [3]


 [1] https://git.haiku-
 os.org/haiku/tree/src/tests/kits/net/service/UrlTest.cpp#n31

 [2] https://git.haiku-
 os.org/haiku/tree/src/tests/kits/net/service/UrlTest.cpp#n71

 [3] https://git.haiku-
 os.org/haiku/tree/src/tests/kits/net/service/UrlTest.cpp#n271

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14377>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: