1、 National Standard of CanadaCAN/CSA-ISO/IEC 13210:02ISO/IEC 13210:1999 (adoptedIEEE Std 2003-1997)International Standard ISO/IEC 13210:1999 (second edition, 1999-12-15) (adopted IEEE Std 2003-1997),has been adopted without modification (IDT) as CSA Standard CAN/CSA-ISO/IEC 13210:02, which has beenap
2、proved as a National Standard of Canada by the Standards Council of Canada.ISBN 1-55324-687-X March 2002Information technology Requirementsand Guidelines for Test MethodsSpecifications and Test MethodImplementations for MeasuringConformance to POSIX StandardsTechnologies de linformation Exigences et
3、 lignes directrices pour lesspcifications de mthodes dessai et les mises en uvre de mthodedessai pour mesurer la conformit aux normes POSIXReference numberISO/IEC 13210:1999(E)IEEEStd 2003, 1997 editionThe Canadian Standards Association (CSA), The Standards Council of Canada is theunder whose auspic
4、es this National Standard has been coordinating body of the National Standards system, produced, was chartered in 1919 and accredited by a federation of independent, autonomousthe Standards Council of Canada to the National organizations working towards the furtherStandards system in 1973. It is a n
5、ot-for-profit, development and improvement of voluntarynonstatutory, voluntary membership association standardization in the national interest.engaged in standards development and certification The principal objects of the Council are to foster activities. and promote voluntary standardization as a
6、means CSA standards reflect a national consensus of of advancing the national economy, benefiting theproducers and users including manufacturers, health, safety, and welfare of the public, assisting consumers, retailers, unions and professional and protecting the consumer, facilitating domestic orga
7、nizations, and governmental agencies. The and international trade, and furthering internationalstandards are used widely by industry and commerce cooperation in the field of standards.and often adopted by municipal, provincial, and A National Standard of Canada is a standard whichfederal governments
8、 in their regulations, particularly in has been approved by the Standards Council ofthe fields of health, safety, building and construction, Canada and one which reflects a reasonableand the environment. agreement among the views of a number of capableIndividuals, companies, and associations across
9、individuals whose collective interests provide to theCanada indicate their support for CSAs standards greatest practicable extent a balance ofdevelopment by volunteering their time and skills to representation of producers, users, consumers, andCSA Committee work and supporting the Associations othe
10、rs with relevant interests, as may be appropriateobjectives through sustaining memberships. The more to the subject in hand. It normally is a standardthan 7000 committee volunteers and the 2000 which is capable of making a significant and timelysustaining memberships together form CSAs total contrib
11、ution to the national interest.membership from which its Directors are chosen. Approval of a standard as a National Standard ofSustaining memberships represent a major source of Canada indicates that a standard conforms to theincome for CSAs standards development activities. criteria and procedures
12、established by the StandardsThe Association offers certification and testing Council of Canada. Approval does not refer to theservices in support of and as an extension to its technical content of the standard; this remains thestandards development activities. To ensure the continuing responsibility
13、 of the accreditedintegrity of its certification process, the Association standards-development organization.regularly and continually audits and inspects products Those who have a need to apply standards arethat bear the CSA Mark. encouraged to use National Standards of CanadaIn addition to its hea
14、d office and laboratory complex whenever practicable. These standards are subject in Toronto, CSA has regional branch offices in major to periodic review; therefore, users are cautioned centres across Canada and inspection and testing to obtain the latest edition from the organizationagencies in eig
15、ht countries. Since 1919, the preparing the standard.Association has developed the necessary expertise to The responsibility for approving National Standards meet its corporate mission: CSA is an independent of Canada rests with theservice organization whose mission is to provide an Standards Counci
16、l of Canadaopen and effective forum for activities facilitating the 270 Albert Street, Suite 200exchange of goods and services through the use of Ottawa, Ontario, K1P 6N7standards, certification and related services to meet Canadanational and international needs.For further information on CSA servic
17、es, write toCanadian Standards Association178 Rexdale BoulevardToronto, Ontario, M9W 1R3CanadaAlthough the intended primary application of this Standard is stated in its Scope, it is importantto note that it remains the responsibility of the users to judge its suitability for their particular purpos
18、e.Registered trade-mark of Canadian Standards AssociationInformation technology Requirements and Guidelines for TestMethods Specifications and Test Method ImplementationsCAN/CSA-ISO/IEC 13210:02 for Measuring Conformance to POSIX StandardsMarch 2002 Canadian Standards Association CSA/1CAN/CSA-ISO/IE
19、C 13210:02Information technology Requirements and Guidelines for TestMethods Specifications and TestMethod Implementations forMeasuring Conformance to POSIXStandardsCSA PrefaceThis is the second edition of CSA Standard CAN/CSA-ISO/IEC 13210. It supersedes the previous editionpublished in 2000 adopti
20、on of ISO/IEC 13210:1994 (adopted ANSI/IEEE Std. 1003.3-1991).Standards development within the Information Technology sector is harmonized with international standardsdevelopment. Through the CSA Technical Committee on Information Technology (TCIT), Canadians serve asthe Canadian Advisory Committee
21、(CAC) on ISO/IEC Joint Technical Committee 1 on Information Technology(ISO/IEC JTC1) for the Standards Council of Canada (SCC), the ISO member body for Canada and sponsor ofthe Canadian National Committee of the IEC. Also, as a member of the International TelecommunicationUnion (ITU), Canada partici
22、pates in the International Telegraph and Telephone Consultative Committee(ITU-T).This International Standard was reviewed by the CSA TCIT under the jurisdiction of the Strategic SteeringCommittee on Information Technology and deemed acceptable for use in Canada. (A committee membershiplist is availa
23、ble on request from the CSA Project Manager.) From time to time, ISO/IEC may publish addenda,corrigenda, etc. The CSA TCIT will review these documents for approval and publication. For a listing, refer tothe CSA Information Products catalogue or CSA Info Update or contact a CSA Sales representative.
24、 ThisStandard has been formally approved, without modification, by these Committees and has been approved as aNational Standard of Canada by the Standards Council of Canada.March 2002 Canadian Standards Association 2002All rights reserved. No part of this publication may be reproduced in any form wh
25、atsoever without the prior permission of thepublisher. ISO/IEC material is reprinted with permission. Where the words “this International Standard” appear in the text, theyshould be interpreted as “this National Standard of Canada”. Inquiries regarding this National Standard of Canada should be addr
26、essed to Canadian Standards Association 178 Rexdale Boulevard, Toronto, Ontario, Canada M9W 1R31-800-463-6727 416-747-4044www.csa.caReference numberISO/IEC 13210:1999(E)IEEEStd 2003, 1997 editionINTERNATIONALSTANDARDISO/IEC13210IEEEStd 2003Second edition1999-12-15Information technology Requirementsa
27、nd Guidelines for Test MethodsSpecifications and Test MethodImplementations for MeasuringConformance to POSIX StandardsTechnologies de linformation Exigences et lignes directrices pour lesspcifications de mthodes dessai et les mises en uvre de mthodedessai pour mesurer la conformit aux normes POSIXI
28、SO/IEC 13210:1999(E)PDF disclaimerThis PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this file may be printed or viewed but shall notbe edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downl
29、oading thisfile, parties accept therein the responsibility of not infringing Adobes licensing policy. The ISO Central Secretariat accepts no liability in thisarea.Adobe is a trademark of Adobe Systems Incorporated.Details of the software products used to create this PDF file can be found in the Gene
30、ral Info relative to the file; the PDF-creation parameterswere optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely eventthat a problem relating to it is found, please inform the Central Secretariat at the address given b
31、elow.ISO copyright officeCase postale 56 Gb7 CH-1211 Geneva 20Tel. + 41 22 749 01 11Fax + 41 22 734 10 79E-mail copyrightiso.chWeb www.iso.chAbstract: This International Standard defines the requirements andguidelines for test method specifications and test method implementationsfor measuring confor
32、mance to POSIX standards. Test specificationstandard developers for other Application Programming Interface (API)standards are encouraged to use this standard. This document is aimedprimarily at developers and users of test method specifications andimplementations.Keywords: assertion, assertion test
33、, implementation under test, option,conformance document, conformance test procedure, conformance testsoftware, test method implementation, test method specification, test resultcodePOSIX is a registered trademark of the Institute of Electrical and Electronics Engineers, Inc.rurururururururururururu
34、rurururururururururururururururururururururururuThe Institute of Electrical and Electronics Engineers, Inc.345 East 47th Street, New York, NY 10017-2394, USACopyright 1998 by the Institute of Electrical and Electronics Engineers, Inc.All rights reserved. Published 1998. Printed in the United States
35、of America.ISBN 1-55937-895-6No part of this publication may be reproduced in any form, in an electronic retrieval system or otherwise, withoutthe prior written permission of the publisher.31 January 1998 SH94500IEEE Standardsdocuments are developed within the IEEE Societies and the Standards Coordi
36、nat-ing Committees of the IEEE Standards Association (IEEE-SA) Standards Board. Members of thecommittees serve voluntarily and without compensation. They are not necessarily members of theInstitute. The standards developed within IEEE represent a consensus of the broad expertise on thesubject within
37、 the Institute as well as those activities outside of IEEE that have expressed an inter-est in participating in the development of the standard.Use of an IEEE Standard is wholly voluntary. The existence of an IEEE Standard does not implythat there are no other ways to produce, test, measure, purchas
38、e, market, or provide other goods andservices related to the scope of the IEEE Standard. Furthermore, the viewpoint expressed at thetime a standard is approved and issued is subject to change brought about through developments inthe state of the art and comments received from users of the standard.
39、Every IEEE Standard is sub-jected to review at least every ve years for revision or reafrmation. When a document is morethan ve years old and has not been reafrmed, it is reasonable to conclude that its contents,although still of some value, do not wholly reect the present state of the art. Users ar
40、e cautioned tocheck to determine that they have the latest edition of any IEEE Standard.Comments for revision of IEEE Standards are welcome from any interested party, regardless ofmembership afliation with IEEE. Suggestions for changes in documents should be in the form of aproposed change of text,
41、together with appropriate supporting comments.Interpretations: Occasionally questions may arise regarding the meaning of portions of standards asthey relate to specic applications. When the need for interpretations is brought to the attention ofIEEE, the Institute will initiate action to prepare app
42、ropriate responses. Since IEEE Standards rep-resent a consensus of all concerned interests, it is important to ensure that any interpretation hasalso received the concurrence of a balance of interests. For this reason, IEEE and the members of itssocieties and Standards Coordinating Committees are no
43、t able to provide an instant response tointerpretation requests except in those cases where the matter has previously received formalconsideration. Comments on standards and requests for interpretations should be addressed to:Secretary, IEEE-SA Standards Board445 Hoes LaneP.O. Box 1331Piscataway, NJ
44、 08855-1331USAAuthorization to photocopy portions of any individual standard for internal or personal use isgranted by the Institute of Electrical and Electronics Engineers, Inc., provided that the appropriatefee is paid to Copyright Clearance Center. To arrange for payment of licensing fee, please
45、contactCopyright Clearance Center, Customer Service, 222 Rosewood Drive, Danvers, MA 01923 USA;(978) 750-8400. Permission to photocopy portions of any individual standard for educational class-room use can also be obtained through the Copyright Clearance Center.Note: Attention is called to the possi
46、bility that implementation of this standard mayrequire use of subject matter covered by patent rights. By publication of this standard,no position is taken with respect to the existence or validity of any patent rights inconnection therewith. The IEEE shall not be responsible for identifying patents
47、 forwhich a license may be required by an IEEE standard or for conducting inquiries intothe legal validity or scope of those patents that are brought to its attention.ISO/IEC 13210: 1998 (E)IEEE Std 2003-1998 (E)ContentsPAGESection 1: General 11.1 Scope 11.2 References 21.3 Conformance Criteria 21.4
48、 IUT Conformance Assessment 4Section 2: Definitions and General Requirements . 72.1 Conventions 72.2 Definitions 9Section 3: Assertion Definitions, Types, Syntax, and Constructs 153.1 Introduction 153.2 Generic Assertion Structure 163.3 Assertion Types and Constructs . 183.4 Macros 243.5 Summary . 2
49、5Section 4: Test Result Codes . 274.1 Introduction 274.2 Test Method Implementations 274.3 Test Method Specifications . 30Section 5: Test Report . 315.1 Test Report 315.2 CD Audit . 31Section 6: Profiles 336.1 Definition . 336.2 Conformance to a Profile . 336.3 Conformance Assessment . 34Section 7: Guidelines for Testing and Complexity Levels . 397.1 Introduction 397.2 Testing Levels . 397.3 Complexity Levels 417.4 Conclusion 41Section 8: Guidelines for Writing Assertions . 438.1 Introduction 438.2 Identifying Preconditions . 488.3 Writ