<commit_before><?php
//$Id: ActiveButtonTestCase.php 1405 2006-09-10 01:03:56Z wei $
class ActiveCustomValidatorTestCase extends SeleniumTestCase
{
	function test ()
	{
		$this->open("../../demos/quickstart/index.php?page=ActiveControls.Samples.TActiveCustomValidator.Home&amp;notheme=true&amp;lang=en");

		$this->verifyTitle("PRADO QuickStart Sample", "");

		$this->assertTextPresent('TActiveCustomValidator Samples (AJAX)');

		$base = 'ctl0_body_';

		$this->assertNotVisible($base.'validator1');
		$this->click($base.'button1');
		$this->pause(800);
		$this->assertVisible($base.'validator1');

		$this->type($base.'textbox1', 'hello');
		$this->pause(800);
		$this->assertVisible($base.'validator1');

		$this->type($base.'textbox1', 'Prado');
		$this->pause(800);
		$this->assertNotVisible($base.'validator1');

		$this->clickAndWait($base.'button1');
		$this->assertNotVisible($base.'validator1');
	}
}

?><commit_msg>Update ActiveCustomValidator test case to support the new behavior due to the fix of #91<commit_after><?php
//$Id: ActiveButtonTestCase.php 1405 2006-09-10 01:03:56Z wei $
class ActiveCustomValidatorTestCase extends SeleniumTestCase
{
	function test ()
	{
		$this->open("../../demos/quickstart/index.php?page=ActiveControls.Samples.TActiveCustomValidator.Home&amp;notheme=true&amp;lang=en");

		$this->verifyTitle("PRADO QuickStart Sample", "");

		$this->assertTextPresent('TActiveCustomValidator Samples (AJAX)');

		$base = 'ctl0_body_';

		$this->assertNotVisible($base.'validator1');
		$this->click($base.'button1');
		$this->pause(800);
		$this->assertVisible($base.'validator1');

		$this->type($base.'textbox1', 'hello');
		$this->pause(800);
		$this->assertVisible($base.'validator1');

		$this->type($base.'textbox1', 'Prado');
		$this->pause(800);
		$this->assertVisible($base.'validator1');

		$this->click($base.'button1');
		$this->pause(800);
		$this->assertNotVisible($base.'validator1');
	}
}

?>
{'fraction_non_alphanumeric': 0.20051546391752578, 'fraction_numerical': 0.040721649484536084, 'mean_word_length': 6.058181818181819, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 36, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '143287', 'n_tokens_mistral': 740, 'n_tokens_neox': 657, 'n_words': 87}