Finding a Test Case in the Source Code for a CETK Test (Windows CE 5.0)

Send Feedback

You can use the Find in Files dialog box in the Platform Builder IDE to find instances of a test case name in the source code for a CETK test. By finding the occurrence of the test case name that appears in the definition of a FUNCTION_TABLE_ENTRY structure, you can determine the name of the function associated with the test case.

To find a test case in the source code for a CETK test

  1. In the Platform Builder IDE, from the Edit menu, choose Find in Files.

  2. In the Find what box, type the name of the test case exactly as the name appears in the log when you run the CETK test with the -l command-line parameter.

    For information about viewing the name of the test case, see Displaying a List of Test Cases for a CETK Test.

  3. From the In files/file types box, choose *.*.

  4. In the In folder box, type the path to the directory that contains a sources file that specifies as TARGETNAME the name of the Tux DLL for the CETK test.

  5. Select the Match whole word only check box.

  6. Choose Find.

    On the Find in Files 1 tab, you can double-click a search result to open the file that contains the search result in the Platform Builder IDE and display the result in the context of the file.

  7. For each search result, open the file that contains the search result until you find an occurrence of the test case name within the definition of a FUNCTION_TABLE_ENTRY structure.

See Also

How to Analyze CETK Test Results to Debug a Driver | Find in Files Dialog Box

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.