FOSSology  3.2.0rc1
Open Source License Compliance by Open Source Software
BasicSetup.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 
27 require_once ('../../../tests/fossologyTest.php');
28 require_once ('../../../tests/fossologyTestCase.php');
29 require_once ('../../../tests/TestEnvironment.php');
30 
31 /* every test must use these globals, at least $URL */
32 global $URL;
33 
35 {
36  public $folder_name;
37  public $mybrowser;
38 
39  function setUp()
40  {
41  global $URL;
42  $this->Login();
43  }
44 
45  function testBasicFolder()
46  {
47  global $URL;
48 
49  print "starting BasicFoldertest\n";
50  $this->createFolder(null, 'Basic-Testing', null);
51  }
52 }
53 ?>
createFolder($parent=null, $name, $description=null)
Login($User=NULL, $Password=NULL)