aboutsummaryrefslogtreecommitdiffstats
path: root/config-model-api/src/test/java/com/yahoo/config/model/api/QuotaTest.java
Commit message (Collapse)AuthorAgeFilesLines
* Update Verizon Media copyright notices.gjoranv2021-10-071-1/+1
|
* Don't use optional in with* methodsØyvind Grønnesby2020-09-301-0/+10
| | | | Also added a serialisation/deserialiasation test for quota
* Use BigDecimal for budget inside the QuotaØyvind Grønnesby2020-09-301-0/+41
- To allow budgets below $1/hour we change the internal representation of budget to a decimal number. Some interfaces that assume integers are kept to keep the API stable. - Created a nicer method .unlimited() instead of .empt() to better show semantics. - Added some serialisation tests to make sure we support integers and decimals.