| org.apache.commons.net.telnet.TelnetClientFunctionalTest
TelnetClientFunctionalTest | public class TelnetClientFunctionalTest extends TestCase (Code) | | JUnit functional test for TelnetClient.
Connects to the weather forecast service
rainmaker.wunderground.com and asks for Los Angeles forecast.
author: Bruno D'Avanzo |
main | public static void main(String args)(Code) | | main for running the test.
|
setUp | protected void setUp()(Code) | | test setUp
|
testFunctionalTest | public void testFunctionalTest() throws Exception(Code) | | Do the functional test:
- connect to the weather service
- press return on the first menu
- send LAX on the second menu
- send X to exit
|
|
|