Skip to content

Test for issue #520#527

Merged
dblock merged 2 commits intojava-native-access:masterfrom
mlfreeman2:master
Nov 2, 2015
Merged

Test for issue #520#527
dblock merged 2 commits intojava-native-access:masterfrom
mlfreeman2:master

Conversation

@mlfreeman2
Copy link
Copy Markdown
Contributor

Per Daniel D's request in the Google Group thread, here's a test for issue #520

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we do something a little smarter than a 30 second wait and a browse to a specific website? Maybe launch it via Win32 API and ShellExecute?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I launched IE via Runtime.getRuntime().exec() because it's not the default browser on any of my systems - ShellExecute would open Chrome or Firefox on them.

If this will run only on boxes with IE as the default then I can adapt it accordingly.

As for the 30 second delay, that was the simplest way to give the page a chance to load. I'll change the target URL to "about:blank" - that should load instantly.

@dblock
Copy link
Copy Markdown
Member

dblock commented Nov 2, 2015

Ok this is good, merging.

dblock added a commit that referenced this pull request Nov 2, 2015
@dblock dblock merged commit a902476 into java-native-access:master Nov 2, 2015
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.

2 participants