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
Purpose: Asserts that a folder exists.
@throws AssertionFailedError Error thrown if the file does not exist



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