Back to index

php5  5.3.10
gtIsSpecifiedTestType.php
Go to the documentation of this file.
00001 <?php
00002 
00007 class gtIsSpecifiedTestType extends gtPreCondition {
00008   
00009   public function check( $clo) {
00010     if($clo->hasOption('b') || $clo->hasOption('e') || $clo->hasOption('v') ) {
00011     
00012         return true;
00013       }
00014     return false;
00015   }
00016   
00017   public function getMessage() {
00018     return gtText::get('testTypeNotSpecified');
00019   }
00020 }
00021 ?>