public boolean eval()

in src/main/org/apache/ant/antunit/ResourceExists.java [72:79]


    public boolean eval() {
        if (resource == null && refid == null) {
            throw new BuildException("You must specify a resource.");
        }
        Resource r = resource != null ? resource : expandRefId();
        log("Checking: " + r, Project.MSG_VERBOSE);
        return r.isExists();
    }