MediaScannerServiceTestCase : correct format with 4 spaces.

master
Rémi Cocula 8 years ago
parent 9584bfaea5
commit 7d5c7d6683
  1. 8
      libresonic-main/src/test/java/org/libresonic/player/service/MediaScannerServiceTestCase.java

@ -38,16 +38,15 @@ import static org.junit.Assert.assertNotNull;
/** /**
* A unit test class to test the MediaScannerService. * A unit test class to test the MediaScannerService.
* * <p>
* This class uses the Spring application context configuration present in the * This class uses the Spring application context configuration present in the
* /org/libresonic/player/service/mediaScannerServiceTestCase/ directory. * /org/libresonic/player/service/mediaScannerServiceTestCase/ directory.
* * <p>
* The media library is found in the /MEDIAS directory. * The media library is found in the /MEDIAS directory.
* It is composed of 2 musicFolders (Music and Music2) and several little weight audio files. * It is composed of 2 musicFolders (Music and Music2) and several little weight audio files.
* * <p>
* At runtime, the subsonic_home dir is set to target/test-classes/org/libresonic/player/service/mediaScannerServiceTestCase. * At runtime, the subsonic_home dir is set to target/test-classes/org/libresonic/player/service/mediaScannerServiceTestCase.
* An empty database is created on the fly. * An empty database is created on the fly.
*
*/ */
@ContextConfiguration(locations = { @ContextConfiguration(locations = {
"/applicationContext-service.xml", "/applicationContext-service.xml",
@ -60,6 +59,7 @@ public class MediaScannerServiceTestCase {
@ClassRule @ClassRule
public static final SpringClassRule classRule = new SpringClassRule() { public static final SpringClassRule classRule = new SpringClassRule() {
LibresonicHomeRule libresonicRule = new LibresonicHomeRule(); LibresonicHomeRule libresonicRule = new LibresonicHomeRule();
@Override @Override
public Statement apply(Statement base, Description description) { public Statement apply(Statement base, Description description) {
Statement spring = super.apply(base, description); Statement spring = super.apply(base, description);

Loading…
Cancel
Save