renamed ConstructorAutowireTest to ConstructorAutowireTests

This commit is contained in:
Mark Fisher
2010-05-24 14:22:42 +00:00
parent 9cf953c677
commit ba7c600d7e
2 changed files with 9 additions and 6 deletions

View File

@@ -15,8 +15,8 @@
<channel id="input" />
<channel id="output" />
<b:bean id="service" class="org.springframework.integration.config.xml.ConstructorAutowireTest$TestService" />
<b:bean id="endpoint" class="org.springframework.integration.config.xml.ConstructorAutowireTest$TestEndpoint" />
<b:bean id="service" class="org.springframework.integration.config.xml.ConstructorAutowireTests$TestService" />
<b:bean id="endpoint" class="org.springframework.integration.config.xml.ConstructorAutowireTests$TestEndpoint" />
<inbound-channel-adapter ref="endpoint" method="aProducer" channel="input">
<poller max-messages-per-poll="1">

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2009 the original author or authors.
* Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -19,19 +19,22 @@ package org.springframework.integration.config.xml;
import java.util.List;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
/**
* @author Jim Moore
* @author Mark Fisher
*/
public class ConstructorAutowireTest {
@ContextConfiguration
@RunWith(SpringJUnit4ClassRunner.class)
public class ConstructorAutowireTests {
@Test // INT-568
public void testApplicationContextCreation() {
new ClassPathXmlApplicationContext("ConstructorAutowireTest-context.xml", ConstructorAutowireTest.class);
}