On Tue, May 12, 2009 at 6:58 PM, John-Mark Bell <[email protected]> 
wrote:
> On Tue, 2009-05-12 at 10:16 +0800, Bo Yang wrote:
>> Hi,
>>    After completing the DOMTS converting "partly", I try to generate
>> testcases for 3 level DOM core modules and compile the testcases to
>> try to see how much our API consistent with the DOM Core spec.
>
> This is great!
>
>> My process is as following:
>>
>> For each testcase in level{1,2,3}/core; do
>>     convert the testcase to C program;
>>     if (error in converting)
>>         Record it as a "Conversion Error";
>>         return
>>
>>     compile the C program against the trunk libDOM;
>>     if (error in compile)
>>        Record it as a "Compile Error";
>>        return
>>
>>     Record a success
>> done
>
>> And the result is:
>>
>> DOM level1 Core
>> ----------------------------------------
>> Total:  527
>> Passed: 514
>> Failed: 13
>> Conversion Error: 2
>> Compile Error:    11
>
> I'm not quite sure where "Passed" and "Failed" come from. Are you
> running the tests, too?

Passed means two things:
1. The XML testcase can be converted successfully.
2. The converted C program can be compiled (not linkage and run)
successfully, and this means that our libDOM interface consistent with
the W3C DOM spec statically.

Regards!
Bo

Reply via email to