aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/xyz/driver/core/database/DatabaseTest.scala
Commit message (Collapse)AuthorAgeFilesLines
* Move database-related functionality to separate projectJakob Odersky2018-10-091-42/+0
| | | | | | | | | | | | | | | | | | | This committ includes a breaking change. The database-specific utility "Converters" trait threw an exception "DatabaseException" defined in the rest package, thus breaking the dependency graph. The solution was to move the DatabaseException class from rest to database and not inherit ServiceExceptio any more. Unfortunately, the rest classes also require the database exception in propagating errors so this funtionality has been removed. The rationale is: 1. Database exceptions are rare and result in 500 errors anyway making the status code opaque to what actual error caused it. 2. In core 2.0, an improved tracing framework will make diagnosing and following database errors easier, thereby attenuating the need to forward details on service exceptions in responses.
* [API-1468] add TimeOfDay (#141)v1.8.11Arthur Rand2018-03-281-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add TimeOfDay * add formatter * . * Revert "." This reverts commit 89576de98092dd75d3af7d82d244d5eaa24d31d9. * scalafmt * add before and after to ToD, and tests * rearrage, make fromStrings * add generator * address comments * use explicit string for TimeZoneId * renaming * revert Converters changes * change name of private method * change apply method * use month
* scalfmt, add a testArtRand2018-02-091-0/+10
|
* add expectExistsAndValidArtRand2018-02-091-0/+5
|
* add testArtRand2018-02-081-2/+16
|
* Remove arithmetic from year component in date conversion. Add unit testsZach Smith2017-03-061-0/+14