Changes

Summary

  1. Add missing file for VPNState enum
  2. Increase waiting time for UDP thread in SenderThread test case for UDP socks
  3. Enabled asynchronous notifications by Notification and synchronized methods
  4. Make SenderThread terminate UDP manager when terminating
  5. Modified IVPNInterface to provide more fine-grained information about current state of the VPN service
  6. Wrote test cases for connectivity management and implemented multiple improvements
  7. Implemented connectivity monitor along with corresponding test cases
  8. Fixed test cases for CascadeConnectionManager and SenderThread
  9. Fixed test method to generate DNS requests
  10. Added TestVPNChannel class for testing purposes
  11. Extended test suite
  12. Added test class for generating test packets and implemented first sample test for sender thread
  13. Moved test classes into package anonvpn.anon_next.core and implemented test classes for InputStream and OutputStream
Revision 100 by martin.byrenheid:
Add missing file for VPNState enum
Change TypePath in RepositoryPath in Workspace
The file was added/ANONVPNlib/trunk/src/main/java/anonvpn/anon_next/core/gui/VPNState.javasrc/main/java/anonvpn/anon_next/core/gui/VPNState.java
Revision 99 by martin.byrenheid:
Increase waiting time for UDP thread in SenderThread test case for UDP socks
Change TypePath in RepositoryPath in Workspace
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/SenderThreadTest.javasrc/test/java/anonvpn/anon_next/core/networking/SenderThreadTest.java
Revision 98 by martin.byrenheid:
Enabled asynchronous notifications by Notification and synchronized methods
Change TypePath in RepositoryPath in Workspace
The file was modified/ANONVPNlib/trunk/src/main/java/anonvpn/anon_next/core/notification/NotificationDispatcher.javasrc/main/java/anonvpn/anon_next/core/notification/NotificationDispatcher.java
Revision 97 by martin.byrenheid:
Make SenderThread terminate UDP manager when terminating
Change TypePath in RepositoryPath in Workspace
The file was modified/ANONVPNlib/trunk/src/main/java/anonvpn/anon_next/core/networking/SenderThread.javasrc/main/java/anonvpn/anon_next/core/networking/SenderThread.java
Revision 96 by martin.byrenheid:
Modified IVPNInterface to provide more fine-grained information about current state of the VPN service
Change TypePath in RepositoryPath in Workspace
The file was modified/ANONVPNlib/trunk/src/main/java/anonvpn/anon_next/core/gui/IVPNInterface.javasrc/main/java/anonvpn/anon_next/core/gui/IVPNInterface.java
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/gui/mocks/TestVPNInterface.javasrc/test/java/anonvpn/anon_next/core/gui/mocks/TestVPNInterface.java
Revision 95 by martin.byrenheid:
Wrote test cases for connectivity management and implemented multiple improvements
Change TypePath in RepositoryPath in Workspace
The file was modified/ANONVPNlib/trunk/src/main/java/anonvpn/anon_next/core/ANONVPNService.javasrc/main/java/anonvpn/anon_next/core/ANONVPNService.java
The file was modified/ANONVPNlib/trunk/src/main/java/anonvpn/anon_next/core/CascadeConnectionManager.javasrc/main/java/anonvpn/anon_next/core/CascadeConnectionManager.java
The file was modified/ANONVPNlib/trunk/src/main/java/anonvpn/anon_next/core/notification/Event.javasrc/main/java/anonvpn/anon_next/core/notification/Event.java
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/TestAnonClient.javasrc/test/java/anonvpn/anon_next/core/TestAnonClient.java
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/CascadeConnectionManagerTest.javasrc/test/java/anonvpn/anon_next/core/networking/CascadeConnectionManagerTest.java
Revision 94 by martin.byrenheid:
Implemented connectivity monitor along with corresponding test cases
Change TypePath in RepositoryPath in Workspace
The file was modified/ANONVPNlib/trunk/src/main/java/anonvpn/anon_next/core/ANONVPNService.javasrc/main/java/anonvpn/anon_next/core/ANONVPNService.java
The file was modified/ANONVPNlib/trunk/src/main/java/anonvpn/anon_next/core/CascadeConnectionManager.javasrc/main/java/anonvpn/anon_next/core/CascadeConnectionManager.java
The file was modified/ANONVPNlib/trunk/src/main/java/anonvpn/anon_next/core/gui/IVPNInterfaceFactory.javasrc/main/java/anonvpn/anon_next/core/gui/IVPNInterfaceFactory.java
The file was added/ANONVPNlib/trunk/src/main/java/anonvpn/anon_next/core/networking/IConnectivityMonitor.javasrc/main/java/anonvpn/anon_next/core/networking/IConnectivityMonitor.java
The file was added/ANONVPNlib/trunk/src/main/java/anonvpn/anon_next/core/networking/IConnectivityMonitorFactory.javasrc/main/java/anonvpn/anon_next/core/networking/IConnectivityMonitorFactory.java
The file was modified/ANONVPNlib/trunk/src/main/java/anonvpn/anon_next/core/notification/Event.javasrc/main/java/anonvpn/anon_next/core/notification/Event.java
The file was modified/ANONVPNlib/trunk/src/main/java/anonvpn/anon_next/core/notification/NotificationDispatcher.javasrc/main/java/anonvpn/anon_next/core/notification/NotificationDispatcher.java
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/TestANONVPNService.javasrc/test/java/anonvpn/anon_next/core/TestANONVPNService.java
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/TestAnonClient.javasrc/test/java/anonvpn/anon_next/core/TestAnonClient.java
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/TestCascadeConnectionManager.javasrc/test/java/anonvpn/anon_next/core/TestCascadeConnectionManager.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/guisrc/test/java/anonvpn/anon_next/core/gui
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/gui/mockssrc/test/java/anonvpn/anon_next/core/gui/mocks
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/gui/mocks/TestVPNInterface.javasrc/test/java/anonvpn/anon_next/core/gui/mocks/TestVPNInterface.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/gui/mocks/TestVPNInterfaceFactory.javasrc/test/java/anonvpn/anon_next/core/gui/mocks/TestVPNInterfaceFactory.java
The file was removed/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/mocks/TestOutputStream.javasrc/test/java/anonvpn/anon_next/core/mocks/TestOutputStream.java
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/CascadeConnectionManagerTest.javasrc/test/java/anonvpn/anon_next/core/networking/CascadeConnectionManagerTest.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/mocks/TestConnectivityMonitor.javasrc/test/java/anonvpn/anon_next/core/networking/mocks/TestConnectivityMonitor.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/mocks/TestConnectivityMonitorFactory.javasrc/test/java/anonvpn/anon_next/core/networking/mocks/TestConnectivityMonitorFactory.java
The file was removed/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/mocks/TestVPNInterface.javasrc/test/java/anonvpn/anon_next/core/networking/mocks/TestVPNInterface.java
The file was removed/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/mocks/TestVPNInterfaceFactory.javasrc/test/java/anonvpn/anon_next/core/networking/mocks/TestVPNInterfaceFactory.java
Revision 93 by martin.byrenheid:
Fixed test cases for CascadeConnectionManager and SenderThread
Change TypePath in RepositoryPath in Workspace
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/CascadeConnectionManagerTest.javasrc/test/java/anonvpn/anon_next/core/networking/CascadeConnectionManagerTest.java
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/SenderThreadTest.javasrc/test/java/anonvpn/anon_next/core/networking/SenderThreadTest.java
Revision 92 by martin.byrenheid:
Fixed test method to generate DNS requests
Change TypePath in RepositoryPath in Workspace
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/TestPacket.javasrc/test/java/anonvpn/anon_next/core/TestPacket.java
Revision 91 by martin.byrenheid:
Added TestVPNChannel class for testing purposes
Change TypePath in RepositoryPath in Workspace
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/TestAnonClient.javasrc/test/java/anonvpn/anon_next/core/TestAnonClient.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/TestVPNChannel.javasrc/test/java/anonvpn/anon_next/core/TestVPNChannel.java
Revision 90 by martin.byrenheid:
Extended test suite
Change TypePath in RepositoryPath in Workspace
The file was modified/ANONVPNlib/trunk/pom.xmlpom.xml
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/TestAnonClient.javasrc/test/java/anonvpn/anon_next/core/TestAnonClient.java
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/TestPacket.javasrc/test/java/anonvpn/anon_next/core/TestPacket.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/TestUDPChannel.javasrc/test/java/anonvpn/anon_next/core/TestUDPChannel.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/mockssrc/test/java/anonvpn/anon_next/core/mocks
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/mocks/TestOutputStream.javasrc/test/java/anonvpn/anon_next/core/mocks/TestOutputStream.java
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/CascadeConnectionManagerTest.javasrc/test/java/anonvpn/anon_next/core/networking/CascadeConnectionManagerTest.java
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/InfoServiceTest.javasrc/test/java/anonvpn/anon_next/core/networking/InfoServiceTest.java
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/SenderThreadTest.javasrc/test/java/anonvpn/anon_next/core/networking/SenderThreadTest.java
The file was removed/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/mocks/TestConfig.javasrc/test/java/anonvpn/anon_next/core/networking/mocks/TestConfig.java
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/mocks/TestTunnelingInterface.javasrc/test/java/anonvpn/anon_next/core/networking/mocks/TestTunnelingInterface.java
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/persistence/mocks/TestConfig.javasrc/test/java/anonvpn/anon_next/core/persistence/mocks/TestConfig.java
Revision 89 by martin.byrenheid:
Added test class for generating test packets and implemented first sample test for sender thread
Change TypePath in RepositoryPath in Workspace
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/TestAnonClient.javasrc/test/java/anonvpn/anon_next/core/TestAnonClient.java
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/TestChannel.javasrc/test/java/anonvpn/anon_next/core/TestChannel.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/TestPacket.javasrc/test/java/anonvpn/anon_next/core/TestPacket.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/TestTCPChannel.javasrc/test/java/anonvpn/anon_next/core/TestTCPChannel.java
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/CascadeConnectionManagerTest.javasrc/test/java/anonvpn/anon_next/core/networking/CascadeConnectionManagerTest.java
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/SenderThreadTest.javasrc/test/java/anonvpn/anon_next/core/networking/SenderThreadTest.java
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/mocks/TestOutputStream.javasrc/test/java/anonvpn/anon_next/core/networking/mocks/TestOutputStream.java
The file was modified/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/mocks/TestTunnelingInterface.javasrc/test/java/anonvpn/anon_next/core/networking/mocks/TestTunnelingInterface.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/persistencesrc/test/java/anonvpn/anon_next/core/persistence
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/persistence/mockssrc/test/java/anonvpn/anon_next/core/persistence/mocks
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/persistence/mocks/TestConfig.javasrc/test/java/anonvpn/anon_next/core/persistence/mocks/TestConfig.java
Revision 88 by martin.byrenheid:
Moved test classes into package anonvpn.anon_next.core and implemented test classes for InputStream and OutputStream
Change TypePath in RepositoryPath in Workspace
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/coresrc/test/java/anonvpn/anon_next/core
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/TestANONVPNService.javasrc/test/java/anonvpn/anon_next/core/TestANONVPNService.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/TestAnonClient.javasrc/test/java/anonvpn/anon_next/core/TestAnonClient.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/TestCascadeConnectionManager.javasrc/test/java/anonvpn/anon_next/core/TestCascadeConnectionManager.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/TestChannel.javasrc/test/java/anonvpn/anon_next/core/TestChannel.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networkingsrc/test/java/anonvpn/anon_next/core/networking
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/ANONVPNServiceTest.javasrc/test/java/anonvpn/anon_next/core/networking/ANONVPNServiceTest.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/CascadeConnectionManagerTest.javasrc/test/java/anonvpn/anon_next/core/networking/CascadeConnectionManagerTest.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/InfoServiceTest.javasrc/test/java/anonvpn/anon_next/core/networking/InfoServiceTest.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/SenderThreadTest.javasrc/test/java/anonvpn/anon_next/core/networking/SenderThreadTest.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/mockssrc/test/java/anonvpn/anon_next/core/networking/mocks
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/mocks/TestConfig.javasrc/test/java/anonvpn/anon_next/core/networking/mocks/TestConfig.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/mocks/TestHTTPClientSocketFactory.javasrc/test/java/anonvpn/anon_next/core/networking/mocks/TestHTTPClientSocketFactory.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/mocks/TestInputStream.javasrc/test/java/anonvpn/anon_next/core/networking/mocks/TestInputStream.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/mocks/TestInternetSocket.javasrc/test/java/anonvpn/anon_next/core/networking/mocks/TestInternetSocket.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/mocks/TestNetworkFactory.javasrc/test/java/anonvpn/anon_next/core/networking/mocks/TestNetworkFactory.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/mocks/TestOutputStream.javasrc/test/java/anonvpn/anon_next/core/networking/mocks/TestOutputStream.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/mocks/TestSocket.javasrc/test/java/anonvpn/anon_next/core/networking/mocks/TestSocket.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/mocks/TestTunnelingInterface.javasrc/test/java/anonvpn/anon_next/core/networking/mocks/TestTunnelingInterface.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/mocks/TestVPNInterface.javasrc/test/java/anonvpn/anon_next/core/networking/mocks/TestVPNInterface.java
The file was added/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/core/networking/mocks/TestVPNInterfaceFactory.javasrc/test/java/anonvpn/anon_next/core/networking/mocks/TestVPNInterfaceFactory.java
The file was removed/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/networking/ANONVPNServiceTest.javasrc/test/java/anonvpn/anon_next/networking/ANONVPNServiceTest.java
The file was removed/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/networking/CascadeConnectionManagerTest.javasrc/test/java/anonvpn/anon_next/networking/CascadeConnectionManagerTest.java
The file was removed/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/networking/InfoServiceTest.javasrc/test/java/anonvpn/anon_next/networking/InfoServiceTest.java
The file was removed/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/networking/SenderThreadTest.javasrc/test/java/anonvpn/anon_next/networking/SenderThreadTest.java
The file was removed/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/networking/mocks/TestConfig.javasrc/test/java/anonvpn/anon_next/networking/mocks/TestConfig.java
The file was removed/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/networking/mocks/TestHTTPClientSocketFactory.javasrc/test/java/anonvpn/anon_next/networking/mocks/TestHTTPClientSocketFactory.java
The file was removed/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/networking/mocks/TestInternetSocket.javasrc/test/java/anonvpn/anon_next/networking/mocks/TestInternetSocket.java
The file was removed/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/networking/mocks/TestNetworkFactory.javasrc/test/java/anonvpn/anon_next/networking/mocks/TestNetworkFactory.java
The file was removed/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/networking/mocks/TestSocket.javasrc/test/java/anonvpn/anon_next/networking/mocks/TestSocket.java
The file was removed/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/networking/mocks/TestTunnelingInterface.javasrc/test/java/anonvpn/anon_next/networking/mocks/TestTunnelingInterface.java
The file was removed/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/networking/mocks/TestVPNInterface.javasrc/test/java/anonvpn/anon_next/networking/mocks/TestVPNInterface.java
The file was removed/ANONVPNlib/trunk/src/test/java/anonvpn/anon_next/networking/mocks/TestVPNInterfaceFactory.javasrc/test/java/anonvpn/anon_next/networking/mocks/TestVPNInterfaceFactory.java