[Fusionforge-commits] r9763 - in trunk: gforge/plugins/blocks/www tests/func/PluginsBlocks

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Thu May 20 21:50:36 CEST 2010


Author: aljeux
Date: 2010-05-20 21:50:36 +0200 (Thu, 20 May 2010)
New Revision: 9763

Modified:
   trunk/gforge/plugins/blocks/www/index.php
   trunk/tests/func/PluginsBlocks/blocksTest.php
Log:
Block "summary_right" commented, conflict with the new widgets system, block to be reworked and maybe provided as a widget

Modified: trunk/gforge/plugins/blocks/www/index.php
===================================================================
--- trunk/gforge/plugins/blocks/www/index.php	2010-05-20 15:44:02 UTC (rev 9762)
+++ trunk/gforge/plugins/blocks/www/index.php	2010-05-20 19:50:36 UTC (rev 9763)
@@ -58,8 +58,9 @@
 	$blocks = array(
 		'summary_description' => 
 			_("Block to replace the default project description with an enhanced one."),
-		'summary_right' => 
-			_("Block in the summary page (right)"),
+//	To be reworked to play nice with the widgets page.
+//		'summary_right' => 
+//			_("Block in the summary page (right)"),
 		'request_join' => 
 			_("Block to list informations requested to ask to join a project"),
 	);

Modified: trunk/tests/func/PluginsBlocks/blocksTest.php
===================================================================
--- trunk/tests/func/PluginsBlocks/blocksTest.php	2010-05-20 15:44:02 UTC (rev 9762)
+++ trunk/tests/func/PluginsBlocks/blocksTest.php	2010-05-20 19:50:36 UTC (rev 9763)
@@ -65,7 +65,7 @@
     $this->click("link=Blocks Admin");
     $this->waitForPageToLoad("30000");
     $this->click("activate[summary_description]");
-    $this->click("activate[summary_right]");
+//    $this->click("activate[summary_right]");
     $this->click("//input[@value='Save Blocks']");
     $this->waitForPageToLoad("30000");
 
@@ -75,17 +75,17 @@
     $this->type("body", "This is my nice block.");
     $this->click("//input[@value='Save']");
     $this->waitForPageToLoad("30000");
-    $this->click("//div[@id='maindiv']/form/table/tbody/tr[2]/td[4]/a");
-    $this->waitForPageToLoad("30000");
-    $this->type("body", "{boxTop Project}\nThis is the summary block.\n{boxBottom}");
-    $this->click("//input[@value='Save']");
-    $this->waitForPageToLoad("30000");
+//    $this->click("//div[@id='maindiv']/form/table/tbody/tr[2]/td[4]/a");
+//    $this->waitForPageToLoad("30000");
+//    $this->type("body", "{boxTop Project}\nThis is the summary block.\n{boxBottom}");
+//    $this->click("//input[@value='Save']");
+//    $this->waitForPageToLoad("30000");
     $this->click("link=Summary");
     $this->waitForPageToLoad("30000");
 //    $this->assertText("//td[@id='main']/table[1]/tbody/tr/td[1]", "This is my nice block.");
 //    $this->assertEquals("This is the summary block.", $this->getText("//td[@id='main']/table[1]/tbody/tr/td[2]/table[1]/tbody/tr[2]/td"));
 	$this->assertTrue($this->isTextPresent("This is my nice block."));
-	$this->assertTrue($this->isTextPresent("This is the summary block."));
+//	$this->assertTrue($this->isTextPresent("This is the summary block."));
   }
   
   private function _activateBlocksPlugin() {




More information about the Fusionforge-commits mailing list