Conflicts: sourceforge, gforge-cvs, gforge-common (<< ${source:Version}), gforge
Replaces: gforge
Provides: gforge
-Depends: debconf (>= 1.0.32) | debconf-2.0, ucf, gforge-common (=${source:Version}), gforge-web-apache2 | gforge-web, gforge-web-apache2-vhosts, gforge-db-postgresql | gforge-db, gforge-mta-exim4 | gforge-mta, gforge-shell-postgresql | gforge-shell, gforge-lists-mailman | gforge-lists, fusionforge-plugin-contribtracker, fusionforge-plugin-extratabs, fusionforge-plugin-globalsearch, fusionforge-plugin-mediawiki, fusionforge-plugin-projectlabels, fusionforge-plugin-scmarch, fusionforge-plugin-scmbzr, fusionforge-plugin-scmcvs, fusionforge-plugin-scmdarcs, fusionforge-plugin-scmgit, fusionforge-plugin-scmhg, fusionforge-plugin-scmsvn, fusionforge-plugin-blocks, fusionforge-plugin-hudson, fusionforge-plugin-oslc, ${misc:Depends}
+Depends: debconf (>= 1.0.32) | debconf-2.0, ucf, gforge-common (=${source:Version}), gforge-web-apache2 | gforge-web, gforge-web-apache2-vhosts, gforge-db-postgresql | gforge-db, gforge-mta-exim4 | gforge-mta, gforge-shell-postgresql | gforge-shell, gforge-lists-mailman | gforge-lists, fusionforge-plugin-contribtracker, fusionforge-plugin-extratabs, fusionforge-plugin-globalsearch, fusionforge-plugin-mediawiki, fusionforge-plugin-moinmoin, fusionforge-plugin-projectlabels, fusionforge-plugin-scmarch, fusionforge-plugin-scmbzr, fusionforge-plugin-scmcvs, fusionforge-plugin-scmdarcs, fusionforge-plugin-scmgit, fusionforge-plugin-scmhg, fusionforge-plugin-scmsvn, fusionforge-plugin-blocks, fusionforge-plugin-hudson, fusionforge-plugin-oslc, ${misc:Depends}
Description: FusionForge collaborative development tool - full metapackage
FusionForge provides many tools to aid collaboration in a
development project, such as bug-tracking, task management,
Conflicts: sourceforge, @OLDPACKAGE@-cvs, @OLDPACKAGE@-common (<< ${source:Version}), @OLDPACKAGE@
Replaces: @OLDPACKAGE@
Provides: @OLDPACKAGE@
-Depends: debconf (>= 1.0.32) | debconf-2.0, ucf, @OLDPACKAGE@-common (=${source:Version}), @OLDPACKAGE@-web-apache2 | @OLDPACKAGE@-web, @OLDPACKAGE@-web-apache2-vhosts, @OLDPACKAGE@-db-postgresql | @OLDPACKAGE@-db, @OLDPACKAGE@-mta-exim4 | @OLDPACKAGE@-mta, @OLDPACKAGE@-shell-postgresql | @OLDPACKAGE@-shell, @OLDPACKAGE@-lists-mailman | @OLDPACKAGE@-lists, @PACKAGE@-plugin-contribtracker, @PACKAGE@-plugin-extratabs, @PACKAGE@-plugin-globalsearch, @PACKAGE@-plugin-mediawiki, @PACKAGE@-plugin-projectlabels, @PACKAGE@-plugin-scmarch, @PACKAGE@-plugin-scmbzr, @PACKAGE@-plugin-scmcvs, @PACKAGE@-plugin-scmdarcs, @PACKAGE@-plugin-scmgit, @PACKAGE@-plugin-scmhg, @PACKAGE@-plugin-scmsvn, @PACKAGE@-plugin-blocks, @PACKAGE@-plugin-hudson, @PACKAGE@-plugin-oslc, ${misc:Depends}
+Depends: debconf (>= 1.0.32) | debconf-2.0, ucf, @OLDPACKAGE@-common (=${source:Version}), @OLDPACKAGE@-web-apache2 | @OLDPACKAGE@-web, @OLDPACKAGE@-web-apache2-vhosts, @OLDPACKAGE@-db-postgresql | @OLDPACKAGE@-db, @OLDPACKAGE@-mta-exim4 | @OLDPACKAGE@-mta, @OLDPACKAGE@-shell-postgresql | @OLDPACKAGE@-shell, @OLDPACKAGE@-lists-mailman | @OLDPACKAGE@-lists, @PACKAGE@-plugin-contribtracker, @PACKAGE@-plugin-extratabs, @PACKAGE@-plugin-globalsearch, @PACKAGE@-plugin-mediawiki, @PACKAGE@-plugin-moinmoin, @PACKAGE@-plugin-projectlabels, @PACKAGE@-plugin-scmarch, @PACKAGE@-plugin-scmbzr, @PACKAGE@-plugin-scmcvs, @PACKAGE@-plugin-scmdarcs, @PACKAGE@-plugin-scmgit, @PACKAGE@-plugin-scmhg, @PACKAGE@-plugin-scmsvn, @PACKAGE@-plugin-blocks, @PACKAGE@-plugin-hudson, @PACKAGE@-plugin-oslc, ${misc:Depends}
Description: FusionForge collaborative development tool - full metapackage
system("chown -R gforge:gforge $project_dir");
$template = "/etc/fusionforge/plugins/moinmoin/PROJECT_NAME.py.tmpl";
system('(echo "# Automatically generated on `date` from '.$template.'";'
- + 'echo "# DO NOT EDIT";'
- + 'sed s/@PROJECT_NAME@/'.$project.'/ < $template) > $wikidata/$project.py');
+ . 'echo "# DO NOT EDIT";'
+ . "sed s/@PROJECT_NAME@/$project/ < $template) > $wikidata/$project.py");
$need_reload = true;
}
$suite->addTestFiles(glob("func/Forums/*Test.php"));
$suite->addTestFiles(glob("func/News/*Test.php"));
$suite->addTestFiles(glob("func/PluginsBlocks/*Test.php"));
+ $suite->addTestFiles(glob("func/PluginsMoinMoin/*Test.php"));
$suite->addTestFiles(glob("func/RBAC/*Test.php"));
$suite->addTestFiles(glob("func/Surveys/*Test.php"));
$suite->addTestFiles(glob("func/Search/*Test.php"));
--- /dev/null
+<?php
+/*
+ * Copyright 2012, Roland Mas
+ *
+ * This file is part of FusionForge.
+ *
+ * FusionForge is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published
+ * by the Free Software Foundation; either version 2 of the License,
+ * or (at your option) any later version.
+ *
+ * FusionForge is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+require_once dirname(dirname(__FILE__)).'/Testing/SeleniumGforge.php';
+
+class PluginMoinMoin extends FForge_SeleniumTestCase
+{
+ protected $alreadyActive = 0;
+
+ function testMoinMoin()
+ {
+ $this->populateStandardTemplate('empty');
+ $this->init();
+
+ $this->click("link=Admin");
+ $this->waitForPageToLoad("30000");
+ $this->click("link=Tools");
+ $this->waitForPageToLoad("30000");
+ $this->click("use_moinmoin");
+ $this->click("submit");
+ $this->waitForPageToLoad("30000");
+ $this->assertTrue($this->isTextPresent("Project information updated"));
+
+ $this->cron_for_plugin("create-wikis.php", "moinmoin");
+ sleep (5);
+
+ $this->gotoProject('ProjectA');
+ $this->click("link=MoinMoinWiki");
+ sleep (10); // No <h1> in MoinMoin's default layout, so waitForPageToLoad() doesn't work
+ $this->assertFalse($this->isTextPresent("ConfigurationError"));
+ }
+}
+
+// Local Variables:
+// mode: php
+// c-file-style: "bsd"
+// End:
class TopTester extends FForge_SeleniumTestCase
{
- function testWalkInTop()
+ function skiptestWalkInTop()
{
- $this->cron("project_weekly_metric.php");
-
$this->populateStandardTemplate('forums');
$this->init();
$this->clickAndWait("link=[View Other Top Categories]");
$this->clickAndWait("link=Top Downloads");
$this->assertTextPresent("Rank");
-
-
- $this->cron("project_weekly_metric.php");
}
}