search

goog.testing.fs.DirectoryEntry

Provided By
Extends
All Implemented Interfaces

A mock directory entry object.

new DirectoryEntry( fs, parent, name, children )

Parameters
fsgoog.testing.fs.FileSystem

The filesystem containing this entry.

parent(goog.testing.fs.DirectoryEntry|null)

The directory entry directly containing this entry. If this is null, that means this is the root directory and so is its own parent.

namestring

The name of this entry.

childrenObject<?, goog.testing.fs.Entry>

The map of child names to entry objects.

Instance Methods

Instance Properties