Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3447

convention plugin has no testcases

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.8
    • Fix Version/s: Future
    • Component/s: Plugin - Convention
    • Labels:
      None
    • Environment:

      All

    • Flags:
      Important

      Description

      There are currently no testcases for convention plugin there is no way to verify if convention-plugin actually works ..we need pass/fail testcases for all of constant parameters from struts-plugin.xml

      <constant name="struts.convention.actionConfigBuilder" value="convention"/>
      <constant name="struts.convention.actionNameBuilder" value="convention"/>
      <constant name="struts.convention.resultMapBuilder" value="convention"/>
      <constant name="struts.convention.interceptorMapBuilder" value="convention"/>
      <constant name="struts.convention.conventionsService" value="convention"/>

      <constant name="struts.convention.result.path" value="/WEB-INF/content/"/>
      <constant name="struts.convention.result.flatLayout" value="true"/>
      <constant name="struts.convention.action.suffix" value="Action"/>
      <constant name="struts.convention.action.disableScanning" value="false"/>
      <constant name="struts.convention.action.mapAllMatches" value="false"/>
      <constant name="struts.convention.action.checkImplementsAction" value="true"/>
      <constant name="struts.convention.default.parent.package" value="convention-default"/>
      <constant name="struts.convention.action.name.lowercase" value="true"/>
      <constant name="struts.convention.action.name.separator" value="-"/>
      <constant name="struts.convention.package.locators" value="action,actions,struts,struts2"/>
      <constant name="struts.convention.package.locators.disable" value="false"/>
      <constant name="struts.convention.package.locators.basePackage" value=""/>
      <constant name="struts.convention.exclude.packages" value="org.apache.struts.,org.apache.struts2.,org.springframework.web.struts.,org.springframework.web.struts2.,org.hibernate.*"/>
      <constant name="struts.convention.relative.result.types" value="dispatcher,velocity,freemarker"/>
      <constant name="struts.convention.redirect.to.slash" value="true"/>
      <constant name="struts.convention.action.alwaysMapExecute" value="true"/>
      <constant name="struts.mapper.alwaysSelectFullNamespace" value="true"/>
      <!-- <constant name="struts.convention.action.includeJars" /> -->
      <constant name="struts.convention.action.fileProtocols" value="jar" />

      <constant name="struts.convention.classes.reload" value="false" />

      <constant name="struts.convention.exclude.parentClassLoader" value="true" />

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mgainty@hotmail.com Martin Gainty
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified