Issue 19 in project dongle

1 view
Skip to first unread message

codesite...@google.com

unread,
Mar 14, 2007, 2:55:03 PM3/14/07
to dongle...@googlegroups.com
Issue 19: Test: SetProfile() on a namespace
http://code.google.com/p/dongle/issues/detail?id=19

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

codesite...@google.com

unread,
Mar 14, 2007, 2:55:16 PM3/14/07
to dongle...@googlegroups.com
Issue 19: Test: SetProfile() on a namespace
http://code.google.com/p/dongle/issues/detail?id=19

Comment #1 by jnwhiteh:
(No comment was entered for this change.)


Issue attribute updates:
Labels: Milestone-Release1.0

codesite...@google.com

unread,
Mar 17, 2007, 11:34:48 PM3/17/07
to dongle...@googlegroups.com
Issue 19: Test: SetProfile() on a namespace
http://code.google.com/p/dongle/issues/detail?id=19

Comment #2 by jnwhiteh:
Unit test added.


Issue attribute updates:
Status: Fixed

Reply all
Reply to author
Forward
0 new messages