|
|
|
@ -3,9 +3,14 @@ package org.airsonic.player.service; |
|
|
|
|
import com.codahale.metrics.ConsoleReporter; |
|
|
|
|
import com.codahale.metrics.MetricRegistry; |
|
|
|
|
import com.codahale.metrics.Timer; |
|
|
|
|
import org.airsonic.player.TestCaseUtils; |
|
|
|
|
import org.airsonic.player.dao.*; |
|
|
|
|
import org.airsonic.player.domain.Album; |
|
|
|
|
import org.airsonic.player.domain.Artist; |
|
|
|
|
import org.airsonic.player.domain.MediaFile; |
|
|
|
|
import org.airsonic.player.domain.MusicFolder; |
|
|
|
|
import org.airsonic.player.util.HomeRule; |
|
|
|
|
import org.airsonic.player.util.MusicFolderTestData; |
|
|
|
|
import org.apache.commons.io.IOUtils; |
|
|
|
|
import org.junit.Assert; |
|
|
|
|
import org.junit.ClassRule; |
|
|
|
@ -14,11 +19,6 @@ import org.junit.Test; |
|
|
|
|
import org.junit.rules.TemporaryFolder; |
|
|
|
|
import org.junit.runner.Description; |
|
|
|
|
import org.junit.runners.model.Statement; |
|
|
|
|
import org.airsonic.player.TestCaseUtils; |
|
|
|
|
import org.airsonic.player.domain.Album; |
|
|
|
|
import org.airsonic.player.domain.Artist; |
|
|
|
|
import org.airsonic.player.util.HomeRule; |
|
|
|
|
import org.airsonic.player.util.MusicFolderTestData; |
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
|
import org.springframework.core.io.Resource; |
|
|
|
|
import org.springframework.core.io.ResourceLoader; |
|
|
|
@ -29,9 +29,9 @@ import org.springframework.test.context.junit4.rules.SpringMethodRule; |
|
|
|
|
|
|
|
|
|
import java.io.File; |
|
|
|
|
import java.io.FileOutputStream; |
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
import java.util.Date; |
|
|
|
|
import java.util.List; |
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
import java.util.Map; |
|
|
|
|
import java.util.concurrent.TimeUnit; |
|
|
|
|
|
|
|
|
|