[Ironruby-core] Code Review: Partial1

Tomas Matousek Tomas.Matousek at microsoft.com
Wed Jun 11 18:01:20 EDT 2008


tfpt review "/shelveset:Partial1;REDMOND\tomat"



  Adds /partial mode to IronRuby unit tests. If specified, the harness will run tests in an app-domain that has restricted permissions.



  Simple DLR changes:

  Snippet assembly needs to be marked by SecurityTransparent attribute in order to work in partial trust.

  Fixed TestAst - a handful of types were declared private yet referenced from generated code.



  Ruby changes:

  IronRuby assemblies were missing SecurityTransparent and AllowPartiallyTrustedCallers attributes.

  Few tests access files, so they need to be excluded in partial trust.

  Methods invoked via reflection need to be public.



Tomas


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080611/5bf3729e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Partial1.diff
Type: application/octet-stream
Size: 26705 bytes
Desc: Partial1.diff
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080611/5bf3729e/attachment-0001.obj>


More information about the Ironruby-core mailing list