create internalsVisibleTo parameter list for the compiler plugin
----------------------------------------------------------------

                 Key: NPANDAY-529
                 URL: https://issues.apache.org/jira/browse/NPANDAY-529
             Project: NPanday
          Issue Type: Bug
          Components: Maven Plugins
    Affects Versions: 1.4-incubating
            Reporter: Matthias Weßendorf
            Assignee: Matthias Weßendorf


Sometimes it is needed to "expose" internal interfaces (for mocking/testing)

NMock is not allowing to create mocks out of internal interfaces:


In order archive it, we need to have the following on the AssemblyInfo.cs file
{code}
[assembly: InternalsVisibleTo("Mocks")]
[assembly: InternalsVisibleTo("MockObjects")]
{code}

However, since this is not always needed, it should be a parameter list in the 
pom.xml config section

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to