FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

ScriptService: add getScript(String,String) signature by imagejan · Pull Request #390 · scijava/scijava-common · GitHub

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

Open
imagejan wants to merge 1 commit into
mainfrom
scriptinfo-from-string
Open

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

Conversation

Copy link
Copy Markdown
Member

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

Closes #389.

Copy link
Copy Markdown
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.

imagejan force-pushed the scriptinfo-from-string branch from 0b2e588 to ab9dad2 Compare September 3, 2020 18:36
imagejan force-pushed the scriptinfo-from-string branch from ab9dad2 to fc00c05 Compare December 18, 2020 19:10
This makes it easier to retrieve a ScriptInfo object from a script string (without going via File).

Closes #389.
imagejan force-pushed the scriptinfo-from-string branch from fc00c05 to 0fc27eb Compare January 19, 2021 19:52
ctrueden force-pushed the master branch 3 times, most recently from 53b6733 to 3dc99c9 Compare November 7, 2023 18:37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add convenience method to retrieve ScriptInfo/ModuleInfo from script

1 participant


Back | FazBrowse Home | New Git URL