next up previous contents
Next: Organization of Files Up: Organization of Test Data Previous: Organization of Test Data   Contents


Outside Caller

When a test case requests a file or resource from a test data repository, Repo framework must be able to identify certain information about that test case in order to be able to locate the test data for that test case. The ``outside caller'' is defined inside of Repo framework as a Java class that calls public methods or the framework. Most commonly, the ``outside caller'' will be the test case. Thus, Repo framework must be able to parse the stack trace of the JVM in order to find out the following information about the ``outside caller'' (see figure 6):

  1. name of the package of the ``outside caller'';
  2. name of the class of the ``outside caller'';
  3. name of the method of the ``outside caller'';
  4. name of the source file of the ``outside caller'';

Figure 6: ``Outside caller''
\includegraphics[scale=.4]{stack.eps}