Harmonize resources location

Issue: SPR-12766
This commit is contained in:
Stephane Nicoll
2015-02-28 10:32:34 +01:00
parent 23d52d5e35
commit babbf6e871
545 changed files with 5 additions and 21 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2012 the original author or authors.
* Copyright 2002-2015 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.
@@ -40,16 +40,17 @@ import static org.mockito.BDDMockito.*;
* @author Philippe Marschall
* @author Phillip Webb
* @author Nicholas Williams
* @author Stephane Nicoll
*/
public class PathResourceTests {
private static final String TEST_DIR = platformPath("src/test/java/org/"
private static final String TEST_DIR = platformPath("src/test/resources/org/"
+ "springframework/core/io");
private static final String TEST_FILE = platformPath("src/test/java/org/"
private static final String TEST_FILE = platformPath("src/test/resources/org/"
+ "springframework/core/io/example.properties");
private static final String NON_EXISTING_FILE = platformPath("src/test/java/org/"
private static final String NON_EXISTING_FILE = platformPath("src/test/resources/org/"
+ "springframework/core/io/doesnotexist.properties");

View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties version="1.0">
<entry key="foo">bar</entry>
</properties>