Bug 298293 - [backend] write tests for varargs
Summary: [backend] write tests for varargs
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: b3 (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-21 07:42 EST by Henrik Lindberg CLA
Modified: 2017-09-13 11:52 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Lindberg CLA 2009-12-21 07:42:40 EST
current b3 tests do not test functions with varargs (more than by chance that something happens to be declared with varargs).

The following is needed

- function with only varargs, test with 0, 1, and > 1 values
- function with 1 parameter, and varargs, test with 0,1, and >1 vararg values
- function with > 1 parameter, and varargs, test with 0,1, and > 1 vararg values

Test calling:
- java function
- b3 system function
- function defined in b3
- use null values as arguments in all positions