From 654a9cae43358c7eecf3b522e9876aa7815e2453 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Mon, 7 Dec 2015 15:57:51 +0100 Subject: Move urls from pradosoft.com to github's project page; drop unmaintained quickstart tutorial translations --- .../active-controls/protected/pages/ActiveHyperLinkTest.page | 2 +- .../active-controls/protected/pages/ActiveHyperLinkTest.php | 4 ++-- .../active-controls/tests/ActiveHyperLinkTestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/HyperLinkTestCase.php | 2 +- tests/FunctionalTests/tickets/protected/pages/Layout.php | 9 +-------- tests/FunctionalTests/tickets/protected/pages/Ticket121.page | 2 +- .../FunctionalTests/tickets/protected/pages/Ticket653/Layout.php | 2 +- tests/FunctionalTests/tickets/tests/Ticket595TestCase.php | 4 ++-- .../FunctionalTests/validators/protected/pages/ImageButton.page | 6 +++--- 9 files changed, 13 insertions(+), 20 deletions(-) (limited to 'tests/FunctionalTests') diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveHyperLinkTest.page b/tests/FunctionalTests/active-controls/protected/pages/ActiveHyperLinkTest.page index 9b149b45..b2aefc3b 100755 --- a/tests/FunctionalTests/active-controls/protected/pages/ActiveHyperLinkTest.page +++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveHyperLinkTest.page @@ -2,7 +2,7 @@

Active HyperLink Test Case

