Difference: UnicodeRECEIVE_LOCALStmt (1 vs. 6)

Revision 62011-07-05 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="UnicodeTestPlan"

RECEIVE / LOCAL Statements

Line: 19 to 19
 
  1. Test all encoding to see if they act as a RESTORE (DEFAULT VALUE). * They do not, but they don't under previous versions either *

Bugs

Changed:
<
<
  1. Assign a value like 10. to --- X, and PASS that into a subroutine (shared). RECEIVE it as a National or Unicode field type, and append a one to the string, then exit. After the subroutine returns, --- X will contain 101.000000000000. Note all the trailing zeros, this doesn't happen under 5.0.3, or if you use a Raw type field. If you PASS --- X again into a National or Unicode field, it will receive all the trailing zeroes and the string will contain 101.000000000000 instead of just 101.
  2. Transcode errors are reported as 'Overflow Error' at run time. Should probably use the 'Transcode Error' message so the designer has a better idea of the problem. Example: Pass Raw field to a subroutine (shared), receive as Unicode or National, then append a non Raw character to it & return. Runtime error occurs after the return.
  3. Same as above, but on a RECEIVE. Example, pass a Unicode field containing a unicode value, receive a RAW, runtime error is 'Overflow error', probably s/b 'Transcode Error'
  4. Same as 2), but on a RECEIVE with National fields. Example, pass a National field containing a national value, receive a RAW, runtime error is 'Overflow error', probably s/b 'Transcode Error'
>
>
  1. Assign a value like 10. to --- X, and PASS that into a subroutine (shared). RECEIVE it as a National or Unicode field type, and append a one to the string, then exit. After the subroutine returns, --- X will contain 101.000000000000. Note all the trailing zeros, this doesn't happen under 5.0.3, or if you use a Raw type field. If you PASS --- X again into a National or Unicode field, it will receive all the trailing zeroes and the string will contain 101.000000000000 instead of just 101. * FIXED* July 4 engine
  2. Transcode errors are reported as 'Overflow Error' at run time. Should probably use the 'Transcode Error' message so the designer has a better idea of the problem. Example: Pass Raw field to a subroutine (shared), receive as Unicode or National, then append a non Raw character to it & return. Runtime error occurs after the return. * FIXED* July 4 engine
  3. Same as above, but on a RECEIVE. Example, pass a Unicode field containing a unicode value, receive a RAW, runtime error is 'Overflow error', probably s/b 'Transcode Error' * FIXED* July 4 engine
  4. Same as 2), but on a RECEIVE with National fields. Example, pass a National field containing a national value, receive a RAW, runtime error is 'Overflow error', probably s/b 'Transcode Error' * FIXED* July 4 engine
 
  1. Does not report transcode errors when a non national character is passed into a national field (ie, pass unicode, receive national). ** Not a bug FAD**
Deleted:
<
<

  -- PeteBrower - 2011-03-17 \ No newline at end of file

Revision 52011-06-02 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="UnicodeTestPlan"

RECEIVE / LOCAL Statements

Line: 23 to 23
 
  1. Transcode errors are reported as 'Overflow Error' at run time. Should probably use the 'Transcode Error' message so the designer has a better idea of the problem. Example: Pass Raw field to a subroutine (shared), receive as Unicode or National, then append a non Raw character to it & return. Runtime error occurs after the return.
  2. Same as above, but on a RECEIVE. Example, pass a Unicode field containing a unicode value, receive a RAW, runtime error is 'Overflow error', probably s/b 'Transcode Error'
  3. Same as 2), but on a RECEIVE with National fields. Example, pass a National field containing a national value, receive a RAW, runtime error is 'Overflow error', probably s/b 'Transcode Error'
Changed:
<
<
  1. Does not report transcode errors when a non national character is passed into a national field (ie, pass unicode, receive national).
>
>
  1. Does not report transcode errors when a non national character is passed into a national field (ie, pass unicode, receive national). ** Not a bug FAD**
 

-- PeteBrower - 2011-03-17

Revision 42011-04-20 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="UnicodeTestPlan"

RECEIVE / LOCAL Statements

Line: 16 to 16
 
  1. Test National to National
  2. Test Unicode to National and back (with/without transcode error)
  3. Test Truncation & padding
Changed:
<
<
  1. Test all encoding to see if they act as a RESTORE (DEFAULT VALUE).
>
>
  1. Test all encoding to see if they act as a RESTORE (DEFAULT VALUE). * They do not, but they don't under previous versions either *
 

