Class groovyx.net.http.ContentTypesSpec

27

tests

0

failures

0

ignored

0.019s

duration

100%

successful

Tests

Test Duration Result
forEach 0.010s passed
fromValue(*/*) 0.003s passed
fromValue(application/atom+xml) 0s passed
fromValue(application/javascript) 0s passed
fromValue(application/json) 0s passed
fromValue(application/octet-stream) 0s passed
fromValue(application/x-www-form-urlencoded) 0s passed
fromValue(application/xhtml+xml) 0s passed
fromValue(application/xml) 0s passed
fromValue(nothing/nohow) 0.001s passed
fromValue(text/html) 0s passed
fromValue(text/javascript) 0s passed
fromValue(text/plain) 0s passed
fromValue(text/xml) 0s passed
getAt(0) == */* 0.002s passed
getAt(0) == application/json 0s passed
getAt(0) == application/octet-stream 0s passed
getAt(0) == application/x-www-form-urlencoded 0s passed
getAt(0) == application/xml 0s passed
getAt(0) == text/html 0s passed
getAt(0) == text/plain 0s passed
getAt(1) == application/javascript 0s passed
getAt(1) == text/xml 0s passed
getAt(2) == application/xhtml+xml 0s passed
getAt(2) == text/javascript 0s passed
getAt(3) == application/atom+xml 0s passed
iterator 0.003s passed