- +
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveHyperLinkTest.php b/tests/FunctionalTests/active-controls/protected/pages/ActiveHyperLinkTest.php index ef3f597e..5ccf2e70 100755 --- a/tests/FunctionalTests/active-controls/protected/pages/ActiveHyperLinkTest.php +++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveHyperLinkTest.php @@ -4,7 +4,7 @@ class ActiveHyperLinkTest extends TPage { function change_text() { - $this->link1->Text = "Pradosoft.com"; + $this->link1->Text = "Prado framework"; } function change_image() @@ -19,6 +19,6 @@ class ActiveHyperLinkTest extends TPage function change_url() { - $this->link1->NavigateUrl = "http://www.xlab6.com"; + $this->link1->NavigateUrl = "http://www.google.com"; } } diff --git a/tests/FunctionalTests/active-controls/tests/ActiveHyperLinkTestCase.php b/tests/FunctionalTests/active-controls/tests/ActiveHyperLinkTestCase.php index f6117b9d..4f8d5730 100755 --- a/tests/FunctionalTests/active-controls/tests/ActiveHyperLinkTestCase.php +++ b/tests/FunctionalTests/active-controls/tests/ActiveHyperLinkTestCase.php @@ -12,6 +12,6 @@ class ActiveHyperLinkTestCase extends PradoGenericSelenium2Test $this->byId("{$base}button1")->click(); $this->pause(800); - $this->assertText("{$base}link1", "Pradosoft.com"); + $this->assertText("{$base}link1", "Prado framework"); } } diff --git a/tests/FunctionalTests/quickstart/Controls/HyperLinkTestCase.php b/tests/FunctionalTests/quickstart/Controls/HyperLinkTestCase.php index 9fdb78bf..1fcb2744 100755 --- a/tests/FunctionalTests/quickstart/Controls/HyperLinkTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/HyperLinkTestCase.php @@ -6,7 +6,7 @@ class QuickstartHyperLinkTestCase extends PradoGenericSelenium2Test { $this->url("../../demos/quickstart/index.php?page=Controls.Samples.THyperLink.Home&notheme=true&lang=en"); $this->assertEquals("PRADO QuickStart Sample", $this->title()); - $this->assertElementPresent("//a[@href=\"http://www.pradosoft.com/\" and @target=\"_blank\"]"); + $this->assertElementPresent("//a[@href=\"https://github.com/pradosoft/prado/\" and @target=\"_blank\"]"); $this->assertSourceContains("Welcome to"); $this->assertSourceContains("Body contents"); $this->assertElementPresent("//a[img/@alt='Hello World']"); diff --git a/tests/FunctionalTests/tickets/protected/pages/Layout.php b/tests/FunctionalTests/tickets/protected/pages/Layout.php index c92cd9c0..7f3ee506 100755 --- a/tests/FunctionalTests/tickets/protected/pages/Layout.php +++ b/tests/FunctionalTests/tickets/protected/pages/Layout.php @@ -10,13 +10,6 @@ class Layout extends TTemplateControl $this->getPage()->setTitle("Verifying $type $num"); $this->ticketlink->setText("Verifying $type $num"); - //TODO New issues will link to https://github.com/pradosoft/prado/issues/{$num} - if(strToLower($type) === 'issue') { - $this->ticketlink->setNavigateUrl("http://code.google.com/p/prado3/issues/detail?id={$num}"); - } - else { - $this->ticketlink->setNavigateUrl("http://trac.pradosoft.com/prado/ticket/{$num}"); - } - + $this->ticketlink->setNavigateUrl("https://github.com/pradosoft/prado/issues/{$num}"); } } diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket121.page b/tests/FunctionalTests/tickets/protected/pages/Ticket121.page index 9c9633d3..ce17726d 100755 --- a/tests/FunctionalTests/tickets/protected/pages/Ticket121.page +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket121.page @@ -1,7 +1,7 @@ diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket653/Layout.php b/tests/FunctionalTests/tickets/protected/pages/Ticket653/Layout.php index 9af5b134..051c39db 100755 --- a/tests/FunctionalTests/tickets/protected/pages/Ticket653/Layout.php +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket653/Layout.php @@ -6,6 +6,6 @@ class Layout extends TTemplateControl { $this->getPage()->setTitle("Verifying Ticket 653"); $this->ticketlink->setText("Verifying Ticket 653"); - $this->ticketlink->setNavigateUrl("http://trac.pradosoft.com/prado/ticket/653"); + $this->ticketlink->setNavigateUrl("#"); } } diff --git a/tests/FunctionalTests/tickets/tests/Ticket595TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket595TestCase.php index 27d57a91..381f0d6e 100755 --- a/tests/FunctionalTests/tickets/tests/Ticket595TestCase.php +++ b/tests/FunctionalTests/tickets/tests/Ticket595TestCase.php @@ -15,7 +15,7 @@ class Ticket595TestCase extends PradoGenericSelenium2Test $this->byId($base.'ctl2')->click(); $this->assertAttribute($base.'A@class','errorclassA'); - $this->type($base.'A', 'test@pradosoft.com'); + $this->type($base.'A', 'test@prado.local'); $this->byId($base.'ctl2')->click(); $this->pause(800); $this->assertAttribute($base.'A@class',''); @@ -29,7 +29,7 @@ class Ticket595TestCase extends PradoGenericSelenium2Test $this->pause(800); $this->assertAttribute($base.'B@class',' errorclassB'); - $this->type($base.'B', 'test@pradosoft.com'); + $this->type($base.'B', 'test@prado.local'); $this->byId($base.'ctl5')->click(); $this->pause(800); $this->assertAttribute($base.'B@class',''); diff --git a/tests/FunctionalTests/validators/protected/pages/ImageButton.page b/tests/FunctionalTests/validators/protected/pages/ImageButton.page index d1fae361..9aa6a375 100755 --- a/tests/FunctionalTests/validators/protected/pages/ImageButton.page +++ b/tests/FunctionalTests/validators/protected/pages/ImageButton.page @@ -6,7 +6,7 @@ Text="Textbox1 required" ControlToValidate="TextBox1" ValidationGroup="Group1" /> - @@ -17,7 +17,7 @@ - @@ -29,7 +29,7 @@ EnableClientScript="false" ControlToValidate="TextBox3" ValidationGroup="Group3" /> - -- cgit v1.2.3