CatapultServer  v0.5.0.1 (Elephant)
validation.UtilsSubdirValidator Class Reference
Inheritance diagram for validation.UtilsSubdirValidator:
Collaboration diagram for validation.UtilsSubdirValidator:

Public Member Functions

def reset (self, path)
 
def check (self, lineNumber, line)
 
def finalize (self)
 
- Public Member Functions inherited from SimpleValidator.SimpleValidator
def __init__ (self, errorReporter)
 

Static Public Member Functions

def formatError (err)
 

Public Attributes

 hasUtils
 
- Public Attributes inherited from SimpleValidator.SimpleValidator
 errorReporter
 
 path
 

Static Public Attributes

string SUITE_NAME = 'UtilsSubdir'
 
string NAME = 'utilsSubdir'
 

Detailed Description

Validates there is no `utils` subdir under tests

Member Function Documentation

◆ check()

def validation.UtilsSubdirValidator.check (   self,
  lineNumber,
  line 
)

◆ finalize()

def validation.UtilsSubdirValidator.finalize (   self)

Reimplemented from SimpleValidator.SimpleValidator.

◆ formatError()

def validation.UtilsSubdirValidator.formatError (   err)
static

◆ reset()

def validation.UtilsSubdirValidator.reset (   self,
  path 
)

Reimplemented from SimpleValidator.SimpleValidator.

Member Data Documentation

◆ hasUtils

validation.UtilsSubdirValidator.hasUtils

◆ NAME

string validation.UtilsSubdirValidator.NAME = 'utilsSubdir'
static

◆ SUITE_NAME

string validation.UtilsSubdirValidator.SUITE_NAME = 'UtilsSubdir'
static

The documentation for this class was generated from the following file: