Marco Capetta
280c58fad2
TT#62001 Fix tests after update of LuaUnit
...
In the new version of LuaUnit assertTrue() and assertFalse()
functions are changed to striclty evaluate that the data is
True or false.
Where necessary the fuctions have been substituted in the test
with the new assertEvalToTrue() or assertNil().
Change-Id: I0c728323752a4458e93f516c7529670433c516d1
6 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
10 years ago
Victor Seva
16cc950d5c
MT#7679 fix MockSR. default behaviour of sr.xavp.get is get all values.
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
9a3a80834a
Added __tostring() properly to ngcp, xavp and prefs
13 years ago
Victor Seva
83deca8eff
Don't load any peer pref to real.
13 years ago
Victor Seva
4acb0d5131
Initializate dummy vars just in the creation.
...
On clear... create them.
13 years ago
Victor Seva
1a1d09fea9
Change load API.
...
Use {caller|callee}_{usr|peer}_load().
peer_load just copies peer prefs to real prefs.
13 years ago
Victor Seva
4101e6ada0
Test empty parameters on load.
13 years ago
Victor Seva
a3908d5456
No index
13 years ago
Victor Seva
0b671fa994
Fix clean. Test it.
13 years ago
Victor Seva
2d24a0700c
Added real prefs.
13 years ago