Monitor Min v0.5.7

Show:

FileProbeTest Class

Module: Monitor

Unit tests for the File probe.

Methods

FileProbe

()

Test group for baseline FileProbe functionality

FileProbe-Classes

()

Tests that classes are in correct

FileProbe-Static

()

Tests that public static methods are in place

Probe

()

Test group for File based probe functionality

Probe-Init

()

This tests the File probe initializes properly

Probe-RootPath

()

Tests the ROOT_PATH functionality

Utils

()

Test group for static file/directory utilities

Utils-Mkdir_R

()

Test the mkdir_r utility

Utils-PollingWatcher

()

Tests the polling style file watching mechanism

Utils-Rm_Rf

()

Test the rm_rf utility

Utils-Watch

()

Tests the file watch functionality

Utils-WatchLoad

()

Tests the watchLoad functionality

writeTestFile

(
  • append
  • wait
)
static

Write the test file to disk, with possible appendage

Parameters:

  • append String

    String to append onto the standard test file

  • wait Integer

    Number of milliseconds to wait before writing