jvoisin
bc832d0034
Use a constant for encoding
...
Replace string.getBytes("UTF-8") with
string.getBytes(CONSTANT).
2019-09-21 18:16:40 +02:00
tesshucom and Andrew DeMaria
5c3c558923
Update Lucene from 3.0.3 to the current version 8.2.0
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com >
2019-09-12 16:33:44 -06:00
jvoisin and Andrew DeMaria
c6540d707e
Simplify a bit the annotations
...
There is no need to specify `value` every single time
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com >
2019-09-10 13:51:35 -06:00
tesshucom and Andrew DeMaria
ff08f6dd02
Fix #1139
2019-07-25 19:26:01 -06:00
tesshucom
4ce892e39d
Fix for duplication and synchronization.
...
- Moved MusicFolderTestData
from org.airsonic.player.service
to org.airsonic.player.util
2019-07-10 04:45:22 +09:00
tesshucom
4a728ed9a6
Add and modify comments
2019-07-08 05:44:03 +09:00
tesshucom
f67c758c4e
Add missing test cases
2019-07-08 01:09:49 +09:00
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 >
2019-07-08 00:28:29 +09:00
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 >
2019-07-08 00:28:16 +09:00
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 >
2019-07-08 00:28:08 +09:00
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 >
2019-07-08 00:27:55 +09:00
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 >
2019-07-08 00:27:04 +09:00
tesshucom
f2d26348b6
Add tests for SearchService
...
Test cases related to current issues or points that need confirmation
after Lucene update.
2019-07-07 22:41:55 +09:00
François-Xavier Thomas
073b7e35e1
Add simple test cases for internet radios
2019-07-02 23:00:03 +02:00
tesshucom and Andrew DeMaria
767b39ed5b
Split SearchService
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com >
2019-07-02 01:02:49 -06:00
jvoisin
1640411573
Fix some invalid/incomplete javadoc comments
2019-06-15 17:15:51 +02:00
Andrew DeMaria
14b812568c
Merge remote-tracking branch 'origin/pr/1072'
2019-06-10 23:06:51 -06:00
jvoisin
643be3930f
Remove superfluous casts
2019-06-08 16:24:00 +02:00
jvoisin
def5f854fb
Inline some variables
...
There is no point in `Type a = …; return a;`
2019-06-08 15:47:15 +02:00
Rémi Cocula
c09da549ce
FIX : tests fail if a /var/music folder exists
2019-05-22 21:41:15 +02:00
Andrew DeMaria
1e89890223
Merge remote-tracking branch 'origin/pr/1038'
2019-05-20 14:17:33 -06:00
jvoisin and Jonas L
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
2019-05-20 20:26:00 +02:00
Andrew DeMaria
df352d8cb0
Fix #611 Add support for Java 9 and greater
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com >
2019-04-27 14:04:48 -06:00
jvoisin
ec4b969e2c
Replace latin encoding with utf-8
2019-04-07 09:27:22 +02:00
jvoisin
30fa4d0467
Second pass of trivial modernizations
...
- Replace unnecessary getters/setters with inline assignments
- Simplify string constructions
- Improve containers construction
2019-03-26 00:00:21 +01:00
Frank de Lange and Andrew DeMaria
8127b4f7fa
Fix #860 (external database performance) by using connection pooling … ( #864 )
...
* Fix #860 (external database performance) by using connection pooling (using commons-dbcp2)
2019-01-09 19:53:52 -06:00
Rémi Cocula
ac453883fc
jukebox code quality and unit tests
2018-12-22 13:59:44 +01:00
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.
2018-12-08 11:31:48 +01:00
Rémi Cocula
6b4874f33c
archetype code for rest api integration tests
2018-10-21 14:27:08 +02:00
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 >
2018-09-15 18:48:11 -07:00
snw35
6a44c5c815
Handle player id as an Integer instead of String
2018-06-04 20:19:12 +01:00
François-Xavier Thomas
b3f432a545
Issue #164 : Add tests for reading MusicBrainz release tags
2018-05-22 23:33:27 +02:00
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 >
2017-08-20 20:15:24 -06:00
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 >
2017-08-12 18:22:05 -07:00
Andrew DeMaria
a0e68b92c1
Migrate airsonic.org to use airsonic.github.io
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com >
2017-07-17 12:07:27 -06:00
Andrew DeMaria
5447141718
Setup backwards compatiblity with old libresonic.home
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com >
2017-07-13 21:34:30 -06:00
Andrew DeMaria
94dbd3ef94
Rename libresonic -> airsonic
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com >
2017-07-13 21:34:28 -06:00
Andrew DeMaria
260e04c8ea
File System Renames (No content changes)
...
Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com >
2017-07-13 21:34:19 -06:00