|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1113 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 1113.
Report 1113 Actions
Problem Report Number 1113 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0315 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published null Product Standard Internationalised Terminal Interfaces Certification Program The Open Brand certification program Test Suite VSU version 5.0.3 Test Identification xcurses/mvaddwstr 4 Problem Summary PG4U.00158 This request contends this test is expecting the wrong results. Problem Text
The expected result of the test is not correct. The test writes the
following sequence, starting at the rightmost column of row 5:
'X' spacing1 nonspacing1 nonspacing2 nonspacing3 nonspacing4 nonspacing5 'Y'spacing2 'Z' spacing3
According to p. 79 of the VSU User's guide, this should yield:
(5, last): 'X'
(6, 0): spacing1 nonspacing1 nonspacing2 nonspacing3 nonspacing4 nonspacing5: 'E'
(6, 1): 'Y'
(6, 2): spacing2 ( = '2')
(6, 3): 'Z'
(6, 4): spacing3 ( = '3')
Line 6 should be "EY2Z3", the string our implementation returns.
The test suite is expecting "1Y2Z3".
Note that the implementation is correctly advancing to the next line in
any case.Test Output
10|1043 /tset/CAPIxcurses/fmvaddwstr/fmvaddwstr1 21:39:42|TC Start, scenario ref 191-312
15|1043 1.10 16|TCM Start
400|1043 1 1 21:39:42|IC Start
200|1043 4 21:39:58|TP Start
520|1043 4 27989 1 1|SPEC1170TESTSUITE CASE 4
520|1043 4 27989 1 2|On a call to int mvaddwstr(int y, int x, const wchar_t
520|1043 4 27989 1 3|*wstr) when the cursor position for the window
520|1043 4 27989 1 4|stdscr would advance beyond the right margin of stdscr
520|1043 4 27989 1 5|an automatic newline shall be performed.
520|1043 4 28008 1 1|PREP: Set test locale: xcurses
520|1043 4 28008 1 2|PREP: Set environment variables and open terminal connection
520|1043 4 28008 2 1|PREP: Call newterm
520|1043 4 28008 2 2|PREP: Initialize color pairs
520|1043 4 28008 2 3|TEST: Write a character with mvaddwstr at the right margin
520|1043 4 28008 2 4|TEST: Data on terminal screen matches expected data
520|1043 4 28008 2 5|ERROR: Line 6 is not as expected. Expected line is:
520|1043 4 28008 2 6|1Y2Z3
520|1043 4 28008 2 7|ERROR: Actual line is:
520|1043 4 28008 2 8|EY2Z3
520|1043 4 28008 2 9| Expected data:
$TET_ROOT/CAPI/tset/CAPIxcurses/data/MVADDWSTR/data5.scrn.
520|1043 4 28008 2 10| Actual data:
$TET_ROOT/CAPI/tset/CAPIxcurses/tmp/MVADDWSTR/data5.scrn
520|1043 4 28008 2 11|CLEANUP: Call endwin
520|1043 4 28008 2 12|CLEANUP: Call delscreen
520|1043 4 28008 2 13|CLEANUP: Restore environment variables and close terminal connection
520|1043 4 27989 2 1|INFO: Testing the macro version of mvaddwstr
520|1043 4 28011 1 1|PREP: Set test locale: xcurses
520|1043 4 28011 1 2|PREP: Set environment variables and open terminal connection
520|1043 4 28011 2 1|PREP: Call newterm
520|1043 4 28011 2 2|PREP: Initialize color pairs
520|1043 4 28011 2 3|TEST: Write a character with mvaddwstr at the right margin
520|1043 4 28011 2 4|TEST: Data on terminal screen matches expected data
520|1043 4 28011 2 5|ERROR: Line 6 is not as expected. Expected line is:
520|1043 4 28011 2 6|1Y2Z3
520|1043 4 28011 2 7|ERROR: Actual line is:
520|1043 4 28011 2 8|EY2Z3
520|1043 4 28011 2 9| Expected data: $TET_ROOT/CAPI/tset/CAPIxcurses/data/MVADDWSTR/data5.scrn.
520|1043 4 28011 2 10| Actual data: $TET_ROOT/CAPI/tset/CAPIxcurses/tmp/MV
ADDWSTR/data5.scrn
520|1043 4 28011 2 11|CLEANUP: Call endwin
520|1043 4 28011 2 12|CLEANUP: Call delscreen
520|1043 4 28011 2 13|CLEANUP: Restore environment variables and close terminal connection
220|1043 4 1 21:40:04|FAIL
410|1043 4 1 21:40:04|IC EndReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We recommend this request be refused.
The expected results for this test are correct. When spacing1 is written
to (6,0) the cursor advances to (6,1). The nonspacing characters are
then written there so the correct content of (6,0) is '1' as the
test expects, not 'E' as this request contends.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused.
Problem Reporting System Options:
- View Report 1113
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority