Fix coding standards in Case/Event

This commit is contained in:
mark_story 2012-03-12 21:22:17 -04:00
parent 8b797b2577
commit b2d393eeb9

View file

@ -59,6 +59,7 @@ class CakeEventTestListener {
public function stopListener($event) {
$event->stopPropagation();
}
}
/**
@ -87,6 +88,7 @@ class CustomTestEventListerner extends CakeEventTestListener implements CakeEven
public function thirdListenerFunction() {
$this->callStack[] = __FUNCTION__;
}
}
/**
@ -270,7 +272,6 @@ class CakeEventManagerTest extends CakeTestCase {
$this->assertTrue($event->isStopped());
}
/**
* Tests event dispatching using priorities
*
@ -316,7 +317,7 @@ class CakeEventManagerTest extends CakeTestCase {
$listener = $this->getMock('CustomTestEventListerner', array('secondListenerFunction'));
$manager->attach($listener);
$event = new CakeEvent('fake.event');
$manager->dispatch($event);
$expected = array('listenerFunction');
@ -402,4 +403,4 @@ class CakeEventManagerTest extends CakeTestCase {
$expected = array('secondListenerFunction');
$this->assertEquals($expected, $listener->callStack);
}
}
}