Jon Bomgardner
unread,Jun 20, 2009, 10:47:31 PM6/20/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Clientcide
Is there a way to make the test framework play nicely with circular
references?
For instance, I have a class Toolbar that has a dependency on
Toolbar.Container. The container obviously needs to be defined after
Toolbar due to the namespace dependency. The Unit Test framework just
chokes when I have the following defined in my scripts.json file:
"Toolbar": {
"toolbar": {
"deps": ["common","container"]
},
"container": {
"deps": ["common","toolbar"]
},
"toolbar.item": {
"deps": ["tab","toolbar"]
},
"toolbar.separator": {
"deps": ["toolbar"]
}
}
Can this be worked out somehow or should I just do my best to avoid
circular references?
Thanks,
jonlb