27 Commits

Author SHA1 Message Date
ionutboangiu
8443af3a89 Relicense from GPLv3 to AGPLv3 2025-10-29 19:42:40 +01:00
armirveliaj
01a435b21c add coverage tests on engine 2025-04-24 20:20:42 +02:00
armirveliaj
78bfc13d37 Add coverage tests on engine 2024-12-17 18:19:59 +01:00
armirveliaj
c7ab22d43e Add unit tests on engine 2024-12-04 20:23:27 +01:00
armirveliaj
8ab27e69d2 Add new unit tests on engine 2024-10-30 22:14:31 +01:00
armirveliaj
63320b71f0 Add coverage tests on engine && utils 2024-10-30 22:14:31 +01:00
armirveliaj
d4e99419a5 Add coverage tests on engine 2024-09-13 21:29:23 +02:00
armirveliaj
6f65f09e4f Add new unit tests on engine 2024-08-12 18:37:15 +02:00
ionutboangiu
50d0103c7b Move BalanceFactor value from Increments to Accounting
Retrieve the Accounting BalanceCharge inside a new variable and reuse
that instead of repeatedly indexing the map. It is always assumed that
the BalanceCharge exists in the map and is non-nil. A comment was
added as a reminder.

TotalCost cannot be calculated anymore from ChargingIncrement alone.
The function is not used, so it will not be causing any issues for
now.

BalanceCharge clone function now handles the case where it is nil
to avoid any possible nil pointer dereference.
2024-04-01 20:48:57 +03:00
ionutboangiu
a7ca167039 Add BalanceFactor value to Increments
For both the Increment and ChargingIncrement types.
2024-04-01 20:48:57 +03:00
gezimbll
04f45b15f2 coverage tests at engine 2022-11-11 17:05:43 +01:00
gezimbll
3e76848a2b coverage tests at engine 2022-11-11 17:05:43 +01:00
gezimbll
7fef03297f coverage tests at engine 2022-11-11 13:45:15 +01:00
gezimbll
c2a5259f75 improving coverage tests 2022-11-04 10:09:21 +01:00
Trial97
6f4e0775ef Revert "Updated EventCost rounding increment handling.Fixes #3018"
This reverts commit 4fabf8731b.
2021-08-26 16:45:37 +02:00
Trial97
307337b6bc Updated EventCost rounding increment handling.Fixes #3018 2021-08-26 16:45:37 +02:00
Trial97
21d4dd16fa Removed more actions 2021-04-01 16:33:37 +02:00
Trial97
f2c9ca3530 Fixed typo in license header 2021-03-10 16:22:37 +01:00
andronache
4ff3b9242d Consts in utils 2021-01-07 18:15:35 +01:00
Trial97
5da4cf6d1c Updated account action plans integration tests for cache 2020-10-31 20:52:09 +01:00
Trial97
4fe3b8e257 Removed TenantArg 2020-09-04 12:32:09 +02:00
TeoV
9c9e35857f Rename from Rate to RGRate 2020-06-11 16:49:21 +02:00
DanB
0297110444 CDRs - add CallDescriptorWithArgDispatcher for RefundRounding RPC method, some fmt in tests 2019-05-02 20:50:39 +02:00
TeoV
7ae8ae299b Remove comments 2018-10-29 10:58:42 +01:00
TeoV
14eaba5863 Finish test for libeventcost 2018-10-29 10:24:32 +01:00
TeoV
da566e2b83 Add more tests in libeventcost 2018-10-29 10:24:32 +01:00
TeoV
42383aee3d Add test for libeventcost 2018-10-29 10:24:32 +01:00