diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-04-03 08:40:45 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-04-03 08:40:45 +0000 |
commit | b5eb79d95ec261c8c5572a23b3eb3133a8c1f664 (patch) | |
tree | 44715088beb6456bf30b9c8dc32179dfdc89a581 /branches/sca-java-1.x/modules/implementation-widget-runtime-tuscany/src/test/java/org | |
parent | 55e29c1a5260b724dcf0beded2498ea9614584c9 (diff) |
TUSCANY-2878 - Moving tests to implementation-widget-runtime-tuscany and minor pom adjusts
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@761570 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/modules/implementation-widget-runtime-tuscany/src/test/java/org')
-rw-r--r-- | branches/sca-java-1.x/modules/implementation-widget-runtime-tuscany/src/test/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementationTestCase.java | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/branches/sca-java-1.x/modules/implementation-widget-runtime-tuscany/src/test/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementationTestCase.java b/branches/sca-java-1.x/modules/implementation-widget-runtime-tuscany/src/test/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementationTestCase.java new file mode 100644 index 0000000000..3b5c6f89b2 --- /dev/null +++ b/branches/sca-java-1.x/modules/implementation-widget-runtime-tuscany/src/test/java/org/apache/tuscany/sca/implementation/widget/WidgetImplementationTestCase.java @@ -0,0 +1,48 @@ +/* + * 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.tuscany.sca.implementation.widget; + +import java.net.Socket; + +import junit.framework.TestCase; + +import org.apache.tuscany.sca.host.embedded.SCADomain; + +/** + * @version $Rev$ $Date$ + */ +public class WidgetImplementationTestCase extends TestCase { + + private SCADomain scaDomain; + + @Override + protected void setUp() throws Exception { + scaDomain = SCADomain.newInstance("widget.composite"); + } + + @Override + protected void tearDown() throws Exception { + scaDomain.close(); + } + + public void testPing() throws Exception { + new Socket("127.0.0.1", 8085); + } + +} |