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

  • ArrayAdapterTest
  • MultipleAdapterTest
  • RecordAdapterTest
  • RecordAdapterTester
  • RecordKeyAdapterTest
  • ScalarAdapterTest
  • TableAdapter1Test
  • TableAdapter2Test
  • TabularValueAdapterDegradedTest
  • TabularValueAdapterTest
  • Overview
  • Namespace
  • Class
  • Deprecated

Class RecordAdapterTest

PHPUnit_Framework_TestCase
Extended by Nethgui\Test\Unit\Nethgui\Adapter\RecordAdapterTest
Namespace: Nethgui\Test\Unit\Nethgui\Adapter
Covers: \Nethgui\Adapter\RecordAdapter
Located at Test/Unit/Nethgui/Adapter/RecordAdapterTest.php
Methods summary
protected
# setUp( )
protected
# getObject( Nethgui\Test\Tool\DB $db )
protected Nethgui\Test\Tool\DB
# getDB( )

Returns

Nethgui\Test\Tool\DB
public
# testSetKeyValue1( )
public
# testSetTableData( )
public
# testSetKeyValue2( )

Expectedexception

\LogicException
public
# testSetKeyValue3( )

Setting the key to the same value is allowed:

Setting the key to the same value is allowed:

public
# testSetKeyValueNonExisting( )
public
# testGetKeyValue( )
public
# testDelete1( )
public
# testDelete2( )

Failure when saving a deleted record without a key

Failure when saving a deleted record without a key

Expectedexception

\LogicException
public
# testGetk1( )
public
# testGetNull( )
public
# testIsModified( )
public
# testSaveDeleted1( )
public
# testSaveDeleted2( )

Expectedexception

\LogicException
public
# testSaveUninitialized( )

Expectedexception

\LogicException
public
# testSaveModified( )
public
# testSaveCreated( )
public
# testSet1( )
public
# testSetEmpty( )
public
# testSetInvalidArgumentException1( )

Expectedexception

\InvalidArgumentException
public
# testSetInvalidArgumentException2( )

Expectedexception

\InvalidArgumentException
public
# testOffsetExists1( )
public
# testOffsetExists2( )
public
# testOffsetGet1( )
public
# testOffsetGet2( )

Expectedexception

\PHPUnit_Framework_Error
public
# testOffsetSet1( )
public
# testOffsetSet2( )
public
# testOffsetSet3( )
public
# testOffsetUnset1( )

Unsetting a field before initialization fails

Unsetting a field before initialization fails

Expectedexception

\PHPUnit_Framework_Error
public
# testOffsetUnset2( )
public
# testGetIterator( )
Properties summary
protected Nethgui\Adapter\RecordAdapter $object
#
Nethgui Framework API documentation generated by ApiGen