Documentación GVHIDRA 3.1.5
Referencia de la Clase ConfigFrameworkTest

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

Descripción detallada

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.


Documentación de las funciones miembro

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 ( )
Tareas pendientes:
Implement 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 ( )
Tareas pendientes:
Implement 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 ( )
Tareas pendientes:
Implement 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 ( )
Tareas pendientes:
Implement 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 ( )
Tareas pendientes:
Implement 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 ( )
Tareas pendientes:
Implement 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 ( )
Tareas pendientes:
Implement 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 ( )
Tareas pendientes:
Implement 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 ( )
Tareas pendientes:
Implement 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 ( )
Tareas pendientes:
Implement 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 ( )
Tareas pendientes:
Implement 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 ( )
Tareas pendientes:
Implement 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 ( )
Tareas pendientes:
Implement 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 ( )
Tareas pendientes:
Implement 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 ( )
Tareas pendientes:
Implement 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 ( )
Tareas pendientes:
Implement 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 ( )
Tareas pendientes:
Implement 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 ( )
Tareas pendientes:
Implement 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 ( )
Tareas pendientes:
Implement 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 ( )
Tareas pendientes:
Implement 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 ( )
Tareas pendientes:
Implement 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 ( )
Tareas pendientes:
Implement 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.'
        );
    }

Documentación de los campos

$object [protected]

Definición en la línea 14 del archivo ConfigFrameworkTest.php.


La documentación para esta clase fue generada a partir del siguiente fichero: