|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1292 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 1292.
Report 1292 Actions
Problem Report Number 1292 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0574 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1998-07-29 08:00 Product Standard Internationalised Terminal Interfaces Certification Program The Open Brand certification program Test Suite VSU version 5.0.2 Test Identification xcurses/vidputs 1 Problem Summary TSD4U.00244 This test will fail on system that use types of different encodings for A_ and WA_ attributes. Problem Text
These code fragments are from CAPIxcurses/fvidputs/fvidputs1.c:
struct {
chtype attr;
xcur_chtype attrbit;
char *attrname;
} attrdata[] = {
0, 0, "Unused VT attr bit",
WA_HORIZONTAL, 0, "Horizontal Highlight",
WA_INVIS, 0, "Invisible",
WA_LEFT, 0, "Left Highlight",
WA_LOW, 0, "Low Highlight",
WA_PROTECT, 0, "Protected",
WA_RIGHT, 0, "Right Highlight",
WA_TOP, 0, "Top Highlight",
WA_VERTICAL, 0, "Vertical Highlight",
WA_STANDOUT, XCUR_A_STANDOUT, "Standout",
WA_UNDERLINE, XCUR_A_UNDERLINE, "Underline",
WA_REVERSE, XCUR_A_REVERSE, "Reverse",
WA_BLINK, XCUR_A_BLINK, "Blink",
WA_DIM, XCUR_A_DIM, "Dim",
WA_BOLD, XCUR_A_BOLD, "Bold",
0, 0, "Unused VT attr bit",
0, 0, "Unused VT attr bit",
WA_ALTCHARSET, XCUR_A_ALTCHARSET, "Altcharset"};Test Output
10|1373 /tset/CAPIxcurses/fvidputs/fvidputs1 05:16:12|TC Start, scenario
ref 176-640
15|1373 1.10 2|TCM Start
400|1373 1 1 05:16:12|IC Start
200|1373 1 05:16:12|TP Start
520|1373 1 20776 1 1|SPEC1170TESTSUITE CASE 1
520|1373 1 20776 1 2|A successful call to int vidputs(chtype attr, int
520|1373 1 20776 1 3|(*putfunc)(int)) shall output through putwfunc the
520|1373 1 20776 1 4|string necessary to cause the current terminal to
520|1373 1 20776 1 5|display text with the attributes attr and return OK.
520|1373 1 20777 1 1|PREP: Set test locale: xcurses
520|1373 1 20777 1 2|PREP: Set environment variables and open terminal connection
520|1373 1 20777 2 1|PREP: Call newterm
520|1373 1 20777 2 2|PREP: Initialize color pairs
520|1373 1 20777 2 3|TEST: Call vidputs for Standout
520|1373 1 20777 2 4|ERROR: Vertical Highlight attribute should be on, is off
520|1373 1 20777 2 5|TEST: Call vidputs for Underline
520|1373 1 20777 2 6|ERROR: Standout attribute should be on, is off
520|1373 1 20777 2 7|TEST: Call vidputs for Reverse
520|1373 1 20777 2 8|ERROR: Underline attribute should be on, is off
520|1373 1 20777 2 9|TEST: Call vidputs for Blink
520|1373 1 20777 2 10|ERROR: Reverse attribute should be on, is off
520|1373 1 20777 2 11|TEST: Call vidputs for Dim
520|1373 1 20777 2 12|ERROR: Blink attribute should be on, is off
520|1373 1 20777 2 13|TEST: Call vidputs for Bold
520|1373 1 20777 2 14|ERROR: Dim attribute should be on, is off
520|1373 1 20777 2 15|TEST: Call vidputs for Altcharset
520|1373 1 20777 2 16|ERROR: Unused VT attr bit attribute should be on, is off
520|1373 1 20777 2 17|CLEANUP: Call endwin
520|1373 1 20777 2 18|CLEANUP: Call delscreen
520|1373 1 20777 2 19|CLEANUP: Restore environment variables and close terminal
connection
220|1373 1 1 05:16:27|FAIL
410|1373 1 1 05:16:27|IC EndReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We disagree that the suite is using attr_t as the type of information passed
to vidputs. As per the code fragment shown chtype is correctly being used.
We agree the use of WA_ attributes is a test suite deficiency in the
test suite version(s) listed.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion
This is an agreed Test Suite Deficiency.
Problem Reporting System Options:
- View Report 1292
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority