com.buglabs.bug.program.tests
Class ProgramInterfaceTests
java.lang.Object
TestCase
com.buglabs.bug.program.tests.ProgramInterfaceTests
public class ProgramInterfaceTests
- extends TestCase
NOTE: these tests currently assume there is a Bug kernel running at localhost:8082.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProgramInterfaceTests
public ProgramInterfaceTests()
setUp
protected void setUp()
throws java.lang.Exception
- Throws:
java.lang.Exception
testProgramXmlGet
public void testProgramXmlGet()
throws java.lang.Exception
- Tests that a response is received that is xml and starts with a
IProgramXml.NODE_PROGRAMS element.
- Throws:
java.lang.Exception
testProgramXmlPostGet
public void testProgramXmlPostGet()
get
protected static XmlNode get(java.net.URLConnection conn)
throws java.io.IOException
- Throws:
java.io.IOException