incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r590085 - /incubator/sling/trunk/event/src/test/java/org/apache/sling/event/impl/DistributingEventHandlerTest.java
Date Tue, 30 Oct 2007 14:34:41 GMT
Author: cziegeler
Date: Tue Oct 30 07:34:39 2007
New Revision: 590085

URL: http://svn.apache.org/viewvc?rev=590085&view=rev
Log:
Remove event node after test.

Modified:
    incubator/sling/trunk/event/src/test/java/org/apache/sling/event/impl/DistributingEventHandlerTest.java

Modified: incubator/sling/trunk/event/src/test/java/org/apache/sling/event/impl/DistributingEventHandlerTest.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/event/src/test/java/org/apache/sling/event/impl/DistributingEventHandlerTest.java?rev=590085&r1=590084&r2=590085&view=diff
==============================================================================
--- incubator/sling/trunk/event/src/test/java/org/apache/sling/event/impl/DistributingEventHandlerTest.java
(original)
+++ incubator/sling/trunk/event/src/test/java/org/apache/sling/event/impl/DistributingEventHandlerTest.java
Tue Oct 30 07:34:39 2007
@@ -87,5 +87,9 @@
         assertTrue(Calendar.getInstance().compareTo(eventNode.getProperty(EventHelper.NODE_PROPERTY_CREATED).getDate())
>= 0);
         // as a starting point we just check if the properties property exists
         assertTrue(eventNode.hasProperty(EventHelper.NODE_PROPERTY_PROPERTIES));
+
+        // now we remove the node to have a clean repo
+        eventNode.remove();
+        rootNode.save();
     }
 }



Mime
View raw message