Метод | Описание | |
---|---|---|
assertSwaggerEqualsFile ( string $expectedFile, Swagger\Annotations\Swagger $actualSwagger, string $message = '' ) | ||
assertSwaggerLog ( $expectedEntry, $expectedType, $message = '' ) | ||
assertSwaggerLogEntry ( $expectedEntry, $message = '' ) | ||
assertSwaggerLogEntryStartsWith ( $entryPrefix, $message = '' ) | ||
assertSwaggerLogType ( $expectedType, $message = '' ) |
Метод | Описание | |
---|---|---|
createSwaggerWithInfo ( ) | Create a Swagger object with Info. | |
parseComment ( string $comment ) : |
||
setUp ( ) | ||
sorted ( stdClass $object, string $origin = 'unknown' ) : stdClass | Sorts the object to improve matching and debugging the differences. | |
tearDown ( ) |
public assertSwaggerEqualsFile ( string $expectedFile, Swagger\Annotations\Swagger $actualSwagger, string $message = '' ) | ||
$expectedFile | string | File containing the excepted json. |
$actualSwagger | Swagger\Annotations\Swagger | |
$message | string |
public assertSwaggerLog ( $expectedEntry, $expectedType, $message = '' ) |
public assertSwaggerLogEntry ( $expectedEntry, $message = '' ) |
public assertSwaggerLogEntryStartsWith ( $entryPrefix, $message = '' ) |
protected createSwaggerWithInfo ( ) |
protected parseComment ( string $comment ) : |
||
$comment | string | Contents of a comment block |
Результат |