Abstract
Middleware is at the heart of any distributed application and its correctness therefore requires rigorous testing. Since middleware technologies typically support heterogeneous environments, its API is available for different programming languages. Functional tests written to test the functionality of a middleware platform therefore have to be re-written for all those programming languages. The framework introduced in this paper shows how functional tests written in Java can automatically be translated to other programming languages such as C++. This is achieved by using the XML-based programming language XMLVM. XMLVM can automatically be created from Java class files. The cross-language translations are accomplished by using XSL-transformations of XMLVM programs.
Chapter PDF
Similar content being viewed by others
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
References
Common object request broker architecture (corba/iiop). Object Management Group, http://www.omg.org/technology/documents
Vsorb test suite specification, release 1.0.0. Open Group (1997), http://www.opengroup.org/corval/vsorbts.pdf
Xsl transformations. World Wide Web Consortium (W3C) (1999), http://www.w3.org/TR/1999/REC-xslt-19991116
Web Services Interoperability Organization (2004), http://www.ws-i.org
Badros, G.J.: A markup language for java source code (May 2000), http://www.cs.washington.edu/research/constraints/web/badros-javaml-www9.pdf
Dahm, M.: Byte code engineering. Java Informations Tage, 267–277 (1999)
Emmerich, W., Mascolo, C., Finkelstein, A.: Implementing incremental code migration with xml. In: Jazayeri, M., Wolf, A. (eds.) Proc. 22nd Int. Conf. on Software Engineering (ICSE2000), Limerick, Ireland, pp. 397–406. ACM Press, New York (2000), http://www.cs.ucl.ac.uk/staff/W.Emmerich/publications/ICSE2000/MobXML/mobxml.pdf
Hamill, P.: Unit Test Frameworks, 1st edn. O’Reilly, Sebastopol (2004)
Hunt, A., Tomas, D.: Pragmatic Unit Testing in Java With JUnit. The Pragmatic Programmers, 1st edn. (September 2003)
Lindholm, T., Yellin, F.: The Java Virtual Machine Specification, 2nd edn. Addison-Wesley Pub Co, Reading (1999)
Maletic, J.I., Collard, M.L., Marcus, A.: Source code files as structured documents, pp. 289–292 (2002), http://www.sdml.info/papers/iwpc02.pdf
Mamas, E., Kontogiannis, K.: Towards portable source code representation using xml. In: Proceedings of the Seventh Working Conference on Reverse Engineering, Brisbane Australia, pp. 172–182. IEEE Computer Society Press, Los Alamitos (2000)
McArthur, G., Mylopoulos, J., Ng, S.K.K.: An extensible tool for source code representation using xml. In: Proceedings of the Ninth Working Conference on Reverse Engineering, Richmond, Virginia, USA, pp. 199–208. IEEE Computer Society, Los Alamitos (2002)
Meyer, J.: An assembler for the java virtual machine (1996), http://jasmin.sourceforge.net/
Puder, A.: Corba open source testing. OMG in Motion, Needham (2001)
Puder, A.: Extending desktop applications to the web. In: Second Workshop on Distributed Objects Research, Experiences and Applications (DOREA 2004), pp. 8–11. Computer Science Press, Dublin (2004)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2005 IFIP International Federation for Information Processing
About this paper
Cite this paper
Puder, A., Wang, L. (2005). Cross-Language Functional Testing for Middleware. In: Khendek, F., Dssouli, R. (eds) Testing of Communicating Systems. TestCom 2005. Lecture Notes in Computer Science, vol 3502. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11430230_5
Download citation
DOI: https://doi.org/10.1007/11430230_5
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-26054-7
Online ISBN: 978-3-540-32076-0
eBook Packages: Computer ScienceComputer Science (R0)