Skip to content

Commit

Permalink
Merged pull request zetacomponents#9
Browse files Browse the repository at this point in the history
  • Loading branch information
derickr committed Feb 17, 2019
2 parents 65e20ac + b8e6ae6 commit 59dc224
Show file tree
Hide file tree
Showing 32 changed files with 42 additions and 38 deletions.
19 changes: 11 additions & 8 deletions .travis.yml
@@ -1,17 +1,20 @@
language: php

php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm

- 7.0
- 7.1
- 7.2
- 7.3
- nightly

matrix:
allow_failures:
- php: hhvm
- php: nightly

before_script:
- wget http://getcomposer.org/composer.phar
- php composer.phar --dev install
- composer self-update
- composer update

script:
- vendor/bin/phpunit
1 change: 1 addition & 0 deletions composer.json
Expand Up @@ -50,6 +50,7 @@
"zetacomponents/base": "~1.8"
},
"require-dev": {
"phpunit/phpunit": "~5.7",
"zetacomponents/unit-test": "*"
}
}
2 changes: 1 addition & 1 deletion tests/argument_test.php
Expand Up @@ -36,7 +36,7 @@ class ezcConsoleArgumentTest extends ezcTestCase

public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleArgumentTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleArgumentTest" );
}

protected function setUp()
Expand Down
2 changes: 1 addition & 1 deletion tests/arguments_test.php
Expand Up @@ -36,7 +36,7 @@ class ezcConsoleArgumentsTest extends ezcTestCase

public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleArgumentsTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleArgumentsTest" );
}

protected function setUp()
Expand Down
2 changes: 1 addition & 1 deletion tests/dialog_options_test.php
Expand Up @@ -35,7 +35,7 @@ class ezcConsoleDialogOptionsTest extends ezcTestCase
{
public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleDialogOptionsTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleDialogOptionsTest" );
}

public function testGetAccessDefaultSuccess()
Expand Down
2 changes: 1 addition & 1 deletion tests/input_test.php
Expand Up @@ -191,7 +191,7 @@ class ezcConsoleInputTest extends ezcTestCase

public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleInputTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleInputTest" );
}

protected function setUp()
Expand Down
2 changes: 1 addition & 1 deletion tests/menu_dialog_default_validator_test.php
Expand Up @@ -35,7 +35,7 @@ class ezcConsoleMenuDialogDefaultValidatorTest extends ezcTestCase
{
public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleMenuDialogDefaultValidatorTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleMenuDialogDefaultValidatorTest" );
}

public function testGetAccessDefaultSuccess()
Expand Down
2 changes: 1 addition & 1 deletion tests/menu_dialog_options_test.php
Expand Up @@ -35,7 +35,7 @@ class ezcConsoleMenuDialogOptionsTest extends ezcTestCase
{
public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleMenuDialogOptionsTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleMenuDialogOptionsTest" );
}

public function testGetAccessDefaultSuccess()
Expand Down
2 changes: 1 addition & 1 deletion tests/menu_dialog_test.php
Expand Up @@ -36,7 +36,7 @@ class ezcConsoleMenuDialogTest extends ezcConsoleDialogTest

public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleMenuDialogTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleMenuDialogTest" );
}

public function testGetAccessSuccess()
Expand Down
2 changes: 1 addition & 1 deletion tests/option_rule_test.php
Expand Up @@ -36,7 +36,7 @@ class ezcConsoleOptionRuleTest extends ezcTestCase

public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleOptionRuleTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleOptionRuleTest" );
}

public function testGetAccessSuccess()
Expand Down
2 changes: 1 addition & 1 deletion tests/option_test.php
Expand Up @@ -36,7 +36,7 @@ class ezcConsoleOptionTest extends ezcTestCase

public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleOptionTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleOptionTest" );
}

public function testConstructionSuccess()
Expand Down
2 changes: 1 addition & 1 deletion tests/output_format_test.php
Expand Up @@ -36,7 +36,7 @@ class ezcConsoleOutputFormatTest extends ezcTestCase

public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleOutputFormatTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleOutputFormatTest" );
}

public function testConstructor()
Expand Down
2 changes: 1 addition & 1 deletion tests/output_formats_test.php
Expand Up @@ -36,7 +36,7 @@ class ezcConsoleOutputFormatsTest extends ezcTestCase

public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleOutputFormatsTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleOutputFormatsTest" );
}

public function testConstructor()
Expand Down
2 changes: 1 addition & 1 deletion tests/output_options_test.php
Expand Up @@ -36,7 +36,7 @@ class ezcConsoleOutputOptionsTest extends ezcTestCase

public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleOutputOptionsTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleOutputOptionsTest" );
}

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/output_test.php
Expand Up @@ -88,7 +88,7 @@ class ezcConsoleOutputTest extends ezcTestCase

public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleOutputTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleOutputTest" );
}

protected function setUp()
Expand Down
2 changes: 1 addition & 1 deletion tests/progressbar_options_test.php
Expand Up @@ -36,7 +36,7 @@ class ezcConsoleProgressbarOptionsTest extends ezcTestCase

