Test cases for the Shakespeare search app.
t:create-query($queryStr as xs:string?, $mode as xs:string) as item()*
Test translation of query parameters into a full text query.
$queryStr? | $queryStr? |
$mode | $mode |
t:query($queryStr as xs:string?, $mode as xs:string) as item()*
Test the actual query function: should return a scene with the search terms highlighted.
$queryStr? | $queryStr? |
$mode | $mode |
t:show-hits($queryStr as xs:string?, $mode as xs:string) as item()*
Test result display.
$queryStr? | $queryStr? |
$mode | $mode |