Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363358 - Exception on stringLib.getNextToken
Summary: Exception on stringLib.getNextToken
Status: CLOSED FIXED
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:
: 364087 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-11-09 12:23 EST by broy2 CLA
Modified: 2017-02-23 14:19 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 12:23:48 EST
Use EUNIT to run:

library getNextToken
	result string;
    function getNextToken1(){@Test}
        myString string = "I need tokens$ for the $arcade";
        myInt int = 3;
        try
        result = stringLib.getNextToken(myString, myInt, "$");
        onException(oops AnyException)
        	LogResult.failed("Exception");
        	exit;
        end
        LogResult.assertStringEqual("getNextToken1", "need tokens", result);
    end	
end

Get exception:
eglx.javascript.JavaScriptObjectException outAssignFn is not defined
Comment 1 broy2 CLA 2011-11-19 10:18:34 EST
*** Bug 364087 has been marked as a duplicate of this bug. ***
Comment 2 broy2 CLA 2011-11-21 17:12:42 EST
Fixed in 20111121 build.
Comment 3 broy2 CLA 2011-11-21 17:12:56 EST
Verified.