Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ScriptService: add getScript(String,String) signature#390

Open
imagejan wants to merge 1 commit intomaster from
scriptinfo-from-string
Open

ScriptService: add getScript(String,String) signature #390
imagejan wants to merge 1 commit intomaster from
scriptinfo-from-string

Conversation

@imagejan
Copy link
Member

@imagejan imagejan commented Jun 19, 2020

This makes it easier to retrieve a ScriptInfo object from a script string (without going via File).

Closes #389.

Copy link
Member Author

I refactored ScriptServiceTest a bit to initialize the Context in a @Before method, and dispose it @After the tests.

@ctrueden what do you think about the re-use of the ScriptLanguage from ScriptInfoTest$BindingSizes? Should we instead make BindingSizes its own class within the tests? There are actually two nested ScriptLanguage implementations in the tests currently: ScriptInfoTest$BindingSizes and ScriptEngineTest$Rot13.

This makes it easier to retrieve a ScriptInfo object from a script string (without going via File).
Closes #389.
@ctrueden ctrueden force-pushed the master branch 3 times, most recently from 53b6733 to 3dc99c9 Compare November 7, 2023 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Add convenience method to retrieve ScriptInfo/ModuleInfo from script

1 participant

AltStyle によって変換されたページ (->オリジナル) /