Lines Matching refs:assertTrue
235 $this->assertTrue(stristr($xhtml, 'showme') !== false);
236 $this->assertTrue(stristr($xhtml, 'hideme') === false);
240 $this->assertTrue(stristr($xhtml, 'showme') === false);
241 $this->assertTrue(stristr($xhtml, 'hideme') !== false);
249 $this->assertTrue(auth_expr_parse('user')->evaluate());
251 $this->assertTrue(auth_expr_parse('!user2')->evaluate());
253 $this->assertTrue(auth_expr_parse('@group')->evaluate());
255 $this->assertTrue(auth_expr_parse('!@group2')->evaluate());
258 $this->assertTrue(auth_expr_parse('user || @group')->evaluate());
259 $this->assertTrue(auth_expr_parse('user || !@group')->evaluate());
260 $this->assertTrue(auth_expr_parse('!user || @group')->evaluate());
263 $this->assertTrue(auth_expr_parse('user || @group2')->evaluate());
264 $this->assertTrue(auth_expr_parse('user2 || @group')->evaluate());
266 $this->assertTrue(auth_expr_parse('user && @group')->evaluate());
274 $this->assertTrue(auth_expr_parse('(user || @group)')->evaluate());
275 $this->assertTrue(auth_expr_parse('(user || !@group)')->evaluate());
276 $this->assertTrue(auth_expr_parse('(!user || @group)')->evaluate());
279 $this->assertTrue(auth_expr_parse('(user || @group2)')->evaluate());
280 $this->assertTrue(auth_expr_parse('(user2 || @group)')->evaluate());
285 $this->assertTrue(auth_expr_parse('!(!user || !@group)')->evaluate());
286 $this->assertTrue(auth_expr_parse('!(user2 || @group2)')->evaluate());
290 $this->assertTrue(auth_expr_parse('user, @group')->evaluate());
291 $this->assertTrue(auth_expr_parse('user, !@group')->evaluate());
292 $this->assertTrue(auth_expr_parse('!user, @group')->evaluate());
295 $this->assertTrue(auth_expr_parse('user, @group2')->evaluate());
296 $this->assertTrue(auth_expr_parse('user2, @group')->evaluate());
322 $this->assertTrue(mail_isvalid($info['email']));
324 $this->assertTrue(false !== strtotime($info['date']));