mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-09 15:20:58 +00:00
Merge pull request #356 from bantu/test-directory-reorganisation
Split Unit/Functional Test Suites. * bantu/test-directory-reorganisation: Split Unit/Functional Test Suites.
This commit is contained in:
commit
602606d966
@ -4,8 +4,11 @@
|
|||||||
colors="true"
|
colors="true"
|
||||||
>
|
>
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="phpseclib Test Suite">
|
<testsuite name="phpseclib Unit Test Suite">
|
||||||
<directory>./tests/</directory>
|
<directory>./tests/Unit/</directory>
|
||||||
|
</testsuite>
|
||||||
|
<testsuite name="phpseclib Functional Test Suite">
|
||||||
|
<directory>./tests/Functional/</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class Net_SFTPFunctionalTest extends PhpseclibFunctionalTestCase
|
class Functional_Net_SFTPUserStoryTest extends PhpseclibFunctionalTestCase
|
||||||
{
|
{
|
||||||
static protected $scratchDir;
|
static protected $scratchDir;
|
||||||
static protected $exampleData;
|
static protected $exampleData;
|
@ -6,7 +6,7 @@
|
|||||||
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class Net_SSH2FunctionalTest extends PhpseclibFunctionalTestCase
|
class Functional_Net_SSH2Test extends PhpseclibFunctionalTestCase
|
||||||
{
|
{
|
||||||
public function setUp()
|
public function setUp()
|
||||||
{
|
{
|
@ -5,7 +5,7 @@
|
|||||||
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class Crypt_AES_ContinuousBufferTest extends Crypt_AES_TestCase
|
class Unit_Crypt_AES_ContinuousBufferTest extends Unit_Crypt_AES_TestCase
|
||||||
{
|
{
|
||||||
// String intented
|
// String intented
|
||||||
protected $modes = array(
|
protected $modes = array(
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
require_once 'Crypt/AES.php';
|
require_once 'Crypt/AES.php';
|
||||||
|
|
||||||
abstract class Crypt_AES_TestCase extends PhpseclibTestCase
|
abstract class Unit_Crypt_AES_TestCase extends PhpseclibTestCase
|
||||||
{
|
{
|
||||||
static public function setUpBeforeClass()
|
static public function setUpBeforeClass()
|
||||||
{
|
{
|
@ -5,7 +5,7 @@
|
|||||||
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class Crypt_Hash_MD5Test extends Crypt_Hash_TestCase
|
class Unit_Crypt_Hash_MD5Test extends Unit_Crypt_Hash_TestCase
|
||||||
{
|
{
|
||||||
public function getInstance()
|
public function getInstance()
|
||||||
{
|
{
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
require_once 'Crypt/Hash.php';
|
require_once 'Crypt/Hash.php';
|
||||||
|
|
||||||
abstract class Crypt_Hash_TestCase extends PhpseclibTestCase
|
abstract class Unit_Crypt_Hash_TestCase extends PhpseclibTestCase
|
||||||
{
|
{
|
||||||
static public function setUpBeforeClass()
|
static public function setUpBeforeClass()
|
||||||
{
|
{
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
require_once 'Crypt/RSA.php' ;
|
require_once 'Crypt/RSA.php' ;
|
||||||
|
|
||||||
class Crypt_RSA_LoadKeyTest extends PhpseclibTestCase
|
class Unit_Crypt_RSA_LoadKeyTest extends PhpseclibTestCase
|
||||||
{
|
{
|
||||||
public function testBadKey()
|
public function testBadKey()
|
||||||
{
|
{
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
require_once 'File/ASN1.php';
|
require_once 'File/ASN1.php';
|
||||||
|
|
||||||
class File_ASN1_DevTest extends PhpseclibTestCase
|
class Unit_File_ASN1_DevTest extends PhpseclibTestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* on older versions of File_ASN1 this would yield a PHP Warning
|
* on older versions of File_ASN1 this would yield a PHP Warning
|
@ -5,7 +5,7 @@
|
|||||||
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class Math_BigInteger_BCMathTest extends Math_BigInteger_TestCase
|
class Unit_Math_BigInteger_BCMathTest extends Unit_Math_BigInteger_TestCase
|
||||||
{
|
{
|
||||||
static public function setUpBeforeClass()
|
static public function setUpBeforeClass()
|
||||||
{
|
{
|
@ -5,7 +5,7 @@
|
|||||||
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class Math_BigInteger_GMPTest extends Math_BigInteger_TestCase
|
class Unit_Math_BigInteger_GMPTest extends Unit_Math_BigInteger_TestCase
|
||||||
{
|
{
|
||||||
static public function setUpBeforeClass()
|
static public function setUpBeforeClass()
|
||||||
{
|
{
|
@ -5,7 +5,7 @@
|
|||||||
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class Math_BigInteger_InternalOpenSSLTest extends Math_BigInteger_TestCase
|
class Unit_Math_BigInteger_InternalOpenSSLTest extends Unit_Math_BigInteger_TestCase
|
||||||
{
|
{
|
||||||
static public function setUpBeforeClass()
|
static public function setUpBeforeClass()
|
||||||
{
|
{
|
@ -5,7 +5,7 @@
|
|||||||
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class Math_BigInteger_InternalTest extends Math_BigInteger_TestCase
|
class Math_BigInteger_InternalTest extends Unit_Math_BigInteger_TestCase
|
||||||
{
|
{
|
||||||
static public function setUpBeforeClass()
|
static public function setUpBeforeClass()
|
||||||
{
|
{
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
require_once 'Math/BigInteger.php';
|
require_once 'Math/BigInteger.php';
|
||||||
|
|
||||||
abstract class Math_BigInteger_TestCase extends PhpseclibTestCase
|
abstract class Unit_Math_BigInteger_TestCase extends PhpseclibTestCase
|
||||||
{
|
{
|
||||||
static public function setUpBeforeClass()
|
static public function setUpBeforeClass()
|
||||||
{
|
{
|
@ -5,7 +5,7 @@
|
|||||||
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class Net_SSH1Test extends PhpseclibTestCase
|
class Unit_Net_SSH1Test extends PhpseclibTestCase
|
||||||
{
|
{
|
||||||
public function formatLogDataProvider()
|
public function formatLogDataProvider()
|
||||||
{
|
{
|
@ -6,7 +6,7 @@
|
|||||||
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class Net_SSH2Test extends PhpseclibTestCase
|
class Unit_Net_SSH2Test extends PhpseclibTestCase
|
||||||
{
|
{
|
||||||
public function formatLogDataProvider()
|
public function formatLogDataProvider()
|
||||||
{
|
{
|
Loading…
Reference in New Issue
Block a user