Bugs

  1. Assign a value like 10. to --- X, and PASS that into a subroutine (shared). RECEIVE it as a National or Unicode field type, and append a one to the string, then exit. After the subroutine returns, --- X will contain 101.000000000000. Note all the trailing zeros, this doesn't happen under 5.0.3, or if you use a Raw type field. If you PASS --- X again into a National or Unicode field, it will receive all the trailing zeroes and the string will contain 101.000000000000 instead of just 101.
Changed:
<
<
>
>
  1. Transcode errors are reported as 'Overflow Error' at run time. Should probably use the 'Transcode Error' message so the designer has a better idea of the problem. Example: Pass Raw field to a subroutine (shared), receive as Unicode or National, then append a non Raw character to it & return. Runtime error occurs after the return.
  2. Same as above, but on a RECEIVE. Example, pass a Unicode field containing a unicode value, receive a RAW, runtime error is 'Overflow error', probably s/b 'Transcode Error'
  3. Same as 2), but on a RECEIVE with National fields. Example, pass a National field containing a national value, receive a RAW, runtime error is 'Overflow error', probably s/b 'Transcode Error'
  4. Does not report transcode errors when a non national character is passed into a national field (ie, pass unicode, receive national).

  -- PeteBrower - 2011-03-17 \ No newline at end of file

Revision 32011-04-20 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="UnicodeTestPlan"

RECEIVE / LOCAL Statements

Line: 19 to 19
 
  1. Test all encoding to see if they act as a RESTORE (DEFAULT VALUE).

Bugs

Changed:
<
<
  1. Assign a value like 100. to --- X, and PASS that into a subroutine (shared). RECEIVE it as a National or Unicode field type, and append a one to the string, then exit. After the subroutine returns, --- X will contain 101.000000000000. Note all the trailing zeros, this doesn't happen under 5.0.3, or if you use a Raw type field. If you PASS --- X again into a National or Unicode field, it will receive all the trailing zeroes and the string will contain 101.000000000000 instead of just 101.
>
>
  1. Assign a value like 10. to --- X, and PASS that into a subroutine (shared). RECEIVE it as a National or Unicode field type, and append a one to the string, then exit. After the subroutine returns, --- X will contain 101.000000000000. Note all the trailing zeros, this doesn't happen under 5.0.3, or if you use a Raw type field. If you PASS --- X again into a National or Unicode field, it will receive all the trailing zeroes and the string will contain 101.000000000000 instead of just 101.
 

-- PeteBrower - 2011-03-17 \ No newline at end of file

Revision 22011-04-19 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="UnicodeTestPlan"

RECEIVE / LOCAL Statements

Line: 9 to 9
  LOCAL statements should follow the same rules as defined for a RESTORE (DEFAULT VALUE) statement.

Test Plan

Changed:
<
<
Test all SET combinations of PASSED and RECEIVED fields.

Test all encoding to see if they act as a RESTORE (DEFAULT VALUE).

>
>
  1. For each of the types (Date, Format, Logic, Numeric, Text, Token), perform 4 tests: PASS from type into Unicode, PASS from type into National, PASS from Unicode into type, PASS from National into type.
  2. Test Raw to National and back (with/without transcode error)
  3. Test Raw to Unicode and back (with/without transcode error)
  4. Test Unicode to Unicode
  5. Test National to National
  6. Test Unicode to National and back (with/without transcode error)
  7. Test Truncation & padding
  8. Test all encoding to see if they act as a RESTORE (DEFAULT VALUE).
 

Bugs

Added:
>
>
  1. Assign a value like 100. to --- X, and PASS that into a subroutine (shared). RECEIVE it as a National or Unicode field type, and append a one to the string, then exit. After the subroutine returns, --- X will contain 101.000000000000. Note all the trailing zeros, this doesn't happen under 5.0.3, or if you use a Raw type field. If you PASS --- X again into a National or Unicode field, it will receive all the trailing zeroes and the string will contain 101.000000000000 instead of just 101.
 -- PeteBrower - 2011-03-17

Revision 12011-03-17 - PeteBrower

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="UnicodeTestPlan"

RECEIVE / LOCAL Statements

Overview

RECEIVE statements should follow the same rules as defined for a SET statement.

LOCAL statements should follow the same rules as defined for a RESTORE (DEFAULT VALUE) statement.

Test Plan

Test all SET combinations of PASSED and RECEIVED fields.

Test all encoding to see if they act as a RESTORE (DEFAULT VALUE).

Bugs

-- PeteBrower - 2011-03-17

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback