X7ROOT File Manager
Current Path:
/opt/alt/tests/alt-php80-pecl-amqp_2.1.2-1.el8/tests
opt
/
alt
/
tests
/
alt-php80-pecl-amqp_2.1.2-1.el8
/
tests
/
ðŸ“
..
📄
_test_helpers.php.inc
(2.19 KB)
📄
amqp_version.phpt
(485 B)
📄
amqpbasicproperties.phpt
(3.59 KB)
📄
amqpbasicproperties_nullability.phpt
(1.79 KB)
📄
amqpconnection_construct_ini_read_timeout.phpt
(443 B)
📄
amqpconnection_construct_ini_timeout.phpt
(558 B)
📄
amqpconnection_construct_ini_timeout_and_read_timeout.phpt
(743 B)
📄
amqpconnection_construct_ini_timeout_default.phpt
(477 B)
📄
amqpconnection_construct_params_by_value.phpt
(1.02 KB)
📄
amqpconnection_construct_with_connection_name.phpt
(607 B)
📄
amqpconnection_construct_with_rpc_timeout.phpt
(338 B)
📄
amqpconnection_construct_with_timeout.phpt
(445 B)
📄
amqpconnection_construct_with_timeout_and_read_timeout.phpt
(500 B)
📄
amqpconnection_construct_with_verify_false.phpt
(318 B)
📄
amqpconnection_construct_with_write_timeout.phpt
(342 B)
📄
amqpconnection_nullable_setters.phpt
(955 B)
📄
amqpconnection_setConnectionName.phpt
(564 B)
📄
amqpconnection_setHost.phpt
(313 B)
📄
amqpconnection_setLogin.phpt
(447 B)
📄
amqpconnection_setPassword.phpt
(459 B)
📄
amqpconnection_setPort_int.phpt
(449 B)
📄
amqpconnection_setPort_out_of_range.phpt
(496 B)
📄
amqpconnection_setPort_string.phpt
(457 B)
📄
amqpconnection_setReadTimeout_float.phpt
(480 B)
📄
amqpconnection_setReadTimeout_int.phpt
(397 B)
📄
amqpconnection_setReadTimeout_out_of_range.phpt
(414 B)
📄
amqpconnection_setReadTimeout_string.phpt
(485 B)
📄
amqpconnection_setRpcTimeout_float.phpt
(583 B)
📄
amqpconnection_setRpcTimeout_int.phpt
(442 B)
📄
amqpconnection_setRpcTimeout_out_of_range.phpt
(545 B)
📄
amqpconnection_setRpcTimeout_string.phpt
(598 B)
📄
amqpconnection_setSaslMethod.phpt
(629 B)
📄
amqpconnection_setSaslMethod_invalid.phpt
(573 B)
📄
amqpconnection_setTimeout_deprecated.phpt
(549 B)
📄
amqpconnection_setTimeout_float.phpt
(946 B)
📄
amqpconnection_setTimeout_int.phpt
(561 B)
📄
amqpconnection_setTimeout_out_of_range.phpt
(565 B)
📄
amqpconnection_setTimeout_string.phpt
(951 B)
📄
amqpconnection_setVhost.phpt
(443 B)
📄
amqpconnection_setWriteTimeout_float.phpt
(485 B)
📄
amqpconnection_setWriteTimeout_int.phpt
(400 B)
📄
amqpconnection_setWriteTimeout_out_of_range.phpt
(551 B)
📄
amqpconnection_setWriteTimeout_string.phpt
(491 B)
📄
amqpconnection_validation.phpt
(5.01 KB)
📄
amqpdecimal.phpt
(1.28 KB)
📄
amqpenvelope_construct.phpt
(1.29 KB)
📄
amqpexchange_declare_with_stalled_reference.phpt
(856 B)
📄
amqpqueue_declare_with_stalled_reference.phpt
(838 B)
📄
amqpqueue_purge_basic.phpt
(142 B)
📄
amqptimestamp.phpt
(1.08 KB)
📄
bug_62354.phpt
(595 B)
📄
ini_validation_failure.phpt
(4.4 KB)
📄
testtest.phpt
(1.77 KB)
Editing: amqpbasicproperties.phpt
--TEST-- AMQPBasicProperties --SKIPIF-- <?php if (!extension_loaded("amqp")) print "skip AMQP extension is not loaded"; ?> --FILE-- <?php require '_test_helpers.php.inc'; $props = new AMQPBasicProperties(); var_dump($props); dump_methods($props); echo PHP_EOL; $props = new AMQPBasicProperties( "content_type", "content_encoding", array('test' => 'headers'), 42, 24, "correlation_id", "reply_to", "expiration", "message_id", 99999, "type", "user_id", "app_id", "cluster_id" ); var_dump($props); dump_methods($props); ?> --EXPECT-- object(AMQPBasicProperties)#1 (14) { ["contentType":"AMQPBasicProperties":private]=> NULL ["contentEncoding":"AMQPBasicProperties":private]=> NULL ["headers":"AMQPBasicProperties":private]=> array(0) { } ["deliveryMode":"AMQPBasicProperties":private]=> int(1) ["priority":"AMQPBasicProperties":private]=> int(0) ["correlationId":"AMQPBasicProperties":private]=> NULL ["replyTo":"AMQPBasicProperties":private]=> NULL ["expiration":"AMQPBasicProperties":private]=> NULL ["messageId":"AMQPBasicProperties":private]=> NULL ["timestamp":"AMQPBasicProperties":private]=> NULL ["type":"AMQPBasicProperties":private]=> NULL ["userId":"AMQPBasicProperties":private]=> NULL ["appId":"AMQPBasicProperties":private]=> NULL ["clusterId":"AMQPBasicProperties":private]=> NULL } AMQPBasicProperties getContentType(): NULL getContentEncoding(): NULL getHeaders(): array(0) { } getDeliveryMode(): int(1) getPriority(): int(0) getCorrelationId(): NULL getReplyTo(): NULL getExpiration(): NULL getMessageId(): NULL getTimestamp(): NULL getType(): NULL getUserId(): NULL getAppId(): NULL getClusterId(): NULL object(AMQPBasicProperties)#2 (14) { ["contentType":"AMQPBasicProperties":private]=> string(12) "content_type" ["contentEncoding":"AMQPBasicProperties":private]=> string(16) "content_encoding" ["headers":"AMQPBasicProperties":private]=> array(1) { ["test"]=> string(7) "headers" } ["deliveryMode":"AMQPBasicProperties":private]=> int(42) ["priority":"AMQPBasicProperties":private]=> int(24) ["correlationId":"AMQPBasicProperties":private]=> string(14) "correlation_id" ["replyTo":"AMQPBasicProperties":private]=> string(8) "reply_to" ["expiration":"AMQPBasicProperties":private]=> string(10) "expiration" ["messageId":"AMQPBasicProperties":private]=> string(10) "message_id" ["timestamp":"AMQPBasicProperties":private]=> int(99999) ["type":"AMQPBasicProperties":private]=> string(4) "type" ["userId":"AMQPBasicProperties":private]=> string(7) "user_id" ["appId":"AMQPBasicProperties":private]=> string(6) "app_id" ["clusterId":"AMQPBasicProperties":private]=> string(10) "cluster_id" } AMQPBasicProperties getContentType(): string(12) "content_type" getContentEncoding(): string(16) "content_encoding" getHeaders(): array(1) { ["test"]=> string(7) "headers" } getDeliveryMode(): int(42) getPriority(): int(24) getCorrelationId(): string(14) "correlation_id" getReplyTo(): string(8) "reply_to" getExpiration(): string(10) "expiration" getMessageId(): string(10) "message_id" getTimestamp(): int(99999) getType(): string(4) "type" getUserId(): string(7) "user_id" getAppId(): string(6) "app_id" getClusterId(): string(10) "cluster_id"
Upload File
Create Folder