pl.mbdev.openstage.test
Class HttpConnectionTest

java.lang.Object
  extended by pl.mbdev.openstage.test.OpenStageSDK_Test
      extended by pl.mbdev.openstage.test.HttpConnectionTest

public class HttpConnectionTest
extends OpenStageSDK_Test

Uses Google's "define:" keyword to find definition of an entered word.

 Copyright 2011 Mateusz Bysiek,
     mb@mbdev.pl, http://mbdev.pl/
 
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 
     http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 

Author:
Mateusz Bysiek

Constructor Summary
HttpConnectionTest()
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void writeXml(java.io.PrintWriter out)
          Here you should initialize all XML objects you would like to test.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpConnectionTest

public HttpConnectionTest()
Method Detail

main

public static void main(java.lang.String[] args)

writeXml

protected void writeXml(java.io.PrintWriter out)
Description copied from class: OpenStageSDK_Test
Here you should initialize all XML objects you would like to test. The generated content will be sent to console. Use any Xml sub-class, or your custom class.

Specified by:
writeXml in class OpenStageSDK_Test
Parameters:
out - PrintWriter created from System.out, you should use sendTo(out) at some point of your test to see any results