Skip to content

Commit

Permalink
Merge pull request #463 from nkt/deprecated-modifier-tests
Browse files Browse the repository at this point in the history
Added missing tests for deprecated modifier #462
  • Loading branch information
ovr committed Jul 26, 2014
2 parents 1a35a4b + aa696d2 commit 46b942c
Show file tree
Hide file tree
Showing 21 changed files with 359 additions and 171 deletions.
2 changes: 2 additions & 0 deletions ext/config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ if test "$PHP_TEST" = "yes"; then
test/nativearray.zep.c
test/oo.zep.c
test/oo/abstractclass.zep.c
test/oo/deprecatedmethods.zep.c
test/oo/constantsinterface.zep.c
test/oo/dynamicprop.zep.c
test/oo/extendpdoclass.zep.c
Expand All @@ -60,6 +61,7 @@ if test "$PHP_TEST" = "yes"; then
test/oo/oonoconstruct.zep.c
test/oo/ooparams.zep.c
test/oo/propertyaccess.zep.c
test/operator.zep.c
test/pdostatement.zep.c
test/pregmatch.zep.c
test/properties/extendspublicproperties.zep.c
Expand Down
4 changes: 4 additions & 0 deletions ext/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ zend_class_entry *test_nativearray_ce;
zend_class_entry *test_oo_abstractclass_ce;
zend_class_entry *test_oo_ce;
zend_class_entry *test_oo_constantsinterface_ce;
zend_class_entry *test_oo_deprecatedmethods_ce;
zend_class_entry *test_oo_dynamicprop_ce;
zend_class_entry *test_oo_extendpdoclass_ce;
zend_class_entry *test_oo_ooconstruct_ce;
Expand All @@ -85,6 +86,7 @@ zend_class_entry *test_oo_oonativeimplements_ce;
zend_class_entry *test_oo_oonoconstruct_ce;
zend_class_entry *test_oo_ooparams_ce;
zend_class_entry *test_oo_propertyaccess_ce;
zend_class_entry *test_operator_ce;
zend_class_entry *test_pdostatement_ce;
zend_class_entry *test_pregmatch_ce;
zend_class_entry *test_properties_extendspublicproperties_ce;
Expand Down Expand Up @@ -330,6 +332,7 @@ static PHP_MINIT_FUNCTION(test)
ZEPHIR_INIT(Test_Oo);
ZEPHIR_INIT(Test_Oo_AbstractClass);
ZEPHIR_INIT(Test_Oo_ConstantsInterface);
ZEPHIR_INIT(Test_Oo_DeprecatedMethods);
ZEPHIR_INIT(Test_Oo_DynamicProp);
ZEPHIR_INIT(Test_Oo_ExtendPdoClass);
ZEPHIR_INIT(Test_Oo_OoConstruct);
Expand All @@ -339,6 +342,7 @@ static PHP_MINIT_FUNCTION(test)
ZEPHIR_INIT(Test_Oo_OoNoConstruct);
ZEPHIR_INIT(Test_Oo_OoParams);
ZEPHIR_INIT(Test_Oo_PropertyAccess);
ZEPHIR_INIT(Test_Operator);
ZEPHIR_INIT(Test_PdoStatement);
ZEPHIR_INIT(Test_Pregmatch);
ZEPHIR_INIT(Test_Properties_ExtendsPublicProperties);
Expand Down
2 changes: 2 additions & 0 deletions ext/test.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
#include "test/nativearray.zep.h"
#include "test/oo.zep.h"
#include "test/oo/abstractclass.zep.h"
#include "test/oo/deprecatedmethods.zep.h"
#include "test/oo/constantsinterface.zep.h"
#include "test/oo/dynamicprop.zep.h"
#include "test/oo/extendpdoclass.zep.h"
Expand All @@ -62,6 +63,7 @@
#include "test/oo/oonoconstruct.zep.h"
#include "test/oo/ooparams.zep.h"
#include "test/oo/propertyaccess.zep.h"
#include "test/operator.zep.h"
#include "test/pdostatement.zep.h"
#include "test/pregmatch.zep.h"
#include "test/properties/extendspublicproperties.zep.h"
Expand Down
3 changes: 1 addition & 2 deletions ext/test/bench/foo.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ext/test/branchprediction.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions ext/test/compare.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions ext/test/factorial.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ext/test/fcall.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 16 additions & 18 deletions ext/test/fibonnaci.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions ext/test/flow.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 9 additions & 15 deletions ext/test/mcall.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions ext/test/mcallchained.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 46b942c

Please sign in to comment.