commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1609796 - /commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/plist/AbstractTestPListEvents.java
Date Fri, 11 Jul 2014 20:19:44 GMT
Author: oheger
Date: Fri Jul 11 20:19:44 2014
New Revision: 1609796

URL: http://svn.apache.org/r1609796
Log:
Adapted abstract base test class for PList configuration events.

Modified:
    commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/plist/AbstractTestPListEvents.java

Modified: commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/plist/AbstractTestPListEvents.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/plist/AbstractTestPListEvents.java?rev=1609796&r1=1609795&r2=1609796&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/plist/AbstractTestPListEvents.java
(original)
+++ commons/proper/configuration/trunk/src/test/java/org/apache/commons/configuration/plist/AbstractTestPListEvents.java
Fri Jul 11 20:19:44 2014
@@ -16,8 +16,8 @@
  */
 package org.apache.commons.configuration.plist;
 
-import org.apache.commons.configuration.AbstractConfiguration;
 import org.apache.commons.configuration.event.AbstractTestConfigurationEvents;
+import org.apache.commons.configuration.event.ConfigurationEvent;
 import org.junit.Test;
 
 /**
@@ -44,11 +44,11 @@ public abstract class AbstractTestPListE
     public void testAddByteArrayPropertyEvent()
     {
         config.addProperty(TEST_PROPBYTE, TEST_DATA);
-        l.checkEvent(AbstractConfiguration.EVENT_ADD_PROPERTY, TEST_PROPBYTE,
+        listener.checkEvent(ConfigurationEvent.ADD_PROPERTY, TEST_PROPBYTE,
                 TEST_DATA, true);
-        l.checkEvent(AbstractConfiguration.EVENT_ADD_PROPERTY, TEST_PROPBYTE,
+        listener.checkEvent(ConfigurationEvent.ADD_PROPERTY, TEST_PROPBYTE,
                 TEST_DATA, false);
-        l.done();
+        listener.done();
     }
 
     /**
@@ -58,10 +58,10 @@ public abstract class AbstractTestPListE
     public void testSetByteArrayPropertyEvent()
     {
         config.setProperty(TEST_PROPBYTE, TEST_DATA);
-        l.checkEvent(AbstractConfiguration.EVENT_SET_PROPERTY, TEST_PROPBYTE,
+        listener.checkEvent(ConfigurationEvent.SET_PROPERTY, TEST_PROPBYTE,
                 TEST_DATA, true);
-        l.checkEvent(AbstractConfiguration.EVENT_SET_PROPERTY, TEST_PROPBYTE,
+        listener.checkEvent(ConfigurationEvent.SET_PROPERTY, TEST_PROPBYTE,
                 TEST_DATA, false);
-        l.done();
+        listener.done();
     }
 }



Mime
View raw message