SPR-7009, SPR-6972: backed out unintentionally committed tests

This commit is contained in:
Chris Beams
2010-03-23 15:29:35 +00:00
parent 706a09c49e
commit c13e5f9f5b
4 changed files with 0 additions and 189 deletions

View File

@@ -1,35 +0,0 @@
package org.springframework.beans;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import java.util.Map;
import org.junit.Test;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.ClassPathResource;
public class Spr6972Tests {
@Test
public void repro() {
BeanFactory bf = new XmlBeanFactory(new ClassPathResource("Spr6972Tests-context.xml", this.getClass()));
TestSpringBean bean = bf.getBean(TestSpringBean.class);
assertTrue(bean.bool);
assertNotNull(bean.map);
}
}
class TestSpringBean {
boolean bool;
Map<String, String> map;
public TestSpringBean(boolean bool, Map<String, String> map) {
this.bool = bool;
this.map = map;
}
public TestSpringBean(Map<String, String> map) {
this(true, map);
}
}