Update of /cvsroot/mocklib/mocklib3/input/javasrc/biz/xsoftware/examples/listener2
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv30309/input/javasrc/biz/xsoftware/examples/listener2
Modified Files:
TestExample.java SysUnderTest.java
Log Message:
add more to the examples.
Index: TestExample.java
===================================================================
RCS file: /cvsroot/mocklib/mocklib3/input/javasrc/biz/xsoftware/examples/listener2/TestExample.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestExample.java 11 Sep 2006 00:34:10 -0000 1.1
--- TestExample.java 11 Sep 2006 03:47:39 -0000 1.2
***************
*** 13,18 ****
/**
! * JUnit Suite of TestCases for demonstrating mocking out listeners to
! * test for events under certain circumstances.
*
* @author Dean Hiller
--- 13,28 ----
/**
! * This example has the following tests
! *
! * testBasicListener
! *
! * Tests when a user is added to the system, we get an event
! * and tests when he is deleted, we get an event.
! *
! * testAddUserTwice
! *
! * This test that when I add a user that is already added, we do
! * not fire a second event telling client systems the user was
! * added again which would be a lie
*
* @author Dean Hiller
Index: SysUnderTest.java
===================================================================
RCS file: /cvsroot/mocklib/mocklib3/input/javasrc/biz/xsoftware/examples/listener2/SysUnderTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** SysUnderTest.java 11 Sep 2006 00:34:10 -0000 1.1
--- SysUnderTest.java 11 Sep 2006 03:47:39 -0000 1.2
***************
*** 13,20 ****
/**
- * The SysUnderTest here is an adapter to a legacy system. The SysUnderTest
- * might be on a different thread or the same thread. For events from
- * a legacy system, the SysUnderTest alot of the time may be on a different
- * thread listening on some socket to the legacy system.
*
* @author Dean Hiller
--- 13,16 ----
|