Re: DNA TCK?
peter-4lf8KW9E9MLMqX/[email protected] Fri, 9 Jan 2004 11:31:07 +1100
| Newsgroups | gmane.comp.java.jcontainer.interest |
|---|---|
| Message-ID | <00c101c3d647$df72a340$21e7809d@fisg2> |
Hi, From what I understand you are looking for a way to validate the container correctly supports DNA components? If so then there is nothing right now that does that. It would something useful to have but we just have not got around to doing it. I guess what we would need to do is have something that generated components that had * all the different combinations of lifecycle interfaces * verified lifecycle stages called in correct order * verified that all resources passed in were non-null * verified that all the resources passed in matched corresponding metadata (ie conformed to schema, had correct resources present, etc) However it becomes very difficult to test other things like whether the component is protected against accessing things that it didn't declare, whether the components that dont pass verifier checks are allowed etc. I dunno. How do you see it working? ----- Original Message ----- From: "Leo Simons" <[email protected]> To: <jcontainer-interest-81qHHgoATdGxIXFVlbCvtR2eb7JE58TQ@public.gmane.org> Sent: Thursday, January 08, 2004 9:00 PM Subject: DNA TCK? > Hi gang, > > are there any plans for a DNA TCK, something like a suite of 'mock' dna > components that verify their own state? Is there an interest in > something like that? I did see ComponentVerifier, but that's not quite a > TCK :D > > I ask because I'm implementing a container and I want to be able to > claim at some point it is "DNA compliant". > > -- > cheers, > > - LSD > > ----------------------------------------------------------------------- > Weblog -- http://leosimons.com/ > IoC Component Glue -- http://jicarilla.org/ > Articles & Opinions -- http://articles.leosimons.com/ > ----------------------------------------------------------------------- > "We started off trying to set up a small anarchist community, but > people wouldn't obey the rules." > -- Alan Bennett > > > _______________________________________________ > jcontainer-interest mailing list > jcontainer-interest-81qHHgoATdGxIXFVlbCvtR2eb7JE58TQ@public.gmane.org > http://lists.codehaus.org/mailman/listinfo/jcontainer-interest > >