public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleProgressbarOptionsTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleProgressbarOptionsTest" );
}

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/progressbar_test.php
Expand Up @@ -35,7 +35,7 @@ class ezcConsoleProgressbarTest extends ezcTestCase
{
public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleProgressbarTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleProgressbarTest" );
}

public function testProgress1()
Expand Down
2 changes: 1 addition & 1 deletion tests/progressmonitor_options_test.php
Expand Up @@ -36,7 +36,7 @@ class ezcConsoleProgressMonitorOptionsTest extends ezcTestCase

public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleProgressMonitorOptionsTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleProgressMonitorOptionsTest" );
}

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/progressmonitor_test.php
Expand Up @@ -48,7 +48,7 @@ class ezcConsoleProgressMonitorTest extends ezcTestCase

public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleProgressMonitorTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleProgressMonitorTest" );
}

public function testProgressMonitor1()
Expand Down
2 changes: 1 addition & 1 deletion tests/question_dialog_collection_validator_test.php
Expand Up @@ -35,7 +35,7 @@ class ezcConsoleQuestionDialogCollectionValidatorTest extends ezcTestCase
{
public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleQuestionDialogCollectionValidatorTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleQuestionDialogCollectionValidatorTest" );
}

public function testGetAccessDefaultSuccess()
Expand Down
2 changes: 1 addition & 1 deletion tests/question_dialog_mapping_validator_test.php
Expand Up @@ -35,7 +35,7 @@ class ezcConsoleQuestionDialogMappingValidatorTest extends ezcTestCase
{
public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleQuestionDialogMappingValidatorTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleQuestionDialogMappingValidatorTest" );
}

public function testGetAccessDefaultSuccess()
Expand Down
2 changes: 1 addition & 1 deletion tests/question_dialog_options_test.php
Expand Up @@ -35,7 +35,7 @@ class ezcConsoleQuestionDialogOptionsTest extends ezcTestCase
{
public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleQuestionDialogOptionsTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleQuestionDialogOptionsTest" );
}

public function testGetAccessDefaultSuccess()
Expand Down
2 changes: 1 addition & 1 deletion tests/question_dialog_regex_validator_test.php
Expand Up @@ -35,7 +35,7 @@ class ezcConsoleQuestionDialogRegexValidatorTest extends ezcTestCase
{
public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleQuestionDialogRegexValidatorTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleQuestionDialogRegexValidatorTest" );
}

public function testGetAccessDefaultSuccess()
Expand Down
2 changes: 1 addition & 1 deletion tests/question_dialog_test.php
Expand Up @@ -36,7 +36,7 @@ class ezcConsoleQuestionDialogTest extends ezcConsoleDialogTest

public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleQuestionDialogTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleQuestionDialogTest" );
}

public function testGetAccessSuccess()
Expand Down
2 changes: 1 addition & 1 deletion tests/question_dialog_type_validator_test.php
Expand Up @@ -35,7 +35,7 @@ class ezcConsoleQuestionDialogTypeValidatorTest extends ezcTestCase
{
public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleQuestionDialogTypeValidatorTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleQuestionDialogTypeValidatorTest" );
}

public function testGetAccessDefaultSuccess()
Expand Down
2 changes: 1 addition & 1 deletion tests/statusbar_options_test.php
Expand Up @@ -36,7 +36,7 @@ class ezcConsoleStatusbarOptionsTest extends ezcTestCase

public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleStatusbarOptionsTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleStatusbarOptionsTest" );
}

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/statusbar_test.php
Expand Up @@ -65,7 +65,7 @@ class ezcConsoleStatusbarTest extends ezcTestCase

public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleStatusbarTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleStatusbarTest" );
}

public function testStatusbar1()
Expand Down
2 changes: 1 addition & 1 deletion tests/string_tools_test.php
Expand Up @@ -106,7 +106,7 @@ public function provideTestStrPad()

public static function suite()
{
return new PHPUnit_Framework_TestSuite( __CLASS__ );
return new PHPUnit\Framework\TestSuite( __CLASS__ );
}
}
?>
2 changes: 1 addition & 1 deletion tests/table_cell_test.php
Expand Up @@ -36,7 +36,7 @@ class ezcConsoleTableCellTest extends ezcTestCase

public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleTableCellTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleTableCellTest" );
}

public function testConstructorSuccessDefault()
Expand Down
2 changes: 1 addition & 1 deletion tests/table_options_test.php
Expand Up @@ -36,7 +36,7 @@ class ezcConsoleTableOptionsTest extends ezcTestCase

public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleTableOptionsTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleTableOptionsTest" );
}

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/table_row_test.php
Expand Up @@ -35,7 +35,7 @@ class ezcConsoleTableRowTest extends ezcTestCase
{
public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleTableRowTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleTableRowTest" );
}

public function testCtorSuccess_1()
Expand Down
2 changes: 1 addition & 1 deletion tests/table_test.php
Expand Up @@ -70,7 +70,7 @@ class ezcConsoleTableTest extends ezcTestCase

public static function suite()
{
return new PHPUnit_Framework_TestSuite( "ezcConsoleTableTest" );
return new PHPUnit\Framework\TestSuite( "ezcConsoleTableTest" );
}

protected function setUp()
Expand Down

0 comments on commit 59dc224

Please sign in to comment.