ea-Geiertest
[ class tree: ea-Geier ] [ index: ea-Geier ] [ all elements ]

Class: TestValidator

Source Location: /test/simpletest/base/check.class.php

Class TestValidator

Class Overview

tast case for input wrapper

Located in /test/simpletest/base/check.class.php [line 37]

UnitTestCase
   |
   --TestValidator

Methods

[ Top ]
Method Summary
TestValidator   TestValidator()   constructor
void   testAbc()   tests character validator
void   testDSN()   tests dsn validator
void   testIP()   tests ip validator
void   testMail()   tests email-address validator
void   testNum()   tests number validator
void   testTxt()   tests text validator

[ Top ]
Methods
Constructor TestValidator  [line 42]

  TestValidator TestValidator( )

constructor



[ Top ]
testAbc  [line 166]

  void testAbc( )

tests character validator

checks

  • valid string,
  • invalid string,
  • empty



[ Top ]
testDSN  [line 208]

  void testDSN( )

tests dsn validator

checks

  • valid string,
  • invalid string,
  • empty



[ Top ]
testIP  [line 184]

  void testIP( )

tests ip validator

checks

  • valid string,
  • invalid string,
  • empty



[ Top ]
testMail  [line 125]

  void testMail( )

tests email-address validator

checks

  • valid mail,
  • short mail,
  • tags,
  • empty, tags,
  • invalid characters,
  • missing @,
  • multiple @,
  • multiple .,
  • false .,
  • missing user,
  • missing host



[ Top ]
testNum  [line 86]

  void testNum( )

tests number validator

checks

  • integer,
  • float,
  • zero,
  • zero float,
  • comma notation,
  • negative,
  • wrong format



[ Top ]
testTxt  [line 55]

  void testTxt( )

tests text validator

checks

  • text,
  • long text,
  • tags,
  • hidden tags



[ Top ]

Documentation generated on Sun, 09 Sep 2007 17:08:06 +0200 by phpDocumentor 1.3.1