Documentation

SingletonUnitTest extends TestCase
in package

Table of Contents

testArgsPassing()  : mixed
Validating params passing through constructor.
testCloneObject()  : mixed
Test checks new ClassName() directives work.
testCommonWork()  : mixed
This test checks common singleton's functionality
testDirectCreationTest()  : mixed
Test checks that second object can't be created.
testTwoObjects()  : mixed
Test checks new ClassName() directives work.

Methods

testArgsPassing()

Validating params passing through constructor.

public testArgsPassing() : mixed
Return values
mixed

testCloneObject()

Test checks new ClassName() directives work.

public testCloneObject() : mixed
Return values
mixed

testCommonWork()

This test checks common singleton's functionality

public testCommonWork() : mixed
Return values
mixed

testDirectCreationTest()

Test checks that second object can't be created.

public testDirectCreationTest() : mixed
Return values
mixed

testTwoObjects()

Test checks new ClassName() directives work.

public testTwoObjects() : mixed
Return values
mixed

Search results

    Яндекс.Метрика