Freigeben über


Testing Filters

Note

Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side 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.

Secure Code Practices