Victor Seva
72b9ed4f81
TT#78651 log strings need to end with '\n'
...
Use shorter version of KSR.log when possible
Change-Id: I503a82714b50e5061d9cd2176ff938c592ca22df
5 years ago
Victor Seva
2b57bbe5bb
TT#78651 migrate to new KEMI pvx interface
...
Change-Id: I1a5c4cb887276c363ba1158ec72525c70dc17901
5 years ago
Victor Seva
dc1ba69f3f
TT#78651 migrate to new KEMI interface
...
We are going to use both modules app_lua and app_lua_sr until we
solve the missing pieces on KEMI:
* KSR.pvx.xavp_get() returns a string like '<<xavp:%p>>' not a table like
sr.xavp.get()
* KEMI lacks of something like sr.xavp.get_keys() funtion
So, migrate everything that we can to KEMI and keep using sr approach
for just that two cases
- mocks/sr.lua: use same objects for same behaviour
Change-Id: I475ff8f820586cdc94c75bff7466238215e05673
5 years ago
Sergii Kipot
67f12b0ed4
TT#29456 Fix errors generated by newer luacheck (0.17)
...
ngcp/xavp.lua:101:1: inconsistent indentation (SPACE followed by TAB)
Change-Id: I4d107289679191524d9a7f83e961ee052bc6f318
7 years ago
Victor Seva
51a8be0b69
MT#12025 code refactoring with luacheck help
...
- don't leak globals, libs should return metatable
- fix requires
- remove unnecessary declarations of variables
- split mocks/sr
- remove unused tests
- fix tests
Change-Id: I2bda46410cf62c61c38ce1a9bf4b96f1a7a961bc
9 years ago
Victor Seva
7a52fc6ad5
MT#12025 clean luacheck error
...
Change-Id: I247be4018189e393c1a8d7ee9fa7b455cc38f1a7
10 years ago
Victor Seva
555326aa09
MT#10199 remove defaults from profile. Fix empty results on profile load
11 years ago
Victor Seva
2667ef50a6
MT#7679 Fix xavp:clean(key)
11 years ago
Victor Seva
60e271a3cc
MT#7679 xavp:get() function
11 years ago
Victor Seva
e607914109
MT#7679 xavp: allow clean only a key
11 years ago
Victor Seva
6543b279a1
Copy all values not only the first one
12 years ago
Victor Seva
97e9453a69
Added copyright in all lua. Removed unused script.
12 years ago
Victor Seva
08f1c3d90d
set xavp log to dbg
12 years ago
Victor Seva
9a3a80834a
Added __tostring() properly to ngcp, xavp and prefs
12 years ago
Victor Seva
ce2de78890
Refresh new app_lua xavp api
12 years ago
Victor Seva
4acb0d5131
Initializate dummy vars just in the creation.
...
On clear... create them.
12 years ago
Victor Seva
a3908d5456
No index
12 years ago
Victor Seva
50a37883b8
less dbg
12 years ago
Victor Seva
8557e523e2
Fix creation of dummy vars.
...
Do not delete dummy vars on clean.
12 years ago
Victor Seva
0921da3182
Do not create dummy vars if they already exists
12 years ago
Victor Seva
f0e78c415e
Created init function.
...
Fix clean, just clean its level
12 years ago
Victor Seva
db2d4a6aad
Added keys field to insert the keys used
12 years ago
Victor Seva
a5f9d77b65
Mock sr reworked.
...
NGCPXAvp just for caller/callee
12 years ago
Victor Seva
e493b3359f
Fix creation of dummy xavp key [0]
12 years ago
Victor Seva
86ff015f82
using xavps.
...
using lemock the right way
12 years ago