tesshucom
645fb88c7d
Add expunge to IndexManager
...
When DB expunge is invoked from the management screen,
also indexManager performs expunge.
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
5 years ago
jvoisin
bc832d0034
Use a constant for encoding
...
Replace string.getBytes("UTF-8") with
string.getBytes(CONSTANT).
5 years ago
tesshucom
5c3c558923
Update Lucene from 3.0.3 to the current version 8.2.0
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
5 years ago
jvoisin
c6540d707e
Simplify a bit the annotations
...
There is no need to specify `value` every single time
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
5 years ago
tesshucom
ff08f6dd02
Fix #1139
5 years ago
tesshucom
4ce892e39d
Fix for duplication and synchronization.
...
- Moved MusicFolderTestData
from org.airsonic.player.service
to org.airsonic.player.util
5 years ago
tesshucom
4a728ed9a6
Add and modify comments
5 years ago
tesshucom
f67c758c4e
Add missing test cases
5 years ago
tesshu.com
76f665b3c4
Update airsonic-main/src/test/java/org/airsonic/player/service/search/SearchServiceSpecialGenreTestCase.java
...
Fix comment
Co-Authored-By: jvoisin <jvoisin@users.noreply.github.com>
5 years ago
tesshu.com
810920556e
Update airsonic-main/src/test/java/org/airsonic/player/service/search/AnalyzerFactoryTestCase.java
...
Fix comment
Co-Authored-By: jvoisin <jvoisin@users.noreply.github.com>
5 years ago
tesshu.com
5bfc232021
Update airsonic-main/src/test/java/org/airsonic/player/service/search/AnalyzerFactoryTestCase.java
...
Fix comment
Co-Authored-By: jvoisin <jvoisin@users.noreply.github.com>
5 years ago
tesshu.com
c74ef2ea30
Update airsonic-main/src/test/java/org/airsonic/player/service/search/AnalyzerFactoryTestCase.java
...
Fix comment
Co-Authored-By: jvoisin <jvoisin@users.noreply.github.com>
5 years ago
tesshu.com
eb5963dfa3
Update airsonic-main/src/test/java/org/airsonic/player/service/search/AnalyzerFactoryTestCase.java
...
Fix comment
Co-Authored-By: jvoisin <jvoisin@users.noreply.github.com>
5 years ago
tesshucom
f2d26348b6
Add tests for SearchService
...
Test cases related to current issues or points that need confirmation
after Lucene update.
5 years ago
François-Xavier Thomas
073b7e35e1
Add simple test cases for internet radios
5 years ago
tesshucom
767b39ed5b
Split SearchService
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
5 years ago
jvoisin
1640411573
Fix some invalid/incomplete javadoc comments
6 years ago
jvoisin
643be3930f
Remove superfluous casts
6 years ago
jvoisin
def5f854fb
Inline some variables
...
There is no point in `Type a = …; return a;`
6 years ago
Rémi Cocula
c09da549ce
FIX : tests fail if a /var/music folder exists
6 years ago
jvoisin
33bf68aaa5
Add a password settings testcase ( #1058 )
...
* Add a simple testcase
This commit was done to understand how JUnit
and its friends are working. Expect more useful tests
in the future ;)
* Factorise a bit the tests
6 years ago
Andrew DeMaria
df352d8cb0
Fix #611 Add support for Java 9 and greater
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
6 years ago
jvoisin
ec4b969e2c
Replace latin encoding with utf-8
6 years ago
jvoisin
30fa4d0467
Second pass of trivial modernizations
...
- Replace unnecessary getters/setters with inline assignments
- Simplify string constructions
- Improve containers construction
6 years ago
Frank de Lange
8127b4f7fa
Fix #860 (external database performance) by using connection pooling … ( #864 )
...
* Fix #860 (external database performance) by using connection pooling (using commons-dbcp2)
6 years ago
Rémi Cocula
ac453883fc
jukebox code quality and unit tests
6 years ago
Michel Néron
16b22f3501
- Correct test for use not a hardcoded value but the referenced value. The first in select on multi value didn't ordered is not assured.
6 years ago
Rémi Cocula
6b4874f33c
archetype code for rest api integration tests
6 years ago
Michael Sabin
32ed46e55e
Fix test failure on Windows
...
Media directories are added to the test database
with the string essentially generated by this code:
new File(MusicFolderTestData.resolveMusicFolderPath()).getPath()
The directories are then queried by the string generated
by this code:
MusicFolderTestData.resolveMusicFolderPath()
On Windows the strings are not identical.
MusicFolderTestData.resolveMusicFolderPath()
is prefixed by an extra slash that is removed
when wrapped by a File()
Signed-off-by: Michael Sabin <m35@users.noreply.github.com>
6 years ago
snw35
6a44c5c815
Handle player id as an Integer instead of String
7 years ago
François-Xavier Thomas
b3f432a545
Issue #164 : Add tests for reading MusicBrainz release tags
7 years ago
Andrew DeMaria
7d4ca2ffe2
Prep work for spring boot test
...
- Added enforcer plugin
- Fix some version conflicts
- Moved custom initializer to spring.factories
- Bump spring boot version
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
7 years ago
Ben Kelsey
977499c4cc
Refactor to remove serviceLocator
...
- This removes all dependencies on deprecated ServiceLocator class.
- Also does some cleanup in the settingsService
Signed-off-by: Ben Kelsey <bfkelsey@gmail.com>
7 years ago
Andrew DeMaria
a0e68b92c1
Migrate airsonic.org to use airsonic.github.io
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
7 years ago
Andrew DeMaria
5447141718
Setup backwards compatiblity with old libresonic.home
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
7 years ago
Andrew DeMaria
94dbd3ef94
Rename libresonic -> airsonic
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
7 years ago
Andrew DeMaria
260e04c8ea
File System Renames (No content changes)
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
7 years ago