New issue report by jnwhiteh:
Namespaces have a unit test now, but need to be tested to ensure SetProfile
() after the fact works properly, changing the namespace's profile as well.
function test:namespace_setprofile()
local master = Dongle:New("nstestprofilemaster")
master.db = master:InitializeDB("MasterDB")
local child = master:NewModule("nstestprofilechild")
child.db = master.db:RegisterNamespace("TestProfileNS")
assert(master.db.keys.profile == child.db.keys.profile)
master.db:SetProfile("TestProfileNS2")
assert(master.db.keys.profile == child.db.keys.profile)
end
Issue attributes:
Status: Patch-Written
Owner: jnwhiteh
Labels: Type-Defect Priority-Medium
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
Comment #1 by jnwhiteh:
(No comment was entered for this change.)
Issue attribute updates:
Labels: Milestone-Release1.0
Comment #2 by jnwhiteh:
Unit test added.
Issue attribute updates:
Status: Fixed