IEEE-2003-1997-R2003.pdf
《IEEE-2003-1997-R2003.pdf》由会员分享,可在线阅读,更多相关《IEEE-2003-1997-R2003.pdf(94页珍藏版)》请在三一文库上搜索。
1、IEEEStd 2003-1997 IEEE Standard for Information Technology Requirements and Guidelines for Test Methods Specifi cations and Test Method Implementations for Measuring Conformance to POSIX Standards Sponsor Portable Applications Standards Committee of the IEEEComputer Society Abstract: This standard d
2、efi nes the requirements and guidelines for test method specifi cations and test method implementations for measuring conformance to POSIXstandards. Test specifi cation standard developers for other Application Programming Interface (API) standards are encouraged to use this standard. This document
3、is aimed primarily at developers and users of test method specifi cations and implementations. Keywords: assertion, assertion test, implementation under test, option, confor- mance document, conformance test procedure, conformance test software, test method implementation, test method specifi cation
4、, test result code POSIXis a registered trademark of the Institute of Electrical and Electronics Engineers, Inc. ? ? The Institute of Electrical and Electronics Engineers, Inc. 345 East 47th Street, New York,NY10017-2394,USA Copyright 1998 by the Institute of Electrical and Electronics Engineers, In
5、c. All rights reserved. Published 1998. Printed in the United States of America. ISBN1-55937-895-6 No part of this publication may be reproduced in any form, in an electronic retrieval system or otherwise, without the prior written permission of the publisher. ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
6、 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Copyright The Institute of Electrical and Electronics Engineers, Inc. Provided by IHS under license with IEEELicensee=NASA Technical Standards 1/9972545001 Not for Resale, 04/21/2007 11:48:50 MDTNo reproduction or networking permitted without license from IHS -,-,- 3
7、 Copyright The Institute of Electrical and Electronics Engineers, Inc. Provided by IHS under license with IEEELicensee=NASA Technical Standards 1/9972545001 Not for Resale, 04/21/2007 11:48:50 MDTNo reproduction or networking permitted without license from IHS -,-,- ISO/IEC 13210: 1998 (E) IEEE Std
8、2003-1998 (E) Contents PAGE Section 1: General1 1.1 Scope1 1.2 References2 1.3 Conformance Criteria2 1.4IUTConformance Assessment 4 Section 2: Defi nitions and General Requirements.7 2.1 Conventions7 2.2 Defi nitions9 Section 3: Assertion Defi nitions, Types, Syntax, and Constructs15 3.1 Introductio
9、n 15 3.2 Generic Assertion Structure16 3.3 Assertion Types and Constructs.18 3.4 Macros 24 3.5 Summary .25 Section 4: Test Result Codes .27 4.1 Introduction 27 4.2 Test Method Implementations 27 4.3 Test Method Specifi cations .30 Section 5: Test Report.31 5.1 Test Report31 5.2CDAudit.31 Section 6:
10、Profi les33 6.1 Defi nition .33 6.2 Conformance to a Profi le.33 6.3 Conformance Assessment.34 Section 7: Guidelines for Testing and Complexity Levels.39 7.1 Introduction 39 7.2 Testing Levels.39 7.3 Complexity Levels 41 7.4 Conclusion41 Section 8: Guidelines for Writing Assertions.43 8.1 Introducti
11、on 43 8.2 Identifying Preconditions.48 8.3 Writing the .51 8.4 Other Assertion Types53 8.5 Macros 56 ii Copyright The Institute of Electrical and Electronics Engineers, Inc. Provided by IHS under license with IEEELicensee=NASA Technical Standards 1/9972545001 Not for Resale, 04/21/2007 11:48:50 MDTN
12、o reproduction or networking permitted without license from IHS -,-,- IEEE Std 2003-1997 (E) ISO/IEC 13210: 1998 (E) IEEE Std 2003-1998 (E) Section 9: Comprehensive Examples59 9.1 Specifi cation of Allowable Test Result Codes .59 Annex A (informative) Bibliography71 A.1 Related Standards 71 Annex B
13、(informative) Rationale and Notes.73 B.1 General.73 B.2 Defi nitions and General Requirements .74 B.3 Assertion Defi nitions, Types, Syntax, and Constructs 76 B.4 Test Result Codes77 B.5 Test Report78 B.6 Profi les.79 B.7 Guidelines for Testing and Complexity Levels79 B.8 Guidelines for Writing Asse
14、rtions80 Alphabetic Topical Index73 FIGURES Figure 1-1 Single Base Standard.5 Figure 3-1 Generic Assertion Structure.16 Figure 3-2 Assertion Types.19 Figure 3-3 Basic Assertion Structure20 Figure 3-4 General Assertion Structure.20 Figure 3-5 Assertion Derived from a General Assertion.21 Figure 3-6 R
15、eference Assertion Structure21 Figure 3-7 Documentation Assertion Structure22 Figure 3-8 General Documentation Assertion Structure.23 Figure 3-9 Documentation Assertion from a General Documentation Assertion23 Figure 3-10 Examples of Unused Assertion Identifi ers24 Figure 4-1 Entity versus Allowable
16、 Test Result Code30 Figure 6-1 Profi le Standard from Multiple Base Standards36 Figure 6-2 Profi le Standard from Multiple Profi les.37 Figure 8-1 Terms .46 Figure 9-1 Entity versus Allowable Test Result Code60 TABLES Table 2-1 Typographical Conventions 8 Table 8-1 C Language Limits52 Table 8-2 Phra
17、ses Denoting Allowable Test Result Codes.56 Table 8-3 Features Denoting Allowable Test Result Codes56 iii Copyright The Institute of Electrical and Electronics Engineers, Inc. Provided by IHS under license with IEEELicensee=NASA Technical Standards 1/9972545001 Not for Resale, 04/21/2007 11:48:50 MD
18、TNo reproduction or networking permitted without license from IHS -,-,- IEEE Std 2003-1997 (E) ISO/IEC 13210: 1998 (E) IEEE Std 2003-1998 (E) iv Copyright The Institute of Electrical and Electronics Engineers, Inc. Provided by IHS under license with IEEELicensee=NASA Technical Standards 1/9972545001
19、 Not for Resale, 04/21/2007 11:48:50 MDTNo reproduction or networking permitted without license from IHS -,-,- IEEE Std 2003-1997 (E) IEEE Std 2003-1997 (E) v Participants IEEE Std 2003-1997 was prepared by the 2003 Working Group, sponsored by the Portable Applications Standards Committee of the IEE
20、E Computer Society. At the time this standard was approved, the member- ship of the 2003 Working Group was as follows: Portable Applications Standards Committee (POSIX) Chair:Lowell Johnson Vice-Chair:Joseph Gwinn Secretary:Nick Stoughton Functional Chair of Balloting:Jay Ashford Functional Chair of
21、 Interpretations:Andrew Josey Functional Chair of Logistics:Curtis Royster 2003 Working Group Ofcials Chair:Barry Hedquist* Roger Martin (1995) Lowell Johnson (1992-1995) Vice-Chair:Barry Hedquist Editor:Anthony Cincotta* Secretary:Keith Stobie (1992-1994) Working Group Don CragunEric LewineKrys Sup
22、plee Kevin DodsonKathy LiburdyKen Thomas Shiela Frankel Glenn McPhersonAndrew Twigger Ken HarveyJerry Powell*Bruce Weiner David HollenbeckTom RobinsonFred Zlotnick William Sudman In the preceding list, those individuals identied with asterisks (*) served during the balloting period as Technical Revi
23、ewers for resolving comments and objections to designated portions of the standard. The following persons were members of the 2003 Balloting Group that approved the standard for submis- sion to the IEEE Standards Board: Andy R. Bihain James F. Leathrum William R. Smith, Jr Anthony CincottaKevin Lewi
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- IEEE 2003 1997 R2003
链接地址:https://www.31doc.com/p-3770286.html