eu.larkc.core
Class QueryTest

java.lang.Object
  extended by eu.larkc.core.LarkcTest
      extended by eu.larkc.core.QueryTest

public class QueryTest
extends LarkcTest

Test if simple queries send to LarKC get processed correctly.

Author:
Christoph Fuchs

Constructor Summary
QueryTest()
           
 
Method Summary
 void queryUnknownHost()
          Sends a query to a unknown host (should throw an IOException).
 void simpleQueryViaHttp()
          Deprecated. 
 
Methods inherited from class eu.larkc.core.LarkcTest
deleteOrdiTreeDirectory, startLarKC
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryTest

public QueryTest()
Method Detail

simpleQueryViaHttp

@Deprecated
public void simpleQueryViaHttp()
                        throws java.io.IOException
Deprecated. 

Sends a simple query (who knows Tim Berners Lee) to LarKC via HTTP

Throws:
java.io.IOException

queryUnknownHost

public void queryUnknownHost()
                      throws java.net.MalformedURLException
Sends a query to a unknown host (should throw an IOException).

Throws:
java.net.MalformedURLException