1
0

Debuggers: Simple cRankManager test case.

This commit is contained in:
madmaxoft 2014-08-08 23:13:43 +02:00
parent f1dc299fdb
commit 251f0d5b97

View File

@ -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...");