Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-8245

System environment related tests fail on Windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1 M1
    • Fix Version/s: 3.1 M2
    • Component/s: None
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      See also http://blog.springsource.com/2009/03/03/building-spring-3/#comment-192070

          [junit] Testcase: getSystemEnvironment_withAndWithoutSecurityManager(org.spr
      ingframework.core.env.EnvironmentTests):        FAILED
          [junit]
          [junit] Expected: "42"
          [junit]      got: null
          [junit]
          [junit] junit.framework.AssertionFailedError:
          [junit] Expected: "42"
          [junit]      got: null
          [junit]
          [junit] Expected: "42"
          [junit]      got: null
          [junit]
          [junit]     at org.springframework.core.env.EnvironmentTests.getSystemEnviro
      nment_withAndWithoutSecurityManager(EnvironmentTests.java:263)
      
      from the JUnit XML report:
      
      
        <testcase classname="org.springframework.core.env.EnvironmentTests" name="getSystemProperties_withAndWithoutSecurityManager" time="0.022" />
        <testcase classname="org.springframework.core.env.EnvironmentTests" name="getSystemEnvironment_withAndWithoutSecurityManager" time="0.01">
          <failure message="
      Expected: &quot;42&quot;
           got: null
      " type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: 
      Expected: &quot;42&quot;
           got: null
      
      Expected: &quot;42&quot;
           got: null
      
      	at org.springframework.core.env.EnvironmentTests.getSystemEnvironment_withAndWithoutSecurityManager(EnvironmentTests.java:263)
      </failure>
      

        Attachments

          Activity

            People

            • Assignee:
              cbeams Chris Beams
              Reporter:
              costin Costin Leau
              Last updater:
              Trevor Marshall
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 3 weeks, 5 days ago