diff options
author | valmat <ufabiz@gmail.com> | 2014-04-06 00:10:59 +0600 |
---|---|---|
committer | valmat <ufabiz@gmail.com> | 2014-04-06 00:10:59 +0600 |
commit | cdae9845ac7c223d12bafc0fcd146cfae2c61363 (patch) | |
tree | 99b1a2a30734fcfb5286e432cbae5d15258ae596 /tests/cpp | |
parent | 61374e5ddd285f9a125a52005ad7eaefd3585f02 (diff) |
Changed the test php/phpt/class_obj/005-static-prop.phpt Included checking the static properties:
https://github.com/CopernicaMarketingSoftware/PHP-CPP/commit/ffdccb83d460791202bdb258dbb9106da877da3b
Diffstat (limited to 'tests/cpp')
-rw-r--r-- | tests/cpp/main.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/cpp/main.cpp b/tests/cpp/main.cpp index 6d1eab3..84d95d8 100644 --- a/tests/cpp/main.cpp +++ b/tests/cpp/main.cpp @@ -52,7 +52,12 @@ extern "C" customClass.property("CONSTANT1", "some string", Php::Const); customClass.property("EXP", 2.718281828459, Php::Const); customClass.property("CONSTANT2", -2582341, Php::Const); - customClass.property("CONSTANT1", true, Php::Const); + customClass.property("CONSTANT3", true, Php::Const); + + customClass.property("StatProp1", "some string", Php::Static); + customClass.property("Exp", 2.718281828459, Php::Static); + customClass.property("StatProp2", -2582341, Php::Static); + customClass.property("StatProp3", true, Php::Static); // add the class to the extension extension.add(customClass); |