Commit Graph

58 Commits

Author SHA1 Message Date
nickolasdaniel
2c8060d05d Added unit tests for utils 2021-05-17 17:59:08 +02:00
nickolasdaniel
f2e5c2f9c2 Added unit tests in utils 2021-05-12 15:08:43 +02:00
Trial97
4b38752f0e Merged template parsing functions 2021-05-11 20:55:46 +02:00
Trial97
b028a99050 Removed rals config 2021-04-01 16:36:51 +02:00
Trial97
b8437f4a7d Updated utils tests 2021-03-26 13:46:25 +01:00
andronache
90c960d94d Completed tests for /utils/reflect_test.go and modified some functions 2020-11-24 10:51:14 +01:00
andronache
8d7b0e2251 Tests in utils 2020-11-20 13:35:04 +01:00
andronache
10192a3fdd Added test to reflect.go in utils 2020-11-20 13:35:04 +01:00
andronache
1481b3855b More test for utils/reflect.go 2020-11-18 13:06:30 +01:00
andronache
bc43ef9036 Added more tests to utils 2020-11-18 13:06:30 +01:00
andronache
776b584139 Added more test to utils/reflect_test.go 2020-11-18 13:06:30 +01:00
andronache
80ed8ae054 Added tests to utils 2020-11-13 17:04:28 +01:00
andronache
27505075cc Added tests for utils/reflect.go 2020-11-13 17:04:28 +01:00
andronache
5cd730074d Added decimal tests despite future removal, 2020-11-13 17:04:28 +01:00
andronache
ae76b8af50 Removed unused functions and tests in utils 2020-11-12 17:59:06 +01:00
Trial97
5da4cf6d1c Updated account action plans integration tests for cache 2020-10-31 20:52:09 +01:00
Trial97
b2db71f303 Added APIs to reload config from string 2020-10-29 17:55:26 +01:00
porosnicuadrian
26fc655f2c Fixed the error description and added testsm in config 2020-10-29 16:57:01 +01:00
Trial97
1a6bfbc1ea Updated RSRParser constant handling 2020-07-03 17:02:56 +03:00
TeoV
61a0aafd48 Add support for *multiply and *divide in Agent and sync with AttributeS supported format fixes #1954 2020-02-17 09:38:32 +01:00
Trial97
4780f3bbef Added tests for MissingMapFields and IfaceAsSliceString 2019-12-04 14:36:37 +02:00
TeoV
7e0ae18009 Remove *account filter type and add is as a DataProvider 2019-09-08 17:39:11 +02:00
TeoV
2e742aa947 Add ReflectFieldMethodInterface method in utils + tests for it 2019-09-08 17:39:11 +02:00
Tripon Alexandru-Ionut
ff9e44b639 Updated EventType and renamed EqualThan to EqualTo 2019-07-09 21:10:37 -10:00
Tripon Alexandru-Ionut
a7e65058a1 Added *eq and *noteq as filters 2019-07-04 12:23:54 -10:00
Tripon Alexandru-Ionut
5af9e7385f Updated IfaceAsString and MapEvent tests 2019-06-21 15:35:01 +02:00
DanB
8433e1914b Reflect test with prefix 2019-06-06 18:46:44 +02:00
Tripon Alexandru-Ionut
173deee70b Added IfaceAsTInt64 2019-06-04 12:22:26 +02:00
TeoV
7a971cbb2e Improve Sum method from utils/reflect.go 2019-04-14 11:26:36 +02:00
TeoV
a484fc9388 Add new type for AgentRequest *difference and CGRActiveRequest(*cgrareq) 2019-04-14 11:26:36 +02:00
Trial97
ab849d3785 Added test for GetUniformType and updated tests for GreaterThan 2019-03-18 11:49:16 +01:00
Trial97
896362f32e Updated tests for GreaterThan 2019-03-18 11:49:16 +01:00
TeoV
a0c2c7ed6a Cover more cases for IfaceAsString method from utils 2018-11-25 17:42:42 +01:00
TeoV
96caf804c5 Add test for IfaceAsString net.IP case 2018-11-25 17:42:42 +01:00
TeoV
c69c97f073 Add new error type ErrNotEnoughParameters 2018-11-07 17:12:13 +01:00
TeoV
4c2eb336c2 Rename MultipleSum to Sum 2018-11-07 17:12:13 +01:00
TeoV
ace31f8256 Remove previos sum from utils 2018-11-07 11:55:33 +01:00
TeoV
12b6807950 Add support for multiple sup in agent request fixes #1284 2018-11-07 11:55:33 +01:00
TeoV
5fc02a5478 Add support for *sum + test fixes #1279 2018-11-02 10:01:46 +01:00
Trial97
1741cca805 Replace CastFieldIfToString with IfaceAsString 2018-10-02 11:35:37 +02:00
DanB
9098714251 reflect.IfaceAsDuration with support for int 2018-08-20 14:22:20 +02:00
DanB
88a31dd533 reflect.IfaceToDuration to consider float64 as nanoseconds since also ints are converted to float 2018-08-20 14:22:20 +02:00
DanB
6f178bb38c CastFieldToString returning for nil interface 2018-06-08 18:39:31 +02:00
Anevo
72b01dcfc1 Tested functions in utils/reflect.go 2018-03-27 18:47:38 +02:00
TeoV
6f4a0025dd Update test for go 1.10 and update travis to run on go 1.10 2018-02-19 16:57:25 +01:00
DanB
ceeba2770b UsageSecondsRSRTransformer, reflect.IfaceAsDuration 2018-02-09 19:22:16 +01:00
DanB
7d7865c0cb Radius *usage_seconds, reflect IfaceAsFloat64 method 2018-02-05 10:00:35 +01:00
TeoV
3939b02aac Add test for IfaceAsTime 2018-01-25 10:09:33 +01:00
TeoV
21707a5119 Put time.Time before time.Duration 2017-12-12 13:06:07 +01:00
DanB
48ad63baa3 SMG event using CastFieldIfToString instead of deprecated ConvertIfaceToString, SMGClientV1.DisconnectSession with nanosecond units, more test fixes 2017-11-06 12:52:46 +01:00