for me this one is the key one :)
testAbsoluteAuthority
>> "self debug: #testAbsoluteAuthority"
>>
>> <test: #URI about: 'absolute uri with authority' tag: #(network )>
>>
>> | uri absoluteURIString |
>> "An absolute URI with authority. An absolute URI starts with a
>> scheme:"
>> absoluteURIString := 'http://www.pharo-project.org'.
>> uri := URI fromString: absoluteURIString.
>> self assert: (uri asString = absoluteURIString).
>> self assert: (uri isAbsolute).
>> self assert: (uri authority asString = 'www.pharo-project.org').
>> self deny: (uri isOpaque).
... [show rest of quote]
-> create an entry in the HelpSystem
URI
|> class comment of URI
|> absolute uri with authority
V
testAbsoluteAuthority
"self debug: #testAbsoluteAuthority"
<test: #URI about: 'absolute uri with authority' tag:
#(network )>
| uri absoluteURIString |
"An absolute URI with authority. An absolute URI starts
with a scheme:"
absoluteURIString := 'http://www.pharo-project.org'.
uri := URI fromString: absoluteURIString.
self assert: (uri asString = absoluteURIString).
self assert: (uri isAbsolute).
self assert: (uri authority asString =
'www.pharo-project.org').
self deny: (uri isOpaque).
|>
If there is a another test tagged with URI it should show up below
But may be we could do that based on setting because everything is there.
Stef
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project