FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\UI\Api\Test\Models\FolderTest Class Reference

Tests for Folder model. More...

Inheritance diagram for Fossology\UI\Api\Test\Models\FolderTest:
Inheritance graph
Collaboration diagram for Fossology\UI\Api\Test\Models\FolderTest:
Collaboration graph

Public Member Functions

 testDataFormat ()
 
 testSetAndGetId ()
 
 testSetAndGetName ()
 
 testSetAndGetDescription ()
 
 testSetAndGetParent ()
 

Detailed Description

Tests for Folder model.

Definition at line 21 of file FolderTest.php.

Member Function Documentation

◆ testDataFormat()

Fossology\UI\Api\Test\Models\FolderTest::testDataFormat ( )
Test:
  1. Test for keys in Folder model

Definition at line 27 of file FolderTest.php.

◆ testSetAndGetDescription()

Fossology\UI\Api\Test\Models\FolderTest::testSetAndGetDescription ( )

Tests Folder::getDescription() and Folder::setDescription() methods.

This method verifies that the setDescription method correctly updates the folder description, and that the getDescription method returns the correct value.

Definition at line 81 of file FolderTest.php.

◆ testSetAndGetId()

Fossology\UI\Api\Test\Models\FolderTest::testSetAndGetId ( )

Tests Folder::getId() and Folder::setId() methods.

This method verifies that the setId method correctly updates the folder ID, and that the getId method returns the correct value.

Definition at line 55 of file FolderTest.php.

◆ testSetAndGetName()

Fossology\UI\Api\Test\Models\FolderTest::testSetAndGetName ( )

Tests Folder::getName() and Folder::setName() methods.

This method verifies that the setName method correctly updates the folder name, and that the getName method returns the correct value.

Definition at line 68 of file FolderTest.php.

◆ testSetAndGetParent()

Fossology\UI\Api\Test\Models\FolderTest::testSetAndGetParent ( )

Tests Folder::getParent() and Folder::setParent() methods.

This method verifies that the setParent method correctly updates the parent ID, and that the getParent method returns the correct value.

Definition at line 94 of file FolderTest.php.


The documentation for this class was generated from the following file: