FOSSology  3.2.0rc1
Open Source License Compliance by Open Source Software
userEditAnyTest.php
1 <?php
2 /***********************************************************
3  Copyright (C) 2008 Hewlett-Packard Development Company, L.P.
4 
5  This program is free software; you can redistribute it and/or
6  modify it under the terms of the GNU General Public License
7  version 2 as published by the Free Software Foundation.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License along
15  with this program; if not, write to the Free Software Foundation, Inc.,
16  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17  ***********************************************************/
18 
28 /*
29  * NOTE: this routine will not work execept on the default user, as the screen uses
30  * javascript to pick the user and fill in the form. Tried to tweak the DOM to see
31  * if it could be worked around... no such luck.
32  *
33  * For now, the tests should not mess with the default user so this will just be a
34  * pass with a message to test by hand.
35  *
36  */
37 require_once ('../../../tests/fossologyTestCase.php');
38 require_once ('../../../tests/TestEnvironment.php');
39 
40 global $URL;
41 
43  public $mybrowser;
44  private $UserName;
45 
46  function setUP() {
47  global $URL;
48  /* for this test this should be fosstester, or a user with admin privledges */
49  $this->Login();
50  }
51 
52  function testEditUser() {
53  global $URL;
54 
55  print "starting userEditAnyTest\n";
56  print "Please test this screen by hand. Simpletest cannot test JavaScript\n";
57  $this->pass();
58  }
59 }
60 
61 ?>
Login($User=NULL, $Password=NULL)