1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-11-27 04:34:45 +01:00
Commit Graph

62 Commits

Author SHA1 Message Date
Andreas Fischer
fe50a6cdac A few functional tests for Net_SFTP. 2014-04-07 18:16:59 +02:00
Andreas Fischer
96aaa262eb Use pwd instead of ls. If the directory is empty callback will not be called. 2014-04-07 17:59:21 +02:00
Andreas Fischer
90ff32d56d Tests for bug280. 2014-03-06 11:55:14 +01:00
Andreas Fischer
3d3d55b407 Mark SSH2 Test as Incomplete on Travis PHP 5.3.3 and below for now. 2014-03-04 14:56:42 +01:00
Andreas Fischer
00c19f4cc1 Add basic SSH2 functional test as an example. 2014-03-03 02:14:27 +01:00
Andreas Fischer
ea31d9d38c Introduce abstract class for functional tests. 2014-03-03 01:34:43 +01:00
Andreas Fischer
ef528ea879 Apply coding guidelines (with exceptions) to the tests directory. 2014-02-15 20:05:30 +01:00
Andreas Fischer
6fc22d5405 Add build directory. 2014-02-15 18:51:09 +01:00
Andreas Fischer
56f1ada5c1 CS: Each file MUST end with exactly one newline character 2014-02-10 14:51:35 +01:00
Andreas Fischer
0a639cd7f5 Add a folder for travis. 2014-01-22 03:41:24 +01:00
Graham Campbell
1c2796e3eb Cleaned up whitespace 2014-01-18 17:29:25 +00:00
terrafrost
268ec2e5d1 Merge branch 'ssh2-identifier' 2013-12-28 13:49:05 -06:00
Marc Philip Scholten
19be15c4c4 Fixed typos 2013-12-28 18:16:09 +01:00
terrafrost
40bf0b1e59 RSA: add unit test for $rsa->loadKey() 2013-12-27 10:41:07 -06:00
Marc Philip Scholten
3d5262156d Fixed missing dataProvider in test 2013-12-26 21:03:00 +01:00
Marc Philip Scholten
699ac0b0e9 Rewritten test to just check for possible combinations 2013-12-26 21:02:17 +01:00
Marc Philip Scholten
4817d28a54 Refactored Net_SSH2::$identifier and added unit tests
Added return tag
2013-12-26 21:00:58 +01:00
Andreas Fischer
9c7c01c337 Merge pull request #223 from mpscholten/fix-ssh1-php55
Fix Net_SSH1 on Php5.5 (/e preg_replace modifier)

* mpscholten/fix-ssh1-php55:
  Fixed classname of test
  Fixed some wrong @see annotations
  Fixed /e preg_replace modifier exactly like in 0dc8b27a6a
  Added Net_SSH1::_format_log test
2013-12-26 18:41:25 +01:00
Marc Philip Scholten
2a7b6e39fb Fixed classname of test 2013-12-26 12:16:08 +01:00
Andreas Fischer
8bb80b3df0 CS: Add useful whitespace CodeSniffer rules. 2013-12-26 00:33:08 +01:00
Marc Philip Scholten
c5f8bab065 Added Net_SSH1::_format_log test
Conflicts:
	tests/Net/SSH1Test.php
