Publication
JTRES 2008
Conference paper

Testing class libraries for RTSJ safety

View publication

Abstract

The addition of new thread types and new memory areas by the Real-Time Specification for Java™ (RTSJ) [1] introduces new failure modes for existing class libraries. Existing tests for these class libraries will not cover execution with RTs, NHRTs and with the Immortal and Scoped memory areas. Writing new tests to cover these new cases can take significant time and effort. This paper introduces an approach we call AutoRTUnit that allows us to get test coverage for the new thread types and memory areas by reusing existing JUnit[2] based unit tests. In our case we applied it to expand our test coverage for a subset of the non-RTSJ APIs within our RTSJ-compliant Java virtual machine (JVM). Copyright 2008 ACM.

Date

Publication

JTRES 2008

Authors

Share