Harmonize resources location
Issue: SPR-12766
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
foo=bar
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user