ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53383] New: assertResourceExists fails for URL
Date Fri, 08 Jun 2012 07:47:04 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53383

          Priority: P2
            Bug ID: 53383
          Assignee: notifications@ant.apache.org
           Summary: assertResourceExists fails for URL
          Severity: minor
    Classification: Unclassified
                OS: Windows XP
          Reporter: pascal.schumacher@t-systems.com
          Hardware: PC
            Status: NEW
           Version: 1.8.4
         Component: AntUnit
           Product: Ant

Using assertResourceExists does not work for URLs:

"<au:assertResourceExists resource="http://ant.apache.org/index.html"/>

BUILD FAILED
D:\development\eclipse-projects\AntUnitTest\build.xml:6: Expected 
resource 'http://ant.apache.org/index.html' to exist"

According to the AntUnit 1.2 documentation;

"assertResourceExists
Asserts that a given resource exists. This is a generalization of 
assertFileExists and allows to test for arbitrary resources."

this should be possible.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message