1<?php 2 3/** 4 * Check that b|c|v is specified 5 * 6 */ 7class gtIsSpecifiedTestType extends gtPreCondition { 8 9 public function check( $clo) { 10 if($clo->hasOption('b') || $clo->hasOption('e') || $clo->hasOption('v') ) { 11 12 return true; 13 } 14 return false; 15 } 16 17 public function getMessage() { 18 return gtText::get('testTypeNotSpecified'); 19 } 20} 21?> 22