You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ha...@apache.org on 2010/07/07 09:12:33 UTC

svn commit: r961263 - in /camel/trunk/components/camel-test/src/main/java/org/apache/camel/test: TestSupport.java TestSupportNodeIdFactory.java

Author: hadrian
Date: Wed Jul  7 07:12:33 2010
New Revision: 961263

URL: http://svn.apache.org/viewvc?rev=961263&view=rev
Log:
CAMEL-2916. Add missing class

Added:
    camel/trunk/components/camel-test/src/main/java/org/apache/camel/test/TestSupportNodeIdFactory.java
Modified:
    camel/trunk/components/camel-test/src/main/java/org/apache/camel/test/TestSupport.java

Modified: camel/trunk/components/camel-test/src/main/java/org/apache/camel/test/TestSupport.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-test/src/main/java/org/apache/camel/test/TestSupport.java?rev=961263&r1=961262&r2=961263&view=diff
==============================================================================
--- camel/trunk/components/camel-test/src/main/java/org/apache/camel/test/TestSupport.java (original)
+++ camel/trunk/components/camel-test/src/main/java/org/apache/camel/test/TestSupport.java Wed Jul  7 07:12:33 2010
@@ -32,7 +32,6 @@ import org.apache.camel.Message;
 import org.apache.camel.Predicate;
 import org.apache.camel.Processor;
 import org.apache.camel.Route;
-import org.apache.camel.TestSupportNodeIdFactory;
 import org.apache.camel.builder.Builder;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.builder.ValueBuilder;

Added: camel/trunk/components/camel-test/src/main/java/org/apache/camel/test/TestSupportNodeIdFactory.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-test/src/main/java/org/apache/camel/test/TestSupportNodeIdFactory.java?rev=961263&view=auto
==============================================================================
--- camel/trunk/components/camel-test/src/main/java/org/apache/camel/test/TestSupportNodeIdFactory.java (added)
+++ camel/trunk/components/camel-test/src/main/java/org/apache/camel/test/TestSupportNodeIdFactory.java Wed Jul  7 07:12:33 2010
@@ -0,0 +1,26 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.test;
+
+import org.apache.camel.impl.DefaultNodeIdFactory;
+
+public class TestSupportNodeIdFactory extends DefaultNodeIdFactory {
+    // start tests with fresh counters
+    public static void resetCounters() {
+        resetAllCounters();
+    }
+}