Overview

Namespaces

  • Nethgui
    • Adapter
    • Authorization
    • Component
    • Controller
      • Collection
      • Table
    • Exception
    • Log
    • Model
    • Module
      • Help
      • Notification
    • Renderer
    • Serializer
    • System
    • Test
      • Tool
      • Unit
        • Nethgui
          • Adapter
            • ParameterSet
          • Authorization
          • Log
          • Module
            • Notification
          • Renderer
          • Serializer
          • System
          • Utility
          • View
        • Test
          • Tool
    • Utility
    • View
    • Widget
      • Xhtml
  • None
  • Test
    • Tool

Classes

  • EsmithDatabaseTest
  • NethPlatformTest
  • PhpWrapperExec
  • SessionDatabaseTest
  • TestSession
  • ValidatorTest
  • Overview
  • Namespace
  • Class
  • Deprecated

Class EsmithDatabaseTest

PHPUnit_Framework_TestCase
Extended by Nethgui\Test\Unit\Nethgui\System\EsmithDatabaseTest
Namespace: Nethgui\Test\Unit\Nethgui\System
Covers: \Nethgui\System\EsmithDatabase
Located at Test/Unit/Nethgui/System/EsmithDatabaseTest.php
Methods summary
protected
# setUp( )

Sets up the fixture, for example, opens a network connection. This method is called before a test is executed.

Sets up the fixture, for example, opens a network connection. This method is called before a test is executed.

public
# testFailPdp( )
public
# testGetAll0( )

empty or non-existent database

empty or non-existent database

public
# testGetAll1( )
public
# testGetAll2( )
public
# testGetAll4( )

db command return non zero exit code:

db command return non zero exit code:

Expectedexception

\UnexpectedValueException
public
# testGetAll5( )

db command return invalid json string

db command return invalid json string

Expectedexception

\UnexpectedValueException
public
# exec_getAllCallback( $command, & $output, & $retval )
public
# exec_printJson( $command, & $output, & $retval )
public
# testGetKey0( )
public
# testGetKey1( )
public
# testGetKey2( )

db command fails

db command fails

Expectedexception

\UnexpectedValueException
public
# testGetKey3( )

db command returns invalid json string

db command returns invalid json string

Expectedexception

\UnexpectedValueException
public
# testGetKey4( )

db command returns a key without props

db command returns a key without props

public
# exec_getKeyCallback( $command, & $output, & $retval )
public
# exec_getJson( $command, & $output, & $retval )
public
# testSetKey( )

Implement testSetKey().

Implement testSetKey().

public
# testDeleteKey( )

Implement testDeleteKey()

Implement testDeleteKey()

public
# testGetType( )

Implement testGetKey()

Implement testGetKey()

Depends

testSetKey
public
# exec_getTypeCallback( $command, & $output, & $retval )
public
# testSetType( )
public
# testGetProp1( )
public
# exec_getpropCallback( $command, & $output, & $retval )
public
# testSetProp1( )
public
# testDelProp( )
public
# exec_success( $command, & $output, & $retval )
public
# testAsAuthorizationString( )
public
# testGetAuthorizationAttribute( )
Properties summary
protected Nethgui\System\EsmithDatabase $object
#
Nethgui Framework API documentation generated by ApiGen