{"title":"面向对象软件中继承相似性测试的形式化模型","authors":"Khalid Benlhachmi, M. Benattou","doi":"10.1109/CIST.2012.6388060","DOIUrl":null,"url":null,"abstract":"The work presented in this paper extends the constraint model defined for modeling the specification of a given method to its redefinition in subclass using inheritance principle. The main objective is to establish theoretical concepts which allow to compare the behavior of a redefined method in a subclass with its original behavior in the super-class relatively to the basic specification. The key idea of our approach is based on a partition of domains for testing the similarity between the redefined methods and their basic methods in super-class. The proposed test oracle uses a random data generation to test the similarity of methods in the context of inheritance mechanism.","PeriodicalId":120664,"journal":{"name":"2012 Colloquium in Information Science and Technology","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-12-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"8","resultStr":"{\"title\":\"A formal model of similarity testing for inheritance in object-oriented software\",\"authors\":\"Khalid Benlhachmi, M. Benattou\",\"doi\":\"10.1109/CIST.2012.6388060\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The work presented in this paper extends the constraint model defined for modeling the specification of a given method to its redefinition in subclass using inheritance principle. The main objective is to establish theoretical concepts which allow to compare the behavior of a redefined method in a subclass with its original behavior in the super-class relatively to the basic specification. The key idea of our approach is based on a partition of domains for testing the similarity between the redefined methods and their basic methods in super-class. The proposed test oracle uses a random data generation to test the similarity of methods in the context of inheritance mechanism.\",\"PeriodicalId\":120664,\"journal\":{\"name\":\"2012 Colloquium in Information Science and Technology\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2012-12-24\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"8\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2012 Colloquium in Information Science and Technology\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/CIST.2012.6388060\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 Colloquium in Information Science and Technology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CIST.2012.6388060","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
A formal model of similarity testing for inheritance in object-oriented software
The work presented in this paper extends the constraint model defined for modeling the specification of a given method to its redefinition in subclass using inheritance principle. The main objective is to establish theoretical concepts which allow to compare the behavior of a redefined method in a subclass with its original behavior in the super-class relatively to the basic specification. The key idea of our approach is based on a partition of domains for testing the similarity between the redefined methods and their basic methods in super-class. The proposed test oracle uses a random data generation to test the similarity of methods in the context of inheritance mechanism.