first commit
This commit is contained in:
@ -0,0 +1,13 @@
|
||||
ERROR: Alias 'Ns.BothWantThisName' in aliases in directive 'Ns.Dir2' collides with alias for directive 'Ns.Dir'
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: int
|
||||
DEFAULT: 3
|
||||
ALIASES: Ns.BothWantThisName
|
||||
----
|
||||
Ns.Dir2
|
||||
DESCRIPTION: Directive
|
||||
TYPE: string
|
||||
DEFAULT: 'a'
|
||||
ALIASES: Ns.BothWantThisName
|
@ -0,0 +1,12 @@
|
||||
ERROR: Alias 'Ns.Innocent' in aliases in directive 'Ns.Dir' collides with another directive
|
||||
----
|
||||
Ns.Innocent
|
||||
DESCRIPTION: Innocent directive
|
||||
TYPE: int
|
||||
DEFAULT: 3
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: string
|
||||
DEFAULT: 'a'
|
||||
ALIASES: Ns.Innocent
|
@ -0,0 +1,7 @@
|
||||
ERROR: Value 3 in allowed in directive 'Ns.Dir' must be a string
|
||||
----
|
||||
ID: Ns.Dir
|
||||
TYPE: string
|
||||
DESCRIPTION: Description
|
||||
DEFAULT: 'asdf'
|
||||
ALLOWED: 'asdf', 3
|
@ -0,0 +1,7 @@
|
||||
ERROR: Allowed in directive 'Ns.Dir' must not be empty
|
||||
----
|
||||
ID: Ns.Dir
|
||||
TYPE: string
|
||||
DESCRIPTION: Description
|
||||
DEFAULT: 'asdf'
|
||||
ALLOWED:
|
@ -0,0 +1,7 @@
|
||||
ERROR: Default in directive 'Ns.Dir' must be an allowed value
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: string
|
||||
DEFAULT: 'a'
|
||||
ALLOWED: 'b'
|
@ -0,0 +1,5 @@
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: string/null
|
||||
DEFAULT: null
|
||||
ALLOWED: 'a'
|
@ -0,0 +1,6 @@
|
||||
ERROR: Expected type string, got integer in DEFAULT in directive hash 'Ns.Dir'
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: string
|
||||
DEFAULT: 0
|
@ -0,0 +1,5 @@
|
||||
ERROR: Description in directive 'Ns.Dir' must not be empty
|
||||
----
|
||||
Ns.Dir
|
||||
TYPE: int
|
||||
DEFAULT: 0
|
@ -0,0 +1,3 @@
|
||||
Ns
|
||||
DESCRIPTION: Namespace
|
||||
|
@ -0,0 +1,5 @@
|
||||
ERROR: TYPE in directive hash 'Ns.Dir' not defined
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Notice that TYPE is missing
|
||||
DEFAULT: 0
|
@ -0,0 +1,6 @@
|
||||
ERROR: Invalid type 'foobar' in DEFAULT in directive hash 'Ns.Dir'
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: foobar
|
||||
DEFAULT: 0
|
@ -0,0 +1,7 @@
|
||||
ERROR: Type in directive 'Ns.Dir' must be a string type when used with allowed or value aliases
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: int
|
||||
DEFAULT: 3
|
||||
ALLOWED: 1, 2, 3
|
@ -0,0 +1,7 @@
|
||||
ERROR: Type in directive 'Ns.Dir' must be a string type when used with allowed or value aliases
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: int
|
||||
DEFAULT: 3
|
||||
VALUE-ALIASES: 2 => 3
|
@ -0,0 +1,11 @@
|
||||
ERROR: Cannot redefine directive 'Ns.Dir'
|
||||
----
|
||||
ID: Ns.Dir
|
||||
DESCRIPTION: Version 1
|
||||
TYPE: int
|
||||
DEFAULT: 0
|
||||
----
|
||||
ID: Ns.Dir
|
||||
DESCRIPTION: Version 2
|
||||
TYPE: int
|
||||
DEFAULT: 0
|
@ -0,0 +1,7 @@
|
||||
ERROR: Alias 3 in valueAliases in directive 'Ns.Dir' must be a string
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: string
|
||||
DEFAULT: 'a'
|
||||
VALUE-ALIASES: 3 => 'a'
|
@ -0,0 +1,8 @@
|
||||
ERROR: Alias 'b' in valueAliases in directive 'Ns.Dir' must not be an allowed value
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: string
|
||||
DEFAULT: 'a'
|
||||
ALLOWED: 'a', 'b', 'c'
|
||||
VALUE-ALIASES: 'b' => 'c'
|
@ -0,0 +1,7 @@
|
||||
ERROR: Alias 'bar' in valueAliases in directive 'Ns.Dir' must not be an alias to itself
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: string
|
||||
DEFAULT: 'foo'
|
||||
VALUE-ALIASES: 'bar' => 'bar'
|
@ -0,0 +1,8 @@
|
||||
ERROR: Alias 'c' in valueAliases in directive 'Ns.Dir' must be an alias to an allowed value
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: string
|
||||
DEFAULT: 'a'
|
||||
ALLOWED: 'a', 'b'
|
||||
VALUE-ALIASES: 'c' => 'd'
|
@ -0,0 +1,7 @@
|
||||
ERROR: Alias target 3 from alias 'b' in valueAliases in directive 'Ns.Dir' must be a string
|
||||
----
|
||||
Ns.Dir
|
||||
DESCRIPTION: Directive
|
||||
TYPE: string
|
||||
DEFAULT: 'a'
|
||||
VALUE-ALIASES: 'b' => 3
|
Reference in New Issue
Block a user