SayHello() public method

basic Ping
public SayHello ( ) : string
return string
Example #1
0
 public void shouldFailBecauseOfInvalidURL()
 {
     proxy = new TestLink(apiKey, "http://localhost/testlink/api/xmlrpc.php");
     string result = proxy.SayHello();
     Assert.AreNotEqual("Hello!", result, "Unexpected Server Response");
     Assert.Fail("Did not cause an exception");
 }
Example #2
0
 public void shouldFailBecauseOfNullDevKey()
 {
     proxy = new TestLink(null, targetDBUrl);
     List<TestCaseId> tcidList = proxy.GetTestCaseIDByName("10 G shock");
     string result = proxy.SayHello();
     Assert.AreNotEqual("Hello!", result, "Unexpected Server Response");
     Assert.Fail("Did not cause an exception");
 }