The Artima Developer Community
Sponsored Link

SuiteRunner Forum
Invoker

2 replies on 1 page. Most recent reply: Apr 23, 2003 2:32 AM by Adam Duffy

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Adam Duffy

Posts: 168
Nickname: adamduffy
Registered: Feb, 2003

Invoker Posted: Apr 11, 2003 3:24 AM
Reply to this message Reply
Advertisement
I'm wondering if the org.suiterunner.Invoker class could be useful for me. The comments at the top of the class refer to a link http://www.artima.com/suiterunner/invoker.html

Checking the link reveals a page not found. I realise that this is future functionality. I'm curious if the article mentioned exists or has it yet to be written?

Thanks
Adam


Bill Venners

Posts: 2284
Nickname: bv
Registered: Jan, 2002

Re: Invoker Posted: Apr 19, 2003 3:39 AM
Reply to this message Reply
Invoker was our first attempt at enabling the testing of private methods, but I since learned a better way from Vladimir Bossicard. Invoker was in the public API, but right before the first public release I made it package access, because I wasn't sure it was the right way to do private method testing, and I didn't have time to document it. Turns out it wasn't the right way to do it. So invoker may disappear entirely in a future release (this is a package access type), or I may still use it to implement private method testing, but in a slightly different way than originally envisioned.

One thing I'm concerned about with the execution of private methods is that it could open up a security hole in someone's software if they distribute suiterunner.jar in their war file, for example.

Adam Duffy

Posts: 168
Nickname: adamduffy
Registered: Feb, 2003

Re: Invoker Posted: Apr 23, 2003 2:32 AM
Reply to this message Reply
Thanks for the explanation Bill.

I look forward to seeing the solution to the problem of testing of private methods in later SuiteRunner releases.

Adam

Flat View: This topic has 2 replies on 1 page
Topic: Embeddable Runner Previous Topic   Next Topic Topic: Suites for Suites

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use