Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363351 - stringLib.format(mySmallInt returns null
Summary: stringLib.format(mySmallInt returns null
Status: CLOSED DUPLICATE of bug 364063
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-09 11:36 EST by broy2 CLA
Modified: 2017-02-23 14:15 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description broy2 CLA 2011-11-09 11:36:17 EST
Use EUNIT to run:

library formatSmallInt	
	mySmallInt smallInt;
	myString string;
    function formatSmallIntTest(){@Test}
    	mySmallInt = 1005;
        myString = stringLib.format(mySmallInt, "$+***,***");
        LogResult.assertStringEqual1( "$+**1,005", myString);
    end	
end

Failed: Expected value = '$+**1,005' Actual value = 'undefined' 

Running debug, the value of myString is null.
Comment 1 broy2 CLA 2011-11-19 10:22:22 EST
Newer defect has more detail.

*** This bug has been marked as a duplicate of bug 364063 ***
Comment 2 broy2 CLA 2011-11-21 17:28:27 EST
Verified in 20111121 build.