Home Page   We Generate Your Software.
Products Services Company Technology Demo Contact Site Map Search
Please note: this document is currently under revision.
The information herein contained, while still valid, does not reflect the latest state of the described technology.
The Somusar/SoProTech[tm] Booklet Series
Volume VIII

"somusar/tjpp: User's Guide"

Printer friendly


1. Introduction
2. Overview
3. Installing tjpp[tm]
4. SimpleClass Example
5. ComplexClass Example
6. Running a Test
7. Exercise: Improving Multitier Code Consistency
8. Contacting Somusar
9. Further Reading
Appendix A - tjpp Directives and Macros
      
      
      
      
      
      
      
      
Somusar/tjpp[tm]

User's Guide

Francesco Aliverti-Piuri

Copyright © 2003-2012 Somusar

      
      
      
      
      
      
      
      
      
      
      
      
      
      

  Contents     Code Examples     Tables  
 
Contents
Chapter 1 - Introduction
1.1 - Acknowledgments
Chapter 2 - Overview
2.1 - Architecture
2.2 - Usage
Chapter 3 - Installing tjpp[tm]
Chapter 4 - SimpleClass Example
4.1 - Including files
4.2 - Code generation variables
4.3 - Conditional code generation
4.4 - User macros
4.5 - Tracing
4.6 - Code Examples
Chapter 5 - ComplexClass Example
5.1 - Attaching files
5.2 - Enumerated types
5.3 - Properties
5.4 - Assertions
5.5 - Code Examples
Chapter 6 - Running a Test
6.1 - Code Examples
Chapter 7 - Exercise: Improving Multitier Code Consistency
7.1 - Code Examples
Chapter 8 - Contacting Somusar
8.1 - Requesting Support
Chapter 9 - Further Reading
Appendix A - tjpp Directives and Macros
A.1 - List of available directives
A.2 - List of available macros

Code Examples
Code Example 1 - Input code to generate SimpleClass.java
Code Example 2 - Code generated from SimpleClass.tj
Code Example 3 - A user-defined macro: timestamp
Code Example 4 - Another user-defined macro: perc
Code Example 5 - Input code to generate ComplexClass.java
Code Example 6 - Code generated from ComplexClass.tj
Code Example 7 - Implementation of assert
Code Example 8 - tjpp test class
Code Example 9 - Diagnostic messages: "stderr.txt"
Code Example 10 - Input code to generate Results.java
Code Example 11 - Code generated from Results.tj
Code Example 12 - A macro to generate result-get statements

Tables
Table 1 - Tjpp generic directives
Table 2 - Tjpp property-oriented directives
Table 3 - Tjpp predefined macros
Table 4 - Sample user-defined macros


[Back to top]

http:// www.somusar.com  / doc  / booklets  / tjpp_manual  - Powered by SoProMach
Copyright © 2003-2012 Somusar - Trademarks - Legal - Privacy - Webmaster