I am trying to test my components which use templates
(.html/.jwc/.java files) using BaseComponentTestCase. I am creating
the controls using the standard "newInstance" method, which looks like
it is doing the correct thing, but, when I call

   insert.render(writer, cycle);

and trace through the execution nothing ever renders. Within the medhod

  BaseComponent.renderComponent(writer,cycle)

the _outerCount is 0, so the line  _outer[i].render(writer,cycle)   
is never executed.

Is there method other than "newInstance" I should be using to create
the instance of the component that use templates? Has anyone ever used
templated components using BaseComponentTestCase, or, for that manner
done this kind of testing in ANY way using templated components? Is
the only option to use HtmlUnit? I would really like more standard
unit tests that don't require a running server (which it seems
HtmlUnit will).

Thanks,
Kevin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to