Author: lwaterman
Date: Wed Sep 13 21:56:31 2006
New Revision: 443231
URL: http://svn.apache.org/viewvc?view=rev&rev=443231
Log:
Changes to get unit test working - see [JIRA ODE-9]
Modified:
incubator/ode/trunk/bpel-test/src/test/java/org/apache/ode/test/BPELTest.java
Modified:
incubator/ode/trunk/bpel-test/src/test/java/org/apache/ode/test/BPELTest.java
URL:
http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-test/src/test/java/org/apache/ode/test/BPELTest.java?view=diff&rev=443231&r1=443230&r2=443231
==============================================================================
---
incubator/ode/trunk/bpel-test/src/test/java/org/apache/ode/test/BPELTest.java
(original)
+++
incubator/ode/trunk/bpel-test/src/test/java/org/apache/ode/test/BPELTest.java
Wed Sep 13 21:56:31 2006
@@ -1,3 +1,21 @@
+/*
+ * 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.ode.test;
import java.io.File;
@@ -9,7 +27,7 @@
import junit.framework.TestCase;
import org.apache.ode.bpel.engine.BpelServerImpl;
-import org.apache.ode.bpel.iapi.BpelServer;
+//import org.apache.ode.bpel.iapi.BpelServer;
import org.apache.ode.bpel.iapi.Message;
import org.apache.ode.bpel.iapi.MyRoleMessageExchange;
import org.apache.ode.bpel.memdao.BpelDAOConnectionFactoryImpl;
@@ -19,7 +37,7 @@
public class BPELTest extends TestCase {
- private BpelServer server;
+ private BpelServerImpl server;
@Override
protected void setUp() throws Exception {
@@ -27,6 +45,7 @@
server.setDaoConnectionFactory(new
BpelDAOConnectionFactoryImpl());
server.setScheduler(new TestScheduler());
server.setBindingContext(new BindingContextImpl());
+ server.setDeploymentManager(new DeploymentManagerImpl());
server.init();
server.start();
}