samples/openfixed/test/org/apidesign/openfixed/PostTest.java
changeset 409 40cabcdcd2be
parent 374 35da2d439e3d
     1.1 --- a/samples/openfixed/test/org/apidesign/openfixed/PostTest.java	Sun Mar 20 18:52:47 2011 +0100
     1.2 +++ b/samples/openfixed/test/org/apidesign/openfixed/PostTest.java	Thu Oct 30 21:30:10 2014 +0100
     1.3 @@ -18,7 +18,9 @@
     1.4      }
     1.5  
     1.6      public void testPostModificationEvents() throws Exception {
     1.7 -        class PostListener extends BlockingListener implements PostModificationListener {
     1.8 +        // BEGIN: openfixed.usemount
     1.9 +        class PostListener extends BlockingListener 
    1.10 +        implements PostModificationListener {
    1.11              int cnt;
    1.12  
    1.13              @Override
    1.14 @@ -30,8 +32,10 @@
    1.15  
    1.16              @Override
    1.17              public synchronized void postProcess(PostModificationEvent ev) {
    1.18 +                // called when batch processing is over
    1.19                  cnt++;
    1.20              }
    1.21 +        // FINISH: openfixed.usemount
    1.22              
    1.23              public synchronized void assertPostProcess(String msg, int expected) throws InterruptedException {
    1.24                  for (int i = 0; i < 10; i++) {