Rename duplicate EnvironmentIntegrationTests to EnvironmentSystemIntegrationTests

This commit is contained in:
Sam Brannen
2015-05-06 15:51:14 +02:00
parent 8b545f47bd
commit 2015781ea1
7 changed files with 40 additions and 37 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.
@@ -28,9 +28,11 @@ import static org.hamcrest.CoreMatchers.*;
import static org.junit.Assert.*;
/**
* Tests covering the integration of {@link Environment} into {@link ApplicationContext} hierarchies.
* Tests covering the integration of the {@link Environment} into
* {@link ApplicationContext} hierarchies.
*
* @author Chris Beams
* @see org.springframework.core.env.EnvironmentSystemIntegrationTests
*/
public class EnvironmentIntegrationTests {
@@ -48,6 +50,9 @@ public class EnvironmentIntegrationTests {
sameInstance(parent.getEnvironment()),
sameInstance(child.getEnvironment())));
assertThat("expected child ctx env", env, sameInstance(child.getEnvironment()));
child.close();
parent.close();
}
}