Skip to content

Instantly share code, notes, and snippets.

@chdemko
Created February 22, 2012 09:47
Show Gist options
  • Save chdemko/1883669 to your computer and use it in GitHub Desktop.
Save chdemko/1883669 to your computer and use it in GitHub Desktop.
There were 3 errors:
1) JCryptCipher3DESTest::testDecrypt with data set #1 ('2.txt', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.')
file_get_contents(/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/stubs/encrypted/3des/2.txt): failed to open stream: No such file or directory
/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/JCryptCipher3DESTest.php:89
2) JCryptCipherBlowfishTest::testDecrypt with data set #1 ('2.txt', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.')
file_get_contents(/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/stubs/encrypted/blowfish/2.txt): failed to open stream: No such file or directory
/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/JCryptCipherBlowfishTest.php:89
3) JCryptCipherRijndael256Test::testDecrypt with data set #3 ('4.txt', 'Широкая электрификация южных губерний даст мощный толчок подъёму сельского хозяйства')
file_get_contents(/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/stubs/encrypted/rijndael256/4.txt): failed to open stream: No such file or directory
/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/JCryptCipherRijndael256Test.php:89
--
There were 15 failures:
1) JCryptCipher3DESTest::testDecrypt with data set #0 ('1.txt', 'c-;3-(Is>{DJzOHMCv_<#yKuN/G`/Us{GkgicWG$M|HW;kI0BVZ^|FY/"Obt53?PNaWwhmRtH;lWkWE4vlG5CIFA!abu&F=Xo#Qw}gAp3;GL\'k])%D}C+W&ne6_F$3P5')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'c-;3-(Is>{DJzOHMCv_<#yKuN/G`/Us{GkgicWG$M|HW;kI0BVZ^|FY/"Obt53?PNaWwhmRtH;lWkWE4vlG5CIFA!abu&F=Xo#Qw}gAp3;GL'k])%D}C+W&ne6_F$3P5'
+Binary String: 0x17330e6ad7c856b2dd6adf9f24cd7c84b71fd0fce1e44fd553069f9e11118e00406af937c16689a67a7dfc7af1f0f5c0ef32c4527f6e0d994989e68e78c501a3ab8cc30cf2fb11b02a0ef27f0061bc00ce633054554bb5d8965be84ac61103e70a856f684be24db073abfa19ae6d27883727e54cbcb48c17a52e52cb278ee5276cbf50671d725c5d
/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/JCryptCipher3DESTest.php:93
2) JCryptCipher3DESTest::testDecrypt with data set #2 ('3.txt', 'لا أحد يحب الألم بذاته، يسعى ورائه أو يبتغيه، ببساطة لأنه الألم...')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'لا أحد يحب الألم بذاته، يسعى ورائه أو يبتغيه، ببساطة لأنه الألم...'
+Binary String: 0xaa896071cc7d51f74e13a72da3e92669a482fe3885a709008d363110f3c9e2dc4f672d9a303ee38572d98dfc2a424a032d315e6f99e195c7febcc4824372667e5d0862e4730d6937e81c7d5a2196e8f16a0579e4427f48aec36f7fac0d009e358f73688a0179460f5fa837882eb63277bb032c85aaa97275
/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/JCryptCipher3DESTest.php:93
3) JCryptCipher3DESTest::testEncrypt with data set #0 ('1.txt', 'c-;3-(Is>{DJzOHMCv_<#yKuN/G`/Us{GkgicWG$M|HW;kI0BVZ^|FY/"Obt53?PNaWwhmRtH;lWkWE4vlG5CIFA!abu&F=Xo#Qw}gAp3;GL\'k])%D}C+W&ne6_F$3P5')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-Binary String: 0x8856b70e1fda52a6030e23a873299f59340646a780b43fd15faa1271703d211fea6b1dffd160cd9bfa37aa45542cd27ecbf2d0369667548e5f2b0dd38bdbefe310851f206d0e77d011445e205018fdfcdb37144cbb3bac46b4f0655a3bd9b89dd32c7014d9c54b88ba5a56aaeed65207e447a893fd0f85ab8064092efd77ca659243cc9149c90d6c
+Binary String: 0x0f246cf4e180d76118d7cc4b7e2d05dffb643156b9f2a97493475453f633db63cd9e45fb54a34ed41fc575a58ef53cafbc00f0b70f30e0b8b05e555cea2055aa1cebeb2e9380b25b8d97be494e0a45b498b28386943080d63e2438ad8e4e8fc2d8795c069473a1b1cd1b39f42f2dac44a23df4a889789e320ed6d76fc0b0e7eb
/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/JCryptCipher3DESTest.php:112
4) JCryptCipher3DESTest::testEncrypt with data set #1 ('2.txt', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.')
Failed asserting that file "/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/stubs/encrypted/3des/2.txt" exists.
/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/JCryptCipher3DESTest.php:112
5) JCryptCipher3DESTest::testEncrypt with data set #2 ('3.txt', 'لا أحد يحب الألم بذاته، يسعى ورائه أو يبتغيه، ببساطة لأنه الألم...')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-Binary String: 0xfc7b5ec03980adbcdc615918bf1c7f902c61bb8e1a3fe49394574ad4f651c950f9ac5f98e0b212bf55f3e475db22e03dd469ff5778db217c77e0e319fd1e11eaccdf46888a722a15d5aa7d6e8414b96d12f936da59da70e81597a8b53632bfb639d5a1a77d39ea068cb81bd715a3b5d628ed1898812a4238
+Binary String: 0xc5d9e15635ae84f018ec145d844bc3670d373d6ac4bbbece314c6a78ad7a815cd929ca00ca99575630fc96bf637481056f410b417d9c6187eb71bc45a7a50eabc6034deb1fe6f3aa76b587254876e4dcf5089b9d006369a5ec97ea5588faf100e0be1bab31d6e3aeac433d12fe793d83cc17b6484bf07460
/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/JCryptCipher3DESTest.php:112
6) JCryptCipherBlowfishTest::testDecrypt with data set #0 ('1.txt', 'c-;3-(Is>{DJzOHMCv_<#yKuN/G`/Us{GkgicWG$M|HW;kI0BVZ^|FY/"Obt53?PNaWwhmRtH;lWkWE4vlG5CIFA!abu&F=Xo#Qw}gAp3;GL\'k])%D}C+W&ne6_F$3P5')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'c-;3-(Is>{DJzOHMCv_<#yKuN/G`/Us{GkgicWG$M|HW;kI0BVZ^|FY/"Obt53?PNaWwhmRtH;lWkWE4vlG5CIFA!abu&F=Xo#Qw}gAp3;GL'k])%D}C+W&ne6_F$3P5'
+Binary String: 0x9457587db9713af764c77c36d8fd1e4cb437aeb4c426d4627b4c9861ce53f8b97ef5a8c6dbb109523e92a7a9fbfcadd2d63f27d2b4b6a0d4e558037ec424135ebc27069220de9e0d32cf06cc17f44305509b61b471b8acb7adbc686704b047e943e19bffa481656479b602cb3d2538fc9fea29288dee0dbbd20fbdea6a95c9fe
/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/JCryptCipherBlowfishTest.php:93
7) JCryptCipherBlowfishTest::testDecrypt with data set #2 ('3.txt', 'لا أحد يحب الألم بذاته، يسعى ورائه أو يبتغيه، ببساطة لأنه الألم...')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'لا أحد يحب الألم بذاته، يسعى ورائه أو يبتغيه، ببساطة لأنه الألم...'
+Binary String: 0x981dda9cf92c191f2d8bbb6b24df4b371cfc1c5fe3d26c942b45aea5424fb5260a8b195e726176cb7689843568102fe0148936a11d2ad0313dcac8d3f982befc99caf3bc9f171e205017adbc9de76fecb81a37a12a7cd6289c243e7cd3888d7236746a70252b713fd02bfe000bf9f8cf7eaaa57819cbbaa0
/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/JCryptCipherBlowfishTest.php:93
8) JCryptCipherBlowfishTest::testEncrypt with data set #0 ('1.txt', 'c-;3-(Is>{DJzOHMCv_<#yKuN/G`/Us{GkgicWG$M|HW;kI0BVZ^|FY/"Obt53?PNaWwhmRtH;lWkWE4vlG5CIFA!abu&F=Xo#Qw}gAp3;GL\'k])%D}C+W&ne6_F$3P5')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-Binary String: 0x13dd776c3e0e5fa1150d1e55074a5528b06f731ab6c333f8daf887e97b58a7949b74f4ab791cbf526d7683b04e576e1ad6b6b6ab45cec7c6b18274094d4a3bd88807332a046a5c8d0bc9a7fd7bc295d262a32fe8968f7e2afb865dfc5194ba962db81e253443ab7b8df2802d15101240a5fab349403cfb1a7f6f6809a76dc4de
+Binary String: 0x216c92c672fd4d0e7c3e97839160a3acfa246ae42c82d5027c745b1e42d29c14fece55f580ac2f14efae7c7b7c55d910c420546aeabc5d456029a8f8d83c129b4cde79af351ebc818500ce205b613565924e97c93413580de92d9c057871254b18d5793945916df79a30134a9655c72b04c21f1b401bd7f102bbd71d47825779
/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/JCryptCipherBlowfishTest.php:112
9) JCryptCipherBlowfishTest::testEncrypt with data set #1 ('2.txt', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.')
Failed asserting that file "/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/stubs/encrypted/blowfish/2.txt" exists.
/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/JCryptCipherBlowfishTest.php:112
10) JCryptCipherBlowfishTest::testEncrypt with data set #2 ('3.txt', 'لا أحد يحب الألم بذاته، يسعى ورائه أو يبتغيه، ببساطة لأنه الألم...')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-Binary String: 0x89e6c1de99ee799a35c41dacadaa73df73312cf69f5eb8897aecab14285ee6dd2843719969d237a5971c71e90412e6fcd2a43667a3e192389568d0f64c69a3cc82be21f9638db396041ea98a77845a0bd73b41b83a7c396ca16d3688536533aaa7c8d77f3afac7ca522b784d864053648538d30c8a465737
+Binary String: 0x4e4ee77ac3ee0db147620d8530c18d3ac80a5b15003ac3e34a8cc9c468091df42708a431583e23bd9841dbf5acc38089dbfe238eac3d23fe0bbfcb09ce3e92fb804dc16093a5977ec464d5445c40a57799328bdabfbcdb23f6bd41197ef09b587394851b1998566eb5ee2fe44c4ce98d207a75b5b08f692b
/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/JCryptCipherBlowfishTest.php:112
11) JCryptCipherRijndael256Test::testDecrypt with data set #1 ('2.txt', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.'
+Binary String: 0x87e94ba58211b794ae2a26ce77e0b2c7b79bfb7cbe8aaff2c9ceab90730c27f9a9c3c3637f580ce036436b23f0cd220ea8d283cc65515aab25b1e1bffd482326b1bf7a6ed72606f0268fc8c2fd6c2b5edc683b1406db76f451246390b4db965b7efa31b49fdc6ac26625a4befd5a6350b7ea390c5a499c98fa69953e55c371695359c68b2e12c8dacd2652af2856f2efd036b01886badd2cef9b0e00df24db86940c69b3e6acb8dbcaea99014610dd07e7f78f6cc5278784cee61704e5d17237068af23fca1679c026bcac52b6c46bce93ec1ce6997dfe2b3c1e01b50549e378d9c7abdb82327f8cb4f400d5cbd6e1ff83e268de0e559e15d29166665f3db34825028874e4648791b8729c99ab38910b10c782e79213a5b54c02b894f7461d1009cd18c00d2f5042e12fd641df4ed111216b4c8be3bf08a835d5ca464e8403fe3bd5cca8a2f474a5bf9d87236e891de960d94183aa31129ef97f516d2f2741ce552026c57c09ac4718233a82a1f7d48ca0b44e662f5475426d7ec94bedf6508306696c1cdb8fca86bdd3a6bd7f5be81ebb352b5140346f90acce87d925c554fc623a0f9ba49a20396641e564d92811506a60a62ff41d910d73322545d69b011f
/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/JCryptCipherRijndael256Test.php:93
12) JCryptCipherRijndael256Test::testDecrypt with data set #4 ('5.txt', 'The quick brown fox jumps over the lazy dog.')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'The quick brown fox jumps over the lazy dog.'
+Binary String: 0x4bfe3c9741078bf72dde9ebeca842c8ebbd6fcd3b133a8c6389ec9434467227d45a87d9083beb7208aef03ffa46de58f491e7e7c059321eb6b017544a0def586
/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/JCryptCipherRijndael256Test.php:93
13) JCryptCipherRijndael256Test::testEncrypt with data set #1 ('2.txt', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-Binary String: 0xdc2857b4cef871da89997b94965c63a67e5bad8cc04eb8b7e1441c52c469710f2c1441529f6d9d83ac66da061c541e059b9a9823117a2f9bec836799647361e4f694c877b22802e6be9df038fb31981ea39b6dce27a4fb95d9301d04773b679ad85e95b102e317552bb914bd7539f8b4198f3f56311dd5f59b1ec4c5182caed629f789d9081cfeec71fb0bbfcefa59bf1749b231e423544a8b3d9cf69d82ff615073df5625962de88e586e4ae997ef0420b00e1fe881209d570a6f1b56ce407a7ee56199da01956c2d73302cfb3a4756756b675010d003c3a47e399aaf4cb342e85fc8315d72c718dda4d30bb23a0c09a67afb726f4c664e75ef92360c4b6c73312911e6512f3c5ec5f5cee0b40453e07c106fb44c725332e249e0859514517ad76d68136583031268b35f94684da8f05d1a085cdfecbf93a40271150d5121df4210251e2ba906e95ad7aac43506eb92eafbb42d0ecb386a2fcfead0acd94862542fdb9b3660945c2a690f5b4f3f8d99f6c6a612721f26265da5750326fcca9a4d2934d20de52f1920b5fde25f17de80561f54752da1e8fa0211f948e89ebb61a058da2ebbe4ad9a69fb152bf9f9093539b8ad02f51f24f0c539d21bd602663a
+Binary String: 0xd590ff87dc20c63d67a2af3f7db25f58b48d780d8e697a74198bca22d058a5aff3775b311377f72b52541e96736d04bc76e4afcea7960a8c197dccd521b9c7a83d43a9aaf5e63a4c4cb66695cab51fc48e0447c8298313d6207f61370fa1811513f651c660ff6a5792c88b1560d8509c629862be9eb6f3bbc3bb77b1d900596995079b0869d27151a4fd51a75a9b1ea2efe778435b3ce5c4080e2233064e4b9259c981324fd9da78cac69d670f26bc984dbe99e326bf68cd5d98049c18f9e188c38dd00aeef436b6342bb1bed3eb67727d63635eaa6228fa9b13afd55b75f76f85252fab236dff27e6925736b0015bea43fd460ced3941dfa7769718f90cf7f700569136ab23134d4421263f7ca3d37f3cc5722bde7df17c022511482a819e52482e3a5e2fa443c36371b8736dce0d0e4602053ddacf5c7fd9653571b8d2ea34d191bc157a4efaad7d19307e933dc4b2500ae13077e9274d8bdb42e0143121788c9c43fd6293fc86187d27161ee3612f7b57a83b70976777646cb69ceed5f9973be8b75ed1a5d89056b8186e3d781a6cc769e65ac35ad6573441d157640abcd39032c6ca4c8e7687ca7b039b58fdcf090ddac4e54d9871a8e2c90777f3c6dc59
/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/JCryptCipherRijndael256Test.php:112
14) JCryptCipherRijndael256Test::testEncrypt with data set #3 ('4.txt', 'Широкая электрификация южных губерний даст мощный толчок подъёму сельского хозяйства')
Failed asserting that file "/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/stubs/encrypted/rijndael256/4.txt" exists.
/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/JCryptCipherRijndael256Test.php:112
15) JCryptCipherRijndael256Test::testEncrypt with data set #4 ('5.txt', 'The quick brown fox jumps over the lazy dog.')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-Binary String: 0xa472c08e59fa37a526105daf33ebf6aa5980649c75fcea473bc5856232367f3a7d3fb280f323a50ef203dbcb141ecfe28496284fb4e627608b1cb4d978828fca
+Binary String: 0xa15ce1ba23d1f094a916eaae43c9ea3a5c42e312274381e5debbd29ec38021af05183faa1ca3760084c641c769b81afac65cf74c08c12d7f616a24086d3166db
/home/chdemko/Code/php/joomla/platform/git/tests/suite/joomla/crypt/cipher/JCryptCipherRijndael256Test.php:112
FAILURES!
Tests: 44, Assertions: 86, Failures: 15, Errors: 3.
Writing code coverage data to XML file, this may take a moment.
Generating code coverage report, this may take a moment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment