1..54
# ->clear()
ok 1 - ->clear() clears all parameters
ok 2 - ->clear() clears all parameters
# ->get()
ok 3 - ->get() returns the parameter value for the given key
ok 4 - ->get() returns null if the key does not exist
ok 5 - ->get() takes the default value as its second argument
ok 6 - ->get() takes an optional namespace as its third argument
ok 7 - ->get() can have the same key for several namespaces
# ->getNames()
ok 8 - ->getNames() returns all key names for the default namespace
ok 9 - ->getNames() takes a namepace as its first argument
# ->getNamespaces()
ok 10 - ->getNamespaces() returns all non empty namespaces
# ->setDefaultNamespace()
Warning: Invalid argument supplied for foreach() in /home/zululandmx/wojtyszyn.pl/symfony-1.2.10/lib/util/sfNamespacedParameterHolder.class.php on line 371
ok 11 - ->setDefaultNamespace() sets the default namespace
ok 12 - ->setDefaultNamespace() moves values from the old namespace to the new
ok 13 - ->setDefaultNamespace() moves values from the old namespace to the new
ok 14 - ->setDefaultNamespace() does not move old values to the new namespace if the second argument is false
ok 15 - ->setDefaultNamespace() does not move old values to the new namespace if the second argument is false
# ->getAll()
ok 16 - ->getAll() returns all parameters from the default namespace
# ->has()
ok 17 - ->has() returns true if the key exists
ok 18 - ->has() returns false if the key does not exist
ok 19 - ->has() returns false if the key exists but in another namespace
ok 20 - ->has() returns true if the key exists in the namespace given as its second argument
# ->hasNamespace()
ok 21 - ->hasNamespace() returns true for the default namespace
ok 22 - ->hasNamespace() returns true if the namespace exists
ok 23 - ->hasNamespace() returns false if the namespace does not exist
# ->remove()
ok 24 - ->remove() removes the key from parameters
ok 25 - ->remove() removes the key from parameters
ok 26 - ->remove() removes the key from parameters for a given namespace
ok 27 - ->remove() takes a namespace as its third argument
ok 28 - ->remove() takes a default value as its second argument
ok 29 - ->remove() removes the key from parameters
# ->removeNamespace()
ok 30 - ->removeNamespace() removes all keys and values from a namespace
ok 31 - ->removeNamespace() removes all keys and values from a namespace
ok 32 - ->removeNamespace() does not remove keys in other namepaces
ok 33 - ->removeNamespace() removes all keys and values from the default namespace by default
ok 34 - ->removeNamespace() removes all keys and values from the default namespace by default
ok 35 - ->removeNamespace() does not remove keys in other namepaces
ok 36 - ->removeNamespace() takes a namespace as its first parameter
ok 37 - ->removeNamespace() removes all the keys from parameters
# ->set()
ok 38 - ->set() sets the value for a key
ok 39 - ->set() sets the value for a key, not a reference
ok 40 - ->set() takes a namespace as its third parameter
# ->setByRef()
ok 41 - ->setByRef() sets the value for a key
ok 42 - ->setByRef() sets the value for a key as a reference
ok 43 - ->setByRef() takes a namespace as its third parameter
# ->add()
ok 44 - ->add() adds an array of parameters
ok 45 - ->add() takes a namespace as its second argument
ok 46 - ->add() adds an array of parameters, not a reference
# ->addByRef()
ok 47 - ->add() adds an array of parameters
ok 48 - ->add() takes a namespace as its second argument
ok 49 - ->add() adds a reference of an array of parameters
# ->serialize() ->unserialize()
ok 50 - sfNamespacedParameterHolder implements the Serializable interface
# Array path as a key
ok 51 - ->has() can takes a multi-array key
ok 52 - ->has() can takes a multi-array key
ok 53 - ->remove() can takes a multi-array key
ok 54 - ->remove() can takes a multi-array key
Looks like everything went fine.