From 0c8da1b9e4a2def6d36c0c83c3dde6d019398280 Mon Sep 17 00:00:00 2001
From: Cristiano Magro <cristiano.magro@vola.it>
Date: Tue, 16 Jan 2018 19:15:15 +0100
Subject: [PATCH] Refactor decodifico il path dalla mappa e dalla request
---
tests/SetupUploadTest.php | 29 +++++++++++++++++++----------
1 files changed, 19 insertions(+), 10 deletions(-)
diff --git a/tests/SetupUploadTest.php b/tests/SetupUploadTest.php
index 7ca6c4d..930681e 100644
--- a/tests/SetupUploadTest.php
+++ b/tests/SetupUploadTest.php
@@ -1,5 +1,7 @@
<?php
+
+
/**
* Implementazione dei test per la classe SetupUpload
*
@@ -8,7 +10,7 @@
class SetupUploadTest extends PHPUnit_Framework_TestCase {
/**
- * @var $object SetupUpload
+ * @var $object SetupUpload
*/
protected $object;
@@ -25,15 +27,16 @@
* This method is called after a test is executed.
*/
protected function tearDown() {
-
+
}
public static function setUpBeforeClass() {
-
+
}
/**
* Conversione di una stringa nel corrispondente valore di byte
+ *
* @since 0.3.0
*/
public function test_str2Bytes() {
@@ -61,11 +64,12 @@
}
/**
- * Conversione di una stringa nel corrispondente valore di byte, stringhe
+ * Conversione di una stringa nel corrispondente valore di byte, stringhe
* non convertibili devono andare in errore
- * @since 0.3.1
+ *
+ * @since 0.3.1
* @expectedException Upload_Exc_Error
- * @dataProvider getBytesStringNotValid
+ * @dataProvider getBytesStringNotValid
*/
public function test_str2BytesNonValido($byteString) {
SetupUpload::str2Bytes($byteString);
@@ -82,6 +86,7 @@
/**
* La coda non inizializzata prevede un numero minimo di files
+ *
* @since 0.3.1
*/
public function testDefaultValue() {
@@ -89,10 +94,11 @@
}
/**
- * Gestione di valori non adeguati
- * @since 0.3.1
+ * Gestione di valori non adeguati
+ *
+ * @since 0.3.1
* @expectedException Upload_Exc_Error
- * @dataProvider getNumMaxFilesException
+ * @dataProvider getNumMaxFilesException
*/
public function testNotValidNumMaxFilesGetException($num) {
$this->object->setNumMaxFiles($num);
@@ -109,7 +115,8 @@
/**
* Caselle della coda valide
- * @since 0.3.1
+ *
+ * @since 0.3.1
* @dataProvider getSomeMaxFiles
*/
public function testSomeValidMaxFiles($num) {
@@ -128,6 +135,7 @@
/**
* Impostazioni delle dimensioni massime del totale caricabile
+ *
* @since 0.3.1
*/
public function testSetSizeMaxFilesByte() {
@@ -143,6 +151,7 @@
/**
* Impostazioni delle dimensioni massime di un file
+ *
* @since 0.3.1
*/
public function testSetSizeLimitFile() {
--
Gitblit v1.8.0