Victor Seva
28e18d4eb1
Added group param for clean.
12 years ago
Victor Seva
ceae8b80f2
Added tests for call loders with empty values
12 years ago
Victor Seva
0cb72f63e7
Return empty table instead of error if load is called with empty params
12 years ago
Victor Seva
4101e6ada0
Test empty parameters on load.
12 years ago
Victor Seva
a3908d5456
No index
12 years ago
Victor Seva
0b671fa994
Fix clean. Test it.
12 years ago
Victor Seva
95f48ec09c
Fix copy&paste error
12 years ago
Victor Seva
422e50afeb
Fix clean. Test it.
12 years ago
Victor Seva
746e5bbe2f
Fix clean. Test it.
12 years ago
Victor Seva
c735d1692e
Fix clean. Test it.
12 years ago
Victor Seva
8557e523e2
Fix creation of dummy vars.
...
Do not delete dummy vars on clean.
12 years ago
Victor Seva
a84fc65879
Fix get unset without index/keys
12 years ago
Victor Seva
203374de7a
Fixed is_xavp index with no key. Added test to check it.
...
Distinguish between not existing and deleted on index.
12 years ago
Victor Seva
2d24a0700c
Added real prefs.
12 years ago
Victor Seva
d93e7d2a04
return keys when in load functions.
...
Don't use internal key for xavp
12 years ago
Victor Seva
877a7d0583
Fix behaviour on unset. Tested on real kamailio.
12 years ago
Victor Seva
db2d4a6aad
Added keys field to insert the keys used
12 years ago
Victor Seva
f4b5526d2c
Added table.add for insert non duplicate elements in a list
12 years ago
Victor Seva
06e87977fe
xavp can be access without key.
...
xavp inside xavps are _not_ inplemented. We don't need right now.
12 years ago
Victor Seva
c54272cca2
Remove unussed files
12 years ago
Victor Seva
78e6c3ad1f
Fix avp
12 years ago
Victor Seva
718b17fc31
Fix get
12 years ago
Victor Seva
4fb417a5f6
Use new API.
...
Fix test.
12 years ago
Victor Seva
52e55ef7a0
Use new API.
...
Fix tests.
12 years ago
Victor Seva
73f44636e9
Using new API.
...
Fix dp tests.
12 years ago
Victor Seva
a5f9d77b65
Mock sr reworked.
...
NGCPXAvp just for caller/callee
12 years ago
Victor Seva
d10eb3a14b
Fixed load preferences from DDBB.
...
Added logging.
Fixed test
12 years ago
Victor Seva
78147d6c18
Used new assertIs
12 years ago
Victor Seva
b99b5803c3
Fetch is wrong. WIP
12 years ago
Victor Seva
af52bc1471
Fix lemock use on NGCPUserPrefs test
12 years ago
Victor Seva
9b1aba0d66
Fix lemock use on NGCPPeerPrefs test
12 years ago
Victor Seva
a93fc95c37
Added log for NGCPDomainPrefs, NGCP
...
Fix lemock use on test for NGCPDomainPrefs
12 years ago
Victor Seva
0cde0e7e15
Added log for sr.pv
...
Fix set id with [*]
12 years ago
Victor Seva
8bdb517d84
Add __tostring to Stack
12 years ago
Victor Seva
c4c1c0978b
Added logging.file to sr mock.
...
sr.log in tests is now saved to reports/sr_%Y-%m-%d.log file
12 years ago
Victor Seva
f6e772824c
Added asserts to dp test
12 years ago
Victor Seva
e341c26993
Fix test. Typo
12 years ago
Victor Seva
85985ea8fc
Fix xavp set id with no index
12 years ago
Victor Seva
7208736c32
Fixed getDBConnection. Added test.
12 years ago
Victor Seva
5daf6d3aeb
move utils to ngcp dir
12 years ago
Victor Seva
f05b29144e
Move vars to tests_v dir
...
fixed NGCPAvp
Updated vars require
12 years ago
Victor Seva
86ff015f82
using xavps.
...
using lemock the right way
12 years ago
Victor Seva
f5c560834b
Added test for explode with more than a char
12 years ago
Victor Seva
8f1d52128c
Added string.starts string.ends functions
12 years ago
Victor Seva
01f9289910
Added NGCPAvp class. WIP
12 years ago
Victor Seva
50c4ea2567
Fix kam_utils tests
12 years ago
Victor Seva
4c0ca5a943
- Added Stack class in utils
...
- Added real functionality to sr.pv Kamailio Mock module.
sr.pv vars are processed like avps
12 years ago
Victor Seva
9b07ff8e33
- Added kam_utils test
...
- Updated kam_utils
- Added more tests to ngcp
12 years ago
Victor Seva
4f4f571709
- Added lemock library ( Debian package needed )
...
- Added Mock for kamailio sr module
- Added NGCP, NGCPPrefs, NGCPConfig, NGCPPeerPrefs and NGCPDomainPref classes.
This is just a playground to figure out how can we organize the code. WIP
12 years ago
Victor Seva
48d303bc90
fix test
12 years ago