zendframework/ZendQueue — pull request #6 by iwalz (2012-10-09 23:51:32+00:00)
Title: Some unit test fixes & co

The memcacheq fix does not break BC but solves a problem with the getQueue() method. In my memcacheq version (0.2.0) the value of the array looks like this:
```php
array(8) {
[0]=>
string(15) "testCount 11/11"
[1]=>
string(23) "testDeleteMessage 11/11"
[2]=>
string(37) "testZendQueueAdapterConstructor 11/11"
[3]=>
string(11) "ZF7650 39/1"
[4]=>
string(10) "queue1 1/1"
[5]=>
string(9) "queue 3/1"
[6]=>
string(17) "testFactory 11/11"
[7]=>
string(20) "testGetOptions 11/11"
}
```
Because of the way how isExists($name) was implemented, it was looking for the value $name and not something like $name*.

Also fixed some unit tests - I think the rename of the project has been done automatically and didn't catch the namespace usage from all tests.

With the --dev option, you can also change the structure of the unit testing bootstrap to run completly standalone - the only change has to be, that the constant's should be defined within that project on not in the zfcore tests anymore (want a pull request for that?).

The tests ran with memcacheq enabled. There's still an issue locally with the ActiveMQ implementation - will investigate further. Afterwards I'll try to run the whole testsuite and will see if the unit tests are working or not (maybe I didn't get all of the namespace issues due to many skips).