Verifying Interaction Between Methods in Classes

Tingting Hu,Shuling Wang,Zongyan Qiu
DOI: https://doi.org/10.1109/tase.2015.24
2015-01-01
Abstract:Algebraic specification is well-known in specifying abstract data types. It could also play an important role in verifying the interrelation between methods in classes. In this paper we develop a framework for verifying the conformance of method implementations against an algebraic specification. Different from most existing work that perform testing at the code level for the conformance, our approach verifies the conformance without touching the implementation details. As another contribution, we show that if all the inherited methods of a subclass satisfy behavioral subtyping, then the subclass conforms to the algebraic specification of its superclass, i.e., there is no need to re-verify.
What problem does this paper attempt to address?