2 out of 3 rated this helpful - Rate this topic

Testing Filters

Note  Indexing Service is no longer available for use as of Windows XP. Instead, use Windows Search.

You can test your filter implementations using the programs of the IFilter Test Suite. The IFilter Test Suite can validate IFilter interface implementations by calling IFilter methods and checking the returned values for compliance with the IFilter interface specification. Programs of the Test Suite will, for example, check that chunk identifiers are unique and increasing, that the IFilter interface behaves consistently after reinitialization, and that IFiltermethod calls with invalid parameters return expected error codes. The programs will also dump the output of a file filtered by an IFilter interface implementation and check the filter registration information in the registry.

The IFilter Test Suite consists of three programs, ifilttst.exe, filtdump.exe, and filtreg.exe, plus an initialization file, ifilttst.ini. The programs are all command-line applications. The IFilter Test Suite requires Indexing Service and Internet Information Services (IIS).

The topics in this section describe how to test your filter implementations using the IFilter Test Suite.

Related Topics

Secure Code Practices

 

 

Send comments about this topic to Microsoft

Build date: 5/10/2011

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