[Click] Question about Element functions
Cliff Frey
cliff at meraki.com
Sun Jul 18 21:24:24 EDT 2010
Elements such as ConfParseTest are used exclusively for unit testing
running
git grep -i confparsetest
in the click checkout will show you where it is used, specifically
test/standard/confparse-01.testie
is a test that uses that element
You can run the test with:
./test/testie ./test/standard/confparse-01.testie
Cliff
On Sun, Jul 18, 2010 at 8:56 AM, Cong Guo <c8guo at uwaterloo.ca> wrote:
> Hello guys,
> I'm new to Click. I really need your help.
> My first question is about the functions of "Element", initialize and
> cleanup. When will the two functions be called? Do you define some stages?
> Where can I find the document?
> And, where is the definition of the function ninputs()? What's it for?
> Besides, how can I use the test element like confparsetest? What's the
> script like? Is there any advice about debugging and unit test?
> Thank you very much!
>
>
> Thanks,
> Cong
>
> --
> Cong Guo
>
> David R. Cheriton School of Computer Science,
> University of Waterloo, Waterloo, ON
> N2L 3G1
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
More information about the click
mailing list