Home
last modified time | relevance | path

Searched refs:SUT (Results 1 – 25 of 66) sorted by relevance

123

/plugin/findologicxmlexport/vendor/hoa/compiler/Test/Unit/Llk/
DTreeNode.php39 use Hoa\Compiler\Llk\TreeNode as SUT; alias
56 ->when($node = new SUT('foo'))
66 ->when($node = new SUT($id))
87 ->when($node = new SUT($id, $value))
107 $children = [new SUT('baz'), new SUT('qux')]
109 ->when($node = new SUT($id, $value, $children))
129 $children = [new SUT('baz'), new SUT('qux')],
130 $parent = new SUT('root')
132 ->when($node = new SUT($id, $value, $children, $parent))
149 ->given($node = new SUT('foo'))
[all …]
DLlk.php40 use Hoa\Compiler\Llk\Llk as SUT; alias
59 SUT::load($stream);
83 ->when($result = SUT::load($stream))
108 $parser = SUT::load($stream)
110 ->when($result = SUT::save($parser, 'Foobar'))
219 ->when($result = SUT::parsePP($pp, $tokens, $rules, $pragmas, 'streamFoo'))
254 ->when($result = SUT::parsePP($pp, $tokens, $rules, $pragmas, 'streamFoo'))
287 ->when($result = SUT::parsePP($pp, $tokens, $rules, $pragmas, 'streamFoo'))
314 SUT::parsePP($pp, $tokens, $rules, $pragmas, 'streamFoo');
338 ->when($result = SUT::parsePP($pp, $tokens, $rules, $pragmas, 'streamFoo'))
[all …]
DLexer.php40 use Hoa\Compiler\Llk\Lexer as SUT; alias
57 $lexer = new SUT(),
75 $lexer = new SUT(),
137 $lexer = new SUT(),
172 $lexer = new SUT(),
231 $lexer = new SUT(),
290 $lexer = new SUT(),
313 $lexer = new SUT(),
338 $lexer = new SUT(),
400 $lexer = new SUT(),
[all …]
/plugin/findologicxmlexport/vendor/hoa/exception/Test/Unit/
DGroup.php39 use Hoa\Exception\Group as SUT; alias
55 ->when($result = new SUT('foo'))
71 $previous = new SUT('previous')
73 ->when($result = new SUT($message, $code, $arguments, $previous), $line = __LINE__)
90 ->given($group = new SUT('foo'), $line = __LINE__)
104 $exception1 = new SUT('bar'), $barLine = __LINE__,
105 $group = new SUT('foo'), $fooLine = __LINE__,
124 $exception1 = new SUT('bar'), $barLine = __LINE__,
125 $exception2 = new SUT('baz'), $bazLine = __LINE__,
126 $group = new SUT('foo'), $fooLine = __LINE__,
[all …]
DIdle.php39 use Hoa\Exception\Idle as SUT; alias
55 ->when($result = new SUT('foo'))
64 ->given($exception = new SUT('foo'))
82 $previous = new SUT('previous'),
83 $exception = new SUT('foo', 0, [], $previous)
94 ->given($exception = new SUT('foo', 0, ['arg', 42, null]))
104 ->given($exception = new SUT('foo', 0, 'arg'))
116 $exception = new SUT($message)
129 $exception = new SUT($message, 0, 'bar')
141 ->given($exception = new SUT('foo'))
[all …]
/plugin/findologicxmlexport/vendor/hoa/protocol/Test/Unit/Node/
DNode.php40 use Hoa\Protocol\Node\Node as SUT; alias
56 ->when($result = new SUT())
66 ->when($result = new SUT())
78 ->when($result = new SUT($name))
91 $children = [new SUT('bar'), new SUT('baz')]
93 ->when($result = new SUT($name, '', $children))
105 $root = new SUT(),
107 $node = new SUT(),
121 ->given($root = new SUT())
131 ->given($root = new SUT())
[all …]
/plugin/findologicxmlexport/vendor/hoa/stream/Test/Unit/Filter/
DFilter.php40 use Hoa\Stream\Filter as SUT; alias
56 ->boolean(SUT::OVERWRITE)
58 ->boolean(SUT::DO_NOT_OVERWRITE)
60 ->integer(SUT::READ)
62 ->integer(SUT::WRITE)
64 ->integer(SUT::READ_AND_WRITE)
71 ->when($result = SUT::register('foo', \StdClass::class))
83 SUT::register($name, $class)
86 SUT::register($name, $class);
97 SUT::register($name, \StdClass::class),
[all …]
DBasic.php40 use Mock\Hoa\Stream\Filter\Basic as SUT; alias
56 ->integer(SUT::PASS_ON)
58 ->integer(SUT::FEED_ME)
60 ->integer(SUT::FATAL_ERROR)
62 ->integer(SUT::FLAG_NORMAL)
64 ->integer(SUT::FLAG_FLUSH_INC)
66 ->integer(SUT::FLAG_FLUSH_CLOSE)
73 ->when($result = new SUT())
82 ->when($result = new SUT())
91 ->given($filter = new SUT())
[all …]
/plugin/findologicxmlexport/vendor/hoa/stream/Test/Unit/Wrapper/
DWrapper.php40 use Hoa\Stream\Wrapper\Wrapper as SUT; alias
56 ->given($oldIsRegistered = SUT::isRegistered('foo'))
57 ->when($result = SUT::register('foo', 'StdClass'))
63 ->boolean(SUT::isRegistered('foo'))
71 SUT::register('php', 'ClassName');
81 SUT::register('foo', 'ClassName');
94 SUT::register('foo', 'StdClass'),
95 $oldIsRegistered = SUT::isRegistered('foo')
97 ->when($result = SUT::unregister('foo'))
103 ->boolean(SUT::isRegistered('foo'))
[all …]
/plugin/findologicxmlexport/vendor/hoa/event/Test/Unit/
DEvent.php40 use Hoa\Event\Event as SUT; alias
57 ->when($result = SUT::getEvent($eventId))
61 ->object(SUT::getEvent($eventId))
72 ->when($result = SUT::register($eventId, $source))
76 ->boolean(SUT::eventExists($eventId))
87 ->when($result = SUT::register($eventId, $source))
91 ->boolean(SUT::eventExists($eventId))
101 SUT::register($eventId, $source)
104 SUT::register($eventId, $source);
117 $result = SUT::register($eventId, $source);
[all …]
DListener.php40 use Hoa\Event\Listener as SUT; alias
60 ->when($result = new SUT($source, $ids))
78 $listener = new SUT($source, ['foo', 'bar']),
97 $listener = new SUT($source, ['foo', 'baz']),
112 $listener = new SUT($source, ['foo', 'bar']),
132 $listener = new SUT($source, ['foo', 'baz']),
147 $listener = new SUT($source, ['foo', 'bar'])
163 $listener = new SUT($source, ['foo', 'baz'])
177 $listener = new SUT($source, $ids)
200 $listener = new SUT($source, $ids),
[all …]
/plugin/findologicxmlexport/vendor/hoa/stream/Test/Unit/
DContext.php40 use Hoa\Stream\Context as SUT; alias
57 SUT::getInstance(null);
65 ->when($result = SUT::getInstance('foo'))
68 ->isInstanceOf(SUT::class);
74 ->when($result = SUT::getInstance('foo'))
77 ->isNotIdenticalTo(SUT::getInstance('bar'));
83 ->when($result = SUT::getInstance('foo'))
86 ->isIdenticalTo(SUT::getInstance('foo'));
94 $context = SUT::getInstance($id)
107 SUT::getInstance($id)
[all …]
DBucket.php39 use Hoa\Stream\Bucket as SUT; alias
55 ->boolean(SUT::IS_A_BRIGADE)
57 ->boolean(SUT::IS_A_STREAM)
65 ->when($result = new SUT($brigade, SUT::IS_A_BRIGADE))
68 ->isEqualTo(SUT::IS_A_BRIGADE)
81 ->when($result = new SUT($stream, SUT::IS_A_STREAM, $buffer))
84 ->isEqualTo(SUT::IS_A_STREAM)
102 $bucket = new SUT($stream, SUT::IS_A_STREAM)
116 $bucket = new SUT($stream, SUT::IS_A_STREAM, $oldBuffer),
141 $bucket = new SUT($stream, SUT::IS_A_STREAM, $buffer)
[all …]
DStream.php56 ->when($result = new SUT(__FILE__))
66 ->integer(SUT::NAME)
68 ->integer(SUT::HANDLER)
70 ->integer(SUT::RESOURCE)
72 ->integer(SUT::CONTEXT)
80 ->when($result = new SUT($name))
123 ->when($result = new SUT($name, $contextName))
137 ->when($result = new SUT($name, null, true))
152 $stream = new SUT($name, null, true)
165 ->isEqualTo(SUT::DEFAULT_BUFFER_SIZE);
[all …]
/plugin/findologicxmlexport/vendor/hoa/consistency/Test/Unit/
DConsistency.php39 use Hoa\Consistency\Consistency as SUT; alias
60 ->when($result = SUT::entityExists('foo'))
89 ->when($result = SUT::entityExists('foo'))
98 ->when($result = SUT::getEntityShortestName('Foo\Bar\Bar'))
107 ->when($result = SUT::getEntityShortestName('Foo\Bar'))
116 ->when($result = SUT::getEntityShortestName('Foo'))
218 ->boolean(SUT::isKeyword($keyword))
231 ->boolean(SUT::isIdentifier($identifier))
255 ->when($result = SUT::registerShutdownFunction($callable))
265 ->when($result = SUT::getPHPBinary())
[all …]
DAutoloader.php39 use Hoa\Consistency\Autoloader as SUT; alias
56 $autoloader = new SUT(),
79 $autoloader = new SUT(),
102 $autoloader = new SUT(),
118 $autoloader = new SUT(),
134 $autoloader = new SUT(),
165 ->given($autoloader = new SUT())
224 $autoloader = new SUT(),
245 $autoloader = new SUT(),
257 ->given($autoloader = new SUT())
[all …]
DXcallable.php39 use Hoa\Consistency\Xcallable as SUT; alias
55 ->when($result = new SUT('strtoupper'))
73 ->when($result = new SUT(__CLASS__ . '::strtoupper'))
91 ->when($result = new SUT(__CLASS__, 'strtoupper'))
109 ->when($result = new SUT($this, 'strtolower'))
131 ->when($result = new SUT($this))
158 ->when($result = new SUT($closure))
176 ->when($result = new SUT([__CLASS__, 'strtoupper']))
194 ->when($result = new SUT([$this, 'strtolower']))
217 new SUT(__CLASS__, 123);
[all …]
/plugin/findologicxmlexport/vendor/hoa/compiler/Test/Unit/Llk/Rule/
DRule.php40 use Mock\Hoa\Compiler\Llk\Rule as SUT; alias
59 ->when($result = new SUT($name, $children))
79 ->when($result = new SUT($name, $children, $nodeId))
97 $rule = new SUT($name, $children)
111 $rule = new SUT('foo', $children),
126 $rule = new SUT($name, $children)
140 $rule = new SUT($name, ['bar']),
156 $rule = new SUT($name, $children, $nodeId)
170 $rule = new SUT($name, $children),
185 $rule = new SUT($name, $children),
[all …]
DToken.php40 use Hoa\Compiler\Llk\Rule\Token as SUT; alias
56 ->when($result = new SUT('name', 'tokenName', 'nodeId', 0))
71 ->when($result = new SUT($name, $tokenName, $nodeId, $unification))
95 ->when($result = new SUT($name, $tokenName, $nodeId, $unification, $kept))
117 $token = new SUT($name, $tokenName, $nodeId, $unification)
134 $token = new SUT($name, $tokenName, $nodeId, $unification)
151 $token = new SUT($name, $tokenName, $nodeId, $unification),
169 $token = new SUT($name, $tokenName, $nodeId, $unification)
186 $token = new SUT($name, $tokenName, $nodeId, $unification),
204 $token = new SUT($name, $tokenName, $nodeId, $unification),
[all …]
/plugin/findologicxmlexport/vendor/hoa/protocol/Test/Unit/
DWrapper.php40 use Hoa\Protocol\Wrapper as SUT; alias
56 ->given($wrapper = new SUT())
66 ->given($wrapper = new SUT())
77 $wrapper = new SUT(),
94 $wrapper = new SUT(),
109 $wrapper = new SUT()
121 $wrapper = new SUT(),
144 $wrapper = new SUT(),
189 $wrapper = new SUT()
230 $wrapper = new SUT()
[all …]
DProtocol.php39 use Hoa\Protocol\Protocol as SUT; alias
55 ->when($result = SUT::getInstance())
64 ->when($result = SUT::getInstance())
93 ->given($protocol = SUT::getInstance())
103 ->given($protocol = SUT::getInstance())
107 ->isEqualTo(SUT::NO_RESOLUTION);
113 ->given($protocol = SUT::getInstance())
123 ->given($protocol = SUT::getInstance())
137 $protocol = SUT::getInstance()
/plugin/findologicxmlexport/vendor/hoa/stream/Test/Integration/Filter/
DFilter.php39 use Hoa\Stream\Filter as SUT; alias
63 SUT::append($stream, $name),
82 SUT::prepend($stream, $name),
102 SUT::append($stream, $name1),
103 SUT::append($stream, $name2),
123 SUT::append($stream, $name1),
124 SUT::prepend($stream, $name2),
144 SUT::prepend($stream, $name1),
145 SUT::prepend($stream, $name2),
165 $this->resource(SUT::prepend($stream, $name));
/plugin/findologicxmlexport/vendor/hoa/stream/Test/Unit/IStream/
DTouchable.php40 use Hoa\Stream\IStream\Touchable as SUT; alias
59 ->isInstanceOf(SUT::class)
66 ->when($result = SUT::OVERWRITE)
71 ->when($result = SUT::DO_NOT_OVERWRITE)
76 ->when($result = SUT::MAKE_DIRECTORY)
81 ->when($result = SUT::DO_NOT_MAKE_DIRECTORY)
DLockable.php40 use Hoa\Stream\IStream\Lockable as SUT; alias
59 ->isInstanceOf(SUT::class)
66 ->when($result = SUT::LOCK_SHARED)
71 ->when($result = SUT::LOCK_EXCLUSIVE)
76 ->when($result = SUT::LOCK_RELEASE)
81 ->when($result = SUT::LOCK_NO_BLOCK)
/plugin/findologicxmlexport/vendor/hoa/compiler/Test/Integration/Llk/Rule/
DAnalyzer.php41 use Hoa\Compiler\Llk\Rule\Analyzer as SUT; alias
70 $analyzer = new SUT($tokens),
92 $analyzer = new SUT($tokens),
124 $analyzer = new SUT($tokens),
173 $analyzer = new SUT($tokens),
194 $analyzer = new SUT($tokens),
217 $analyzer = new SUT($tokens),
240 $analyzer = new SUT($tokens),
264 $analyzer = new SUT($tokens),
293 ->given($analyzer = new SUT([]))
[all …]

123