Powered by Zoomin Software. For more details please contactZoomin

OpenEdge ABL API Reference

OpenEdge.Core.Assertion.AssertFile

  • Last Updated: January 15, 2026
  • 1 minute read
    • OpenEdge
    • Documentation
Namespace: OpenEdge.Core.Assertion
Type: Class AssertFile
Parent Classes:
Progress.Lang.Object

Inherits: Progress.Lang.Object


Copyright (c) 2014, 2016, 2021 by Progress Software Corporation. All rights reserved.
File:AssertFile
Purpose:Assertions specific to files
Author(s):psajja
Created:Tue Dec 16 11:25:36 IST 2014



Method Summary
  Options Name Purpose
  DirectoryDoesNotExist (character)
  DirectoryExists (character) /** Asserts that a folder exists. @param character The name of the directory being checked @throws AssertionFailedError Error thrown if the file does not exist */
  FileDoesNotExist (character)
  FileExists (character) /** Asserts that a file exists. @param character The name of the file being checked @throws AssertionFailedError Error thrown if the file does not exist */
  FileInPropath (character) /** Asserts that a file exists in propath. @param character The name of the file being checked @throws AssertionFailedError Error thrown if the file does not exist */

Method Detail
Top

DirectoryDoesNotExist (character)

Parameters:
pcName CHARACTER
 
Top

DirectoryExists (character)

Purpose: Asserts that a folder exists.
@throws AssertionFailedError Error thrown if the file does not exist
Parameters:
pcName CHARACTER
 
Top

FileDoesNotExist (character)

Parameters:
fileName CHARACTER
 
Top

FileExists (character)

Purpose: Asserts that a file exists.
@throws AssertionFailedError Error thrown if the file does not exist
Parameters:
fileName CHARACTER
 
Top

FileInPropath (character)

Purpose: Asserts that a file exists in propath.
@throws AssertionFailedError Error thrown if the file does not exist
Parameters:
fileName CHARACTER
 


TitleResults for “How to create a CRG?”Also Available inAlert