Debuggers: Simple cRankManager test case.
This commit is contained in:
parent
f1dc299fdb
commit
251f0d5b97
@ -81,6 +81,7 @@ function Initialize(Plugin)
|
|||||||
TestBlockAreasString()
|
TestBlockAreasString()
|
||||||
TestStringBase64()
|
TestStringBase64()
|
||||||
TestUUIDFromName()
|
TestUUIDFromName()
|
||||||
|
TestRankMgr()
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
-- Test cCompositeChat usage in console-logging:
|
-- Test cCompositeChat usage in console-logging:
|
||||||
@ -352,6 +353,18 @@ end
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function TestRankMgr()
|
||||||
|
LOG("Testing the rank manager")
|
||||||
|
cRankManager:AddRank("LuaRank")
|
||||||
|
cRankManager:AddGroup("LuaTestGroup")
|
||||||
|
cRankManager:AddGroupToRank("LuaTestGroup", "LuaRank")
|
||||||
|
cRankManager:AddPermissionToGroup("luaperm", "LuaTestGroup")
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function TestSQLiteBindings()
|
function TestSQLiteBindings()
|
||||||
LOG("Testing SQLite bindings...");
|
LOG("Testing SQLite bindings...");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user