![]() |
Documentación GVHIDRA 3.1.5
|
Métodos públicos | |
test__destruct () | |
testGetConfig () | |
testGetCustomDirName () | |
testGetApplicationName () | |
testGetAppVersion () | |
testSetAppVersion () | |
testGetCustomTitle () | |
testSetCustomTitle () | |
testGetLogStatus () | |
testSetLogStatus () | |
testGetQueryMode () | |
testSetQueryMode () | |
testGetTemplatesCompilationDir () | |
testSetTemplatesCompilationDir () | |
testSetDefList () | |
testGetDefList () | |
testGetListKeys () | |
testSetDefVS () | |
testGetDefVS () | |
testGetVSKeys () | |
testSetDSN () | |
testGetDSN () | |
testGetNumericSeparatorsFW () | |
testGetNumericSeparatorsUser () | |
testGetDateMaskFW () | |
testGetDateMaskUser () | |
Métodos protegidos | |
setUp () | |
tearDown () | |
Atributos protegidos | |
$object |
Test class for ConfigFramework. Generated by PHPUnit on 2009-05-12 at 16:51:09.
Definición en la línea 8 del archivo ConfigFrameworkTest.php.
setUp | ( | ) | [protected] |
Sets up the fixture, for example, opens a network connection. This method is called before a test is executed.
protected
Definición en la línea 22 del archivo ConfigFrameworkTest.php.
{ $this->object = ConfigFramework::getConfig(); }
tearDown | ( | ) | [protected] |
Tears down the fixture, for example, closes a network connection. This method is called after a test is executed.
protected
Definición en la línea 33 del archivo ConfigFrameworkTest.php.
{ }
test__destruct | ( | ) |
Definición en la línea 40 del archivo ConfigFrameworkTest.php.
{ // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
testGetApplicationName | ( | ) |
Definición en la línea 70 del archivo ConfigFrameworkTest.php.
{ // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
testGetAppVersion | ( | ) |
Definición en la línea 80 del archivo ConfigFrameworkTest.php.
{ // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
testGetConfig | ( | ) |
Definición en la línea 50 del archivo ConfigFrameworkTest.php.
{ // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
testGetCustomDirName | ( | ) |
Definición en la línea 60 del archivo ConfigFrameworkTest.php.
{ // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
testGetCustomTitle | ( | ) |
Definición en la línea 100 del archivo ConfigFrameworkTest.php.
{ // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
testGetDateMaskFW | ( | ) |
Definición en la línea 273 del archivo ConfigFrameworkTest.php.
{ $masc = ConfigFramework::getDateMaskFW(); $this->assertInternalType('string', $masc); $this->assertFalse(empty($masc),'no tiene valor'); }
testGetDateMaskUser | ( | ) |
Definición en la línea 279 del archivo ConfigFrameworkTest.php.
{ $masc = ConfigFramework::getDateMaskUser(); $this->assertInternalType('string', $masc); $this->assertTrue(!empty($masc),'no tiene valor'); $this->assertEquals(strlen($masc), 5, 'longitud de mascara incorrecta'); $this->assertEquals(substr($masc,1,1), substr($masc,3,1), 'usando dos caracteres separadores'); $letras = array('d','m','Y','j','n'); $this->assertTrue(in_array(substr($masc,0,1),$letras), "no soportado caracter de formato en posicion 1: ".substr($masc,0,1)); $this->assertTrue(in_array(substr($masc,2,1),$letras), "no soportado caracter de formato en posicion 2: ".substr($masc,2,1)); $this->assertTrue(in_array(substr($masc,4,1),$letras), "no soportado caracter de formato en posicion 3: ".substr($masc,4,1)); }
testGetDefList | ( | ) |
Definición en la línea 190 del archivo ConfigFrameworkTest.php.
{ // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
testGetDefVS | ( | ) |
Definición en la línea 220 del archivo ConfigFrameworkTest.php.
{ // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
testGetDSN | ( | ) |
Definición en la línea 250 del archivo ConfigFrameworkTest.php.
{ // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
testGetListKeys | ( | ) |
Definición en la línea 200 del archivo ConfigFrameworkTest.php.
{ // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
testGetLogStatus | ( | ) |
Definición en la línea 120 del archivo ConfigFrameworkTest.php.
{ // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
testGetNumericSeparatorsFW | ( | ) |
Definición en la línea 257 del archivo ConfigFrameworkTest.php.
{ $cars = ConfigFramework::getNumericSeparatorsFW(); $this->assertTrue(array_key_exists('DECIMAL',$cars),'No existe indice DECIMAL'); $this->assertTrue(isset($cars['DECIMAL']) and strlen($cars['DECIMAL'])==1,'valor incorrecto como separador decimal'); $this->assertTrue(array_key_exists('GROUP',$cars),'No existe indice GROUP'); $this->assertTrue(isset($cars['GROUP']),'valor incorrecto como separador de miles'); }
testGetNumericSeparatorsUser | ( | ) |
Definición en la línea 265 del archivo ConfigFrameworkTest.php.
{ $cars = ConfigFramework::getNumericSeparatorsUser(); $this->assertTrue(array_key_exists('DECIMAL',$cars),'No existe indice DECIMAL'); $this->assertTrue(isset($cars['DECIMAL']) and strlen($cars['DECIMAL'])==1,'valor incorrecto como separador decimal'); $this->assertTrue(array_key_exists('GROUP',$cars),'No existe indice GROUP'); $this->assertTrue(isset($cars['GROUP']) and strlen($cars['GROUP'])==1,'valor incorrecto como separador de miles'); }
testGetQueryMode | ( | ) |
Definición en la línea 140 del archivo ConfigFrameworkTest.php.
{ // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
testGetTemplatesCompilationDir | ( | ) |
Definición en la línea 160 del archivo ConfigFrameworkTest.php.
{ // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
testGetVSKeys | ( | ) |
Definición en la línea 230 del archivo ConfigFrameworkTest.php.
{ // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
testSetAppVersion | ( | ) |
Definición en la línea 90 del archivo ConfigFrameworkTest.php.
{ // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
testSetCustomTitle | ( | ) |
Definición en la línea 110 del archivo ConfigFrameworkTest.php.
{ // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
testSetDefList | ( | ) |
Definición en la línea 180 del archivo ConfigFrameworkTest.php.
{ // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
testSetDefVS | ( | ) |
Definición en la línea 210 del archivo ConfigFrameworkTest.php.
{ // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
testSetDSN | ( | ) |
Definición en la línea 240 del archivo ConfigFrameworkTest.php.
{ // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
testSetLogStatus | ( | ) |
Definición en la línea 130 del archivo ConfigFrameworkTest.php.
{ // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
testSetQueryMode | ( | ) |
Definición en la línea 150 del archivo ConfigFrameworkTest.php.
{ // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
testSetTemplatesCompilationDir | ( | ) |
Definición en la línea 170 del archivo ConfigFrameworkTest.php.
{ // Remove the following lines when you implement this test. $this->markTestIncomplete( 'This test has not been implemented yet.' ); }
$object [protected] |
Definición en la línea 14 del archivo ConfigFrameworkTest.php.