Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Webmozart
Json
Tests
Versioning
SchemaUriVersionerTest
PHP Class Webmozart\Json\Tests\Versioning\SchemaUriVersionerTest
Since:
1.3
Author:
Bernhard Schussek (
[email protected]
)
Inheritance:
extends
PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Show file
Open project: webmozart/json
Public Methods
Method
Description
testParseVersion
( )
testParseVersionFailsIfNoSchemaField
( )
testParseVersionFailsIfNotFound
( )
testParseVersionWithCustomPattern
( )
testUpdateVersion
( )
testUpdateVersionCustomPattern
( )
testUpdateVersionFailsIfFoundMultipleTimes
( )
testUpdateVersionFailsIfNoSchemaField
( )
testUpdateVersionFailsIfNotFound
( )
testUpdateVersionIgnoresCurrentVersion
( )
Protected Methods
Method
Description
setUp
( )
Method Details
setUp()
protected
method
protected
setUp
( )
testParseVersion()
public
method
public
testParseVersion
( )
testParseVersionFailsIfNoSchemaField()
public
method
public
testParseVersionFailsIfNoSchemaField
( )
testParseVersionFailsIfNotFound()
public
method
public
testParseVersionFailsIfNotFound
( )
testParseVersionWithCustomPattern()
public
method
public
testParseVersionWithCustomPattern
( )
testUpdateVersion()
public
method
public
testUpdateVersion
( )
testUpdateVersionCustomPattern()
public
method
public
testUpdateVersionCustomPattern
( )
testUpdateVersionFailsIfFoundMultipleTimes()
public
method
public
testUpdateVersionFailsIfFoundMultipleTimes
( )
testUpdateVersionFailsIfNoSchemaField()
public
method
public
testUpdateVersionFailsIfNoSchemaField
( )
testUpdateVersionFailsIfNotFound()
public
method
public
testUpdateVersionFailsIfNotFound
( )
testUpdateVersionIgnoresCurrentVersion()
public
method
public
testUpdateVersionIgnoresCurrentVersion
( )