Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363358

Summary: Exception on stringLib.getNextToken
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Project Inbox <edt.javascriptgen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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.