Debuggers: Simple cRankManager test case.
This commit is contained in:
parent
f1dc299fdb
commit
251f0d5b97
@ -81,6 +81,7 @@ function Initialize(Plugin)
|
||||
TestBlockAreasString()
|
||||
TestStringBase64()
|
||||
TestUUIDFromName()
|
||||
TestRankMgr()
|
||||
|
||||
--[[
|
||||
-- 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()
|
||||
LOG("Testing SQLite bindings...");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user