Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-4447

A few issues in stubgenerator testing infrastructure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8-beta-2
    • 1.7.6, 1.8-beta-3
    • None
    • None

    Description

      The documentation of org.codehaus.groovy.tools.stubgenerator.StringSourcesStubTestCase says that the source mappings for testing joing compilation stub generation can be given as below:

      ['com/foo/Bar.groovy': '''
          package com.foo
          class Bar {}
      ''']
      

      However this doesn't currently work because the sub-folders for the package structure are not recursively created physically and hence writing to 'com/foo/Bar.groovy' fails with FileNotFoundException.

      Another small improvement needed is an option to not-delete the temp folder created for stubs.

      Attachments

        Activity

          People

            roshandawrani Roshan Dawrani
            roshandawrani Roshan Dawrani
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: