Sebastian Bergmann schrieb:
> What is the current status of the Reflection component?

 Now I get

ezcUnitTest uses the PHPUnit 3.2.8 framework from Sebastian Bergmann.

[Preparing tests]:
eZ Components:
  Reflection:
    ezcReflectionClassTest:                 ......E.......
    ezcReflectionClassExternalTest:         ..............
    ezcReflectionTest:                      .
    ezcReflectionExtensionTest:             ..
    ezcReflectionFunctionTest:              ........
    ezcReflectionMethodTest:                .............
    ezcReflectionParameterTest:             .F.........
    ezcReflectionPropertyTest:              F..........F
    ezcReflectionDocParserTest:             ........
    ezcReflectionDocTagFactoryTest:         .
    ezcReflectionTypeFactoryTest:           ...
    ezcReflectionTypeMapperTest:            ...

Time: 0 seconds

There was 1 error:

1) testGetProperty(ezcReflectionClassTest)
Declaration of ezcReflectionProperty::getValue() should be compatible with
that of ReflectionProperty::getValue()
/usr/local/src/ezcomponents/trunk/Base/src/base.php:357
/usr/local/src/ezcomponents/trunk/Base/src/base.php:357
/usr/local/src/ezcomponents/trunk/Base/src/base.php:119
/usr/local/src/ezcomponents/experimental/Reflection/src/class.php:194
/usr/local/src/ezcomponents/experimental/Reflection/tests/class_test.php:77

--

There were 3 failures:

1) testGetClass(ezcReflectionParameterTest)
Failed asserting that two strings are equal.
expected string <NoneExistingType>
difference      <xxxxxxxxxxxxxxx?>
got string      <ReflectionClass>
/usr/local/src/ezcomponents/experimental/Reflection/tests/parameter_test.php:43

2) testGetType(ezcReflectionPropertyTest)
Failed asserting that two strings are equal.
expected string <int[]>
difference      <?????>
got string      <>
/usr/local/src/ezcomponents/experimental/Reflection/tests/property_test.php:30

3) testGetDocComment(ezcReflectionPropertyTest)
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ -1,3 +1,3 @@
-/**
-       * @var int[]
+/**
+       * @var int[]
        */
\ No newline at end of file

/usr/local/src/ezcomponents/experimental/Reflection/tests/property_test.php:89

FAILURES!
Tests: 90, Failures: 3, Errors: 1.

-- 
Sebastian Bergmann
System Developer
[EMAIL PROTECTED] | eZ Systems | http://ez.no

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to