Cargo
  1. Cargo
  2. CARGO-186

Testcases testSetConfigDir and testSetHomeDir fail on windows

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.7
    • Fix Version/s: 0.1-intellijidea
    • Component/s: None
    • Labels:
      None
    • Environment:
      Win XP, jdk 1.4.2
    • Number of attachments :
      0

      Description

      [junit] Testcase: testSetConfigDir took 0,157 sec
      [junit] FAILED
      [junit] expected:<...\> but was:<...>
      [junit] junit.framework.ComparisonFailure: expected:<...\> but was:<...>
      [junit] at org.codehaus.cargo.intellijidea.CargoConfigurationEditorTest.testSetConfigDir(CargoConfigurationEditorTest.java:93)
      [junit]

      <SNIPPPP>

      [junit] Testcase: testSetHomeDir took 0 sec
      [junit] FAILED
      [junit] expected:</> but was:<C:\>
      [junit] junit.framework.ComparisonFailure: expected:</> but was:<C:\>
      [junit] at org.codehaus.cargo.intellijidea.CargoContainerEditorTest.testSetHomeDir(CargoContainerEditorTest.java:100)
      [junit]
      [junit] [ERROR] Test org.codehaus.cargo.intellijidea.CargoContainerEditorTest FAILED

        Activity

        Hide
        Arnaud Heritier added a comment -

        The problem with testSetConfigDir is that there's an ending \ to the directory path. I don't know if the code or the test must be changed

        Show
        Arnaud Heritier added a comment - The problem with testSetConfigDir is that there's an ending \ to the directory path. I don't know if the code or the test must be changed
        Hide
        Vincent Massol added a comment -

        Reopening to change the 'fix for' version

        Show
        Vincent Massol added a comment - Reopening to change the 'fix for' version
        Hide
        Vincent Massol added a comment -

        'Fix for' set to 0.1-intellijidea

        Show
        Vincent Massol added a comment - 'Fix for' set to 0.1-intellijidea

          People

          • Assignee:
            Hendrik Schreiber
            Reporter:
            Arnaud Heritier
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: