Changeset 91
- Timestamp:
- 02/18/07 15:47:10 (2 years ago)
- Files:
-
- trunk/XJConf/converters/AutoPrimitiveValueConverter.php (added)
- trunk/XJConf/converters/factories/AutoPrimitiveValueConverterFactory.php (added)
- trunk/XJConf/converters/factories/ValueConverterFactoryChain.php (modified) (3 diffs)
- trunk/examples/xml/defines-auto-primitives.xml (added)
- trunk/examples/xml/test-auto-primitives.xml (added)
- trunk/tests/integration/TestAutoPrimitivesTestCase.php (added)
- trunk/tests/runIntegration.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/XJConf/converters/factories/ValueConverterFactoryChain.php
r87 r91 9 9 */ 10 10 XJConfLoader::load('converters.factories.ValueConverterFactory', 11 'converters.factories.AutoPrimitiveValueConverterFactory', 11 12 'converters.factories.PrimitiveValueConverterFactory', 12 13 'converters.factories.ArrayValueConverterFactory', … … 55 56 } 56 57 } 57 58 58 throw new ValueConversionException('Could not find ValueConverterFactory for definition of tag <' . $def->getName() . '> with type "' . $def->getType() . '". If this type is a class it probably has not been loaded.'); 59 59 } … … 62 62 // initialize the ValueConverterFactoryChain 63 63 ValueConverterFactoryChain::push(new PrimitiveValueConverterFactory()); 64 ValueConverterFactoryChain::push(new AutoPrimitiveValueConverterFactory()); 64 65 ValueConverterFactoryChain::push(new ArrayValueConverterFactory()); 65 66 ValueConverterFactoryChain::push(new StaticClassValueConverterFactory()); trunk/tests/runIntegration.php
r89 r91 37 37 $test->addTestFile(TEST_CWD . '/integration/TestEmptyConstructorTestCase.php'); 38 38 $test->addTestFile(TEST_CWD . '/integration/TestInterfacesTestCase.php'); 39 $test->addTestFile(TEST_CWD . '/integration/TestAutoPrimitivesTestCase.php'); 39 40 $test->addTestFile(TEST_CWD . '/integration/TestPrimitivesTestCase.php'); 40 41 $test->addTestFile(TEST_CWD . '/integration/TestPrimitivesFactoryTestCase.php');
