DTP can access and display source code in an explorer view by:
- Displaying Source Code published by Parasoft code analysis and test execution tools (C/C++test, dotTEST, Jtest). Source code files are collected during analysis Parasoft tools and stored on DTP. In order to display the file in a view, the file is obtained from server's storage.
- Displaying Source Code from Source Control System. Information about Source Control System is collected during analysis and provided to DTP. In order to display the file in a view, the file is obtained from Source Control System.
Users must also have permissions to view source code. See User Administration for additional information.
Source Code File Encoding
By default, DTP assumes that source code is encoded in UTF-8. If the source code is encoded with a different character set, you can specify it in the Parasoft Test Settings form by adding the You can configure this setting for individual projects or for all projects if all source code is encoded in the same way. See Configuring Parasoft Test for All Projects for additional information.file.encoding.name
property. For example:file.encoding.name=UTF-16