com php-src: new tests to openssl module, don't covered yet.: ext/openssl/tests/openssl_get_cipher_methods.phpt ext
/openssl/tests/openssl_get_md_methods.phpt

From: Date: Thu, 29 Oct 2015 19:06:40 +0000
Subject: com php-src: new tests to openssl module, don't covered yet.: ext/openssl/tests/openssl_get_cipher_methods.phpt ext
/openssl/tests/openssl_get_md_methods.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-89566@lists.php.net to get a copy of this message
Commit: 06c6b51e7d680defdb1d2e718af7289b8b5fa600 Author: root <marcosptf@yahoo.com.br> Thu, 29 Oct 2015 12:05:54 -0200 Committer: Jakub Zelenka <bukka@php.net> Thu, 29 Oct 2015 19:06:40 +0000 Parents: 6d51b7b2e3468601acdaaf9041c9131b5aa47f98 Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=06c6b51e7d680defdb1d2e718af7289b8b5fa600 Log: new tests to openssl module, don't covered yet. Changed paths: A ext/openssl/tests/openssl_get_cipher_methods.phpt A ext/openssl/tests/openssl_get_md_methods.phpt Diff: diff --git a/ext/openssl/tests/openssl_get_cipher_methods.phpt b/ext/openssl/tests/openssl_get_cipher_methods.phpt new file mode 100644 index 0000000..90c7e17 --- /dev/null +++ b/ext/openssl/tests/openssl_get_cipher_methods.phpt @@ -0,0 +1,16 @@ +--TEST-- +array openssl_get_cipher_methods ([ bool $aliases = false ] ); +--CREDITS-- +marcosptf - <marcosptf@yahoo.com.br> +--SKIPIF-- +<?php +if (!extension_loaded("openssl")) print "skip"; +?> +--FILE-- +<?php +var_dump(is_array(openssl_get_cipher_methods(true))); +var_dump(is_array(openssl_get_cipher_methods(false))); +?> +--EXPECT-- +bool(true) +bool(true) \ No newline at end of file diff --git a/ext/openssl/tests/openssl_get_md_methods.phpt b/ext/openssl/tests/openssl_get_md_methods.phpt new file mode 100644 index 0000000..28f8abf --- /dev/null +++ b/ext/openssl/tests/openssl_get_md_methods.phpt @@ -0,0 +1,16 @@ +--TEST-- +array openssl_get_md_methods ([ bool $aliases = false ] ); +--CREDITS-- +marcosptf - <marcosptf@yahoo.com.br> +--SKIPIF-- +<?php +if (!extension_loaded("openssl")) print "skip"; +?> +--FILE-- +<?php +var_dump(is_array(openssl_get_md_methods(true))); +var_dump(is_array(openssl_get_md_methods(false))); +?> +--EXPECT-- +bool(true) +bool(true) \ No newline at end of file

« previous php.cvs (#89566) next »