| | |
| | | [['fasullo'], '[]'], |
| | | [['gif'], '[{"title":"Image files","extensions":"gif"}]'], |
| | | [['doc'], '[{"title":"Documenti","extensions":"doc"}]'], |
| | | [['DOC'], '[{"title":"Documenti","extensions":"doc"}]'], |
| | | [['DOc', 'gif'],'[{"title":"Documenti","extensions":"doc"},{"title":"Image files","extensions":"gif"}]'], |
| | | [['DOC'], '[{"title":"Documenti","extensions":"DOC"}]'], |
| | | [['txt'], '[{"title":"Documenti","extensions":"txt"}]'], |
| | | [['DOc', 'gif'],'[{"title":"Documenti","extensions":"DOc"},{"title":"Image files","extensions":"gif"}]'], |
| | | ]; |
| | | } |
| | | |
| | | |
| | | public function testDecodeTitolo() |
| | | { |
| | | $atteso = "Documenti"; |
| | | |
| | | $this->assertEquals($atteso, $this->object->decodeTitolo('Doc')); |
| | | $this->assertEquals($atteso, $this->object->decodeTitolo('doc')); |
| | | } |
| | | |
| | | } |