summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-08-18 18:26:35 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-08-18 18:26:35 +0000
commit9b7195375bc328118cb4625b08d4ddff291b5e10 (patch)
tree3cb269eeb4b6f2881f74697110b07cda5c16a590 /sca-java-2.x
parent1a51f9f3d1c3c4cd4cc0017288faf5e420b092c8 (diff)
Remove test
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@986838 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x')
-rw-r--r--sca-java-2.x/trunk/contrib/modules/implementation-spring-tie/src/test/java/org/apache/tuscany/sca/implementation/spring/runtime/context/BeanLoadTestCase.java73
1 files changed, 0 insertions, 73 deletions
diff --git a/sca-java-2.x/trunk/contrib/modules/implementation-spring-tie/src/test/java/org/apache/tuscany/sca/implementation/spring/runtime/context/BeanLoadTestCase.java b/sca-java-2.x/trunk/contrib/modules/implementation-spring-tie/src/test/java/org/apache/tuscany/sca/implementation/spring/runtime/context/BeanLoadTestCase.java
deleted file mode 100644
index 2c3b0aab17..0000000000
--- a/sca-java-2.x/trunk/contrib/modules/implementation-spring-tie/src/test/java/org/apache/tuscany/sca/implementation/spring/runtime/context/BeanLoadTestCase.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
- * 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.spring.runtime.context;
-
-import java.io.File;
-
-import org.apache.tuscany.sca.implementation.spring.context.tie.SCAGenericApplicationContext;
-import org.apache.tuscany.sca.implementation.spring.elements.tie.SpringBeanElement;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
-import org.springframework.core.io.UrlResource;
-
-/**
- *
- */
-public class BeanLoadTestCase {
-
- private SCAGenericApplicationContext context;
- private XmlBeanDefinitionReader reader;
-
- /**
- * @throws java.lang.Exception
- */
- @Before
- public void setUp() throws Exception {
- context = new SCAGenericApplicationContext(null, getClass().getClassLoader());
- reader = new XmlBeanDefinitionReader(context);
- }
-
- @Test
- public void testLoad() throws Exception {
- File file =
- new File(
- "/Users/rfeng/Perforce/perforce.internal.shutterfly.com_1666/rfeng_Raymond-Feng/SSP/giza/services/ecom/src/test/resources/com/shutterfly/services/ecom/ep.xml");
- UrlResource resource = new UrlResource(file.toURI().toURL());
- reader.loadBeanDefinitions(resource);
- for (SpringBeanElement beanElement : context.getBeanElements()) {
- System.out.println(beanElement);
- }
-
- System.out.println(context.getPropertyElements());
- System.out.println(context.getReferenceElements());
- System.out.println(context.getServiceElements());
-
- }
-
- /**
- * @throws java.lang.Exception
- */
- @After
- public void tearDown() throws Exception {
- }
-
-}