2013-12-18 16:39:20 +01:00
Marc Philip Scholten
46a1a0c1c2 Fixed typo and fixed bug with destructor being called in test on ssh object 2013-12-17 20:09:26 +01:00
Marc Philip Scholten
f0b9f59bcc Added test for Net_SSH2::_format_log() 2013-12-16 19:49:15 +01:00
Andreas Fischer
f0f029b2c1 CS: Fix "PEAR.Commenting.ClassComment.WrongTagOrder" sniff. 2013-12-11 18:33:18 +01:00
Andreas Fischer
3db1fbb072 CS: Fix "PEAR.Commenting.FileComment.TagIndent" sniff. 2013-12-10 20:10:37 +01:00
Andreas Fischer
cee0f3343b CS: Fix "PEAR.Formatting.MultiLineAssignment.EqualSignLine" sniff. 2013-12-07 20:47:30 +01:00
Andreas Fischer
6d1fb9f7db CS: Fix "PEAR.Files.IncludingFile.UseIncludeOnce" sniff. 2013-12-06 01:03:34 +01:00
Andreas Fischer
bc6ff96292 Fix "PEAR.Files.IncludingFile.BracketsNotRequired" sniff. 2013-12-05 23:17:40 +01:00
Andreas Fischer
161bb7d362 CS: Fix PEAR.ControlStructures.ControlSignature sniff. 2013-12-03 21:04:13 +01:00
Andreas Fischer
9ca5f83dec CS: Fix Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma sniff. 2013-12-03 20:52:08 +01:00
Andreas Fischer
e09f1b730e CodeSniffer: Fix PEAR.Classes.ClassDeclaration.OpenBraceNewLine sniff. 2013-12-03 19:34:41 +01:00
Andreas Fischer
ca9c8b107b CodeSniffer: Fix Generic.PHP.LowerCaseConstant.Found sniff. 2013-12-03 18:54:43 +01:00
Andreas Fischer
8ef3a01b6e Base CodeSniffer ruleset on PEAR ruleset. 2013-12-01 03:40:08 +01:00
Andreas Fischer
fccf3e8c8a Set the default timezone in tests bootstrap file. 2013-11-29 09:22:08 +01:00
Andreas Fischer
399407fdef Merge pull request #186 from bantu/code-sniffer
Introducing Code Sniffer / Ensuring coding standard

* bantu/code-sniffer:
  Only install composer dependencies in PHP 5.5 environment.
  Run code sniffer on PHP 5.5 environment on Travis CI.
  Add ruleset for phpseclib coding standard.
  Install composer dependencies on Travis CI.
  Add composer.lock file.
  Add CodeSniffer as composer development dependency.
2013-11-26 20:09:30 +01:00
Andreas Fischer
dc0fc84bd0 Add ruleset for phpseclib coding standard. 2013-11-23 21:01:26 +01:00
Andreas Fischer
de16c37c82 Use a variable for subfolder string. 2013-11-23 20:02:41 +01:00
Andreas Fischer
fa229bb186 Use branch name as a subfolder for code coverage reports. 2013-11-23 20:00:44 +01:00
Andreas Fischer
ec58a8bce3 [coverage-html] Add comment to expect installation. 2013-01-16 23:44:29 +01:00
Andreas Fischer
dda7498b60 [coverage-html] Put fingerprint of RSA host key into variable. 2013-01-16 23:43:28 +01:00
Andreas Fischer
dbf7265e19 [coverage-html] Add latest symlink. 2013-01-16 23:27:28 +01:00
Andreas Fischer
862bc5d6dc [coverage-html] Use PHP version number in folder name. 2013-01-16 23:18:30 +01:00
Andreas Fischer
9758ab1688 [coverage-html] Generate HTML code coverage report and rsync it out of travis. 2013-01-16 18:59:35 +01:00
Andreas Fischer
93d7bf4444 [constant-trickery] Also test without OpenSSL. 2013-01-13 19:15:35 +01:00
Andreas Fischer
6d24b92b11 [constant-trickery] Better name for constant redefine method. 2013-01-13 19:08:20 +01:00
Andreas Fischer
f62a9114b3 [constant-trickery] Reimport class definition to clear static variables. 2013-01-12 21:38:38 +01:00
Andreas Fischer
3c75fa1ad4 [constant-trickery] Also skip tests when required extension is missing. 2013-01-12 03:07:41 +01:00
Andreas Fischer
306f0711ed [constant-trickery] Try to use runkit to redefine mode constants. 2013-01-12 03:03:29 +01:00
Andreas Fischer
b83ca10246 [constant-trickery] Add extra test cases for BCMath and GMP. 2013-01-12 02:57:21 +01:00
Andreas Fischer
2ad6f71002 [constant-trickery] Provide infrastructure for setting mode constants. 2013-01-12 02:48:19 +01:00