Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364087 - Exception outAssignFn is not defined on the stringLib.getNextToken
Summary: Exception outAssignFn is not defined on the stringLib.getNextToken
Status: CLOSED DUPLICATE of bug 363358
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-17 16:57 EST by broy2 CLA
Modified: 2017-02-23 14:17 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-17 16:57:56 EST
Part of api.systemTypes.
Use EUnit to run:

library getNextTokenTest
    result string;
    myInt int = 1;
    myString string;

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

Get: eglx.javascript.JavaScriptObjectException outAssignFn is not defined
on the stringLib.getNextToken.
Comment 1 broy2 CLA 2011-11-19 10:18:34 EST
Duplicate.

*** This bug has been marked as a duplicate of bug 363358 ***
Comment 2 broy2 CLA 2011-11-21 16:06:34 EST
Fixed in 20111121 build.