• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problems Runnig DOM TS

 
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I downloaded DOM TestSuite from
http://www.w3.org/DOM/Test/
I want to run this suite on parsers.
Here see multiple level1/level2/level3 folders.
eg.
Level1
|
|-org
| |
| w3c
| |
| domts
| |
| level1
| level2
| level3
Level2
This is the derectory structure...
Which one to use for running the TestSuite..
Also In SAX folder jar files contains Manifest file.But there is no main class mentioned in this .mf file..
How do i run the test suite for sax and sax2 ?
Regards
Ajit
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try downloading one of the .jar files from http://www.w3.org/DOM/Test/#releases and execute it with "java -jar <jarfile>".
Here's what I'm getting:
 
Aji Ozkan
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanx for reply
Did u try for sax and sax-ext jar files?
I am able to run the jar file..but how do i know which parser is being tested? Why there are multiple folders in level1/level2/level3..
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have no idea what these folders are you're talking about... I just saw the .jar files one can download.
The implementation being tested is described first thing in the test run's output. See the snippet I posted for an example.
 
Aji Ozkan
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanx for reply.
I have two doubts..
1.How do i use these jar files to test different parsers
2.How do i build the DOM TS and add more TestCases to existing Test Suite.
Regarding level1/level2 folders i downloaded the source for DOMTS from w3c site..
Regards
Ajit Kanada
reply
    Bookmark Topic Watch Topic
  • New Topic