FOSSology  4.4.0
Open Source License Compliance by Open Source Software
BasicSetup.php
1 <?php
2 /*
3  SPDX-FileCopyrightText: © 2008 Hewlett-Packard Development Company, L.P.
4 
5  SPDX-License-Identifier: GPL-2.0-only
6 */
7 
16 require_once ('../../../tests/fossologyTest.php');
17 require_once ('../../../tests/fossologyTestCase.php');
18 require_once ('../../../tests/TestEnvironment.php');
19 
20 /* every test must use these globals, at least $URL */
21 global $URL;
22 
24 {
25  public $folder_name;
26  public $mybrowser;
27 
28  function setUp()
29  {
30  global $URL;
31  $this->Login();
32  }
33 
34  function testBasicFolder()
35  {
36  global $URL;
37 
38  print "starting BasicFoldertest\n";
39  $this->createFolder(null, 'Basic-Testing', null);
40  }
41 }
createFolder($parent, $name, $description=null)
Login($User=NULL, $Password=NULL)