Commit Graph

44 Commits

Author SHA1 Message Date
andronache98
ecdf5e54ea Changed headers 2022-03-09 14:14:30 +01:00
andronache98
9ec56f5155 Changed headers 2022-03-09 14:14:30 +01:00
ionutboangiu
0ecfc20283 Update json converter to return empty string when error is not nil 2022-03-09 10:58:58 +01:00
ionutboangiu
46acb095f6 Add *json converter + tests 2022-03-09 10:58:58 +01:00
Trial97
1a61335b62 Added tests for FieldAsInterface methods 2021-12-21 15:05:44 +01:00
Trial97
0e363e7104 Added tests for account 2021-12-21 15:05:44 +01:00
Trial97
c1e399de6d Added all merge functions 2021-12-21 15:05:44 +01:00
Trial97
d1eb628fc1 Added unit tests for account set method 2021-12-21 15:05:44 +01:00
Trial97
7afef6be4b Added *join dataconverter 2021-11-16 13:05:40 +01:00
nickolasdaniel
e104c2d297 Unit testing for utils 2021-10-08 11:09:55 +03:00
Trial97
fe6ef76f80 Updated DNSAgent 2021-10-01 13:32:42 +02:00
Trial97
62d186a78c Added *slice dataconverter 2021-07-16 17:04:54 +02:00
nickolasdaniel
54069a82c4 Added float64 converter in dataconverter.go 2021-07-13 13:40:10 +02:00
andronache
d4ff4669bd Added tests for dataconverter *len in utils 2021-06-23 17:50:38 +02:00
Trial97
b8437f4a7d Updated utils tests 2021-03-26 13:46:25 +01:00
ionutboangiu
278e583bf6 Switch expected with received 2021-03-16 13:13:37 +01:00
ionutboangiu
4602e61045 Test remaining functions in utils/dataconverter.go 2021-03-08 19:26:21 +01:00
TeoV
78cf9a5d90 Add *random converter + tests 2021-02-02 19:34:59 +01:00
andronache
1470267727 Modified 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
327921bdad Added *unixtime dataconverter 2020-10-07 18:23:06 +02:00
TeoV
0978e200cf Update tests to work with go 1.15 2020-08-20 12:02:04 +02:00
Trial97
c97314202f Added protection on refundIncrements for BalanceInfo nil. Fixes #2123 2020-07-21 09:21:20 +02:00
Trial97
088f43c7af Added more tests for dataconverters 2020-07-21 09:03:04 +02:00
Trial97
f6c1fa4eaa Added new dataconverter *string2hex 2020-07-21 09:03:04 +02:00
Trial97
48a7440d2e Added more tests for ip2hex 2020-07-09 12:17:37 +03:00
adragusin
60e9bee8ae Added test for NewTimeStringConverter 2020-07-02 11:00:17 -04:00
Trial97
43c19e3a14 Added tests for mapstorage 2020-05-26 09:34:06 +02:00
Trial97
fe7a046c16 Added unit tests for the SIPAgent 2020-05-18 13:26:06 +02:00
Trial97
c6cc4b2287 Fixed typos 2020-04-01 16:29:14 +02:00
Trial97
ae6060be54 Renamed IP2HexConvertor to IP2HexConverter 2020-03-30 15:21:04 +02:00
Trial97
1c35af9689 Added new dataconvertor: *ip2hex 2020-02-19 12:02:01 +01:00
adragusin
b0f99c471a Updated tests in utils 2019-12-18 08:15:18 -05:00
adragusin
a72e688672 Updated tests in utils 2019-12-06 18:20:37 +02:00
adragusin
3528165b0e Updated tests in utils 2019-12-05 18:23:25 +02:00
TeoV
b909f76105 Rename *phone_number to *libphonenumber 2019-08-01 23:21:51 +02:00
TeoV
db8c670ae5 Add new type of DataConverter *phone_number ( + tests ) 2019-08-01 10:38:04 +02:00
TeoV
2fb52f9b28 Add new converter *duration 2019-03-15 12:31:18 +01:00
DanB
96b8557f57 Adding *duration_nanoseconds data converter 2018-05-28 16:04:43 +02:00
DanB
64f6a4f42e New data converter: *divide 2018-05-28 15:13:09 +02:00
DanB
0f4ac37dda New DataConverter *multiply 2018-05-28 14:57:49 +02:00
DanB
eabacead26 CGRReply with data converters within radius agent 2018-04-17 19:28:16 +02:00
Anevo
60c48cf52b Added tests for Dataconverter methods and renamed *usage_seconds to *duration_seconds 2018-03-21 13:29:44 +01:00
DanB
34334e24f5 NewRoundConverter properly populating params 2018-03-16 19:18:10 +01:00