mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 15:54:03 +02:00
parent
c86874d4ba
commit
8a062ff3e5
@ -48,7 +48,7 @@ abstract class Query extends AbstractQuery
|
|||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
private $viewClass = '\Monitoring\Backend\Statusdat\DataView\StatusdatServiceView';
|
private $viewClass = '\Icinga\Module\Monitoring\Backend\Statusdat\DataView\StatusdatServiceView';
|
||||||
private $baseQuery = null;
|
private $baseQuery = null;
|
||||||
|
|
||||||
public function setBaseQuery(StatusdatQuery $query)
|
public function setBaseQuery(StatusdatQuery $query)
|
||||||
@ -58,7 +58,7 @@ abstract class Query extends AbstractQuery
|
|||||||
|
|
||||||
public function setResultViewClass($viewClass)
|
public function setResultViewClass($viewClass)
|
||||||
{
|
{
|
||||||
$this->viewClass = '\Monitoring\Backend\Statusdat\DataView\\'.$viewClass;
|
$this->viewClass = '\Icinga\Module\Monitoring\Backend\Statusdat\DataView\\'.$viewClass;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ use \Test\Icinga\Web\Form\BaseFormTest;
|
|||||||
|
|
||||||
class AcknowledgeFormTest extends BaseFormTest
|
class AcknowledgeFormTest extends BaseFormTest
|
||||||
{
|
{
|
||||||
const FORMCLASS = 'Monitoring\Form\Command\AcknowledgeForm';
|
const FORMCLASS = '\Icinga\Module\Monitoring\Form\Command\AcknowledgeForm';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set up the default time zone
|
* Set up the default time zone
|
||||||
|
@ -13,7 +13,7 @@ use \Test\Icinga\Web\Form\BaseFormTest;
|
|||||||
|
|
||||||
class CommentFormTest extends BaseFormTest
|
class CommentFormTest extends BaseFormTest
|
||||||
{
|
{
|
||||||
const FORMCLASS = 'Monitoring\Form\Command\CommentForm';
|
const FORMCLASS = '\Icinga\Module\Monitoring\Form\Command\CommentForm';
|
||||||
|
|
||||||
public function testCorrectCommentValidation()
|
public function testCorrectCommentValidation()
|
||||||
{
|
{
|
||||||
|
@ -15,7 +15,7 @@ use \Test\Icinga\Web\Form\BaseFormTest;
|
|||||||
|
|
||||||
class CommandWithIdentifierFormTest extends BaseFormTest
|
class CommandWithIdentifierFormTest extends BaseFormTest
|
||||||
{
|
{
|
||||||
const FORMCLASS = "Monitoring\Form\Command\CommandWithIdentifierForm";
|
const FORMCLASS = "\Icinga\Module\Monitoring\Form\Command\CommandWithIdentifierForm";
|
||||||
public function testForm()
|
public function testForm()
|
||||||
{
|
{
|
||||||
$form = $this->getRequestForm(array(), self::FORMCLASS);
|
$form = $this->getRequestForm(array(), self::FORMCLASS);
|
||||||
|
@ -13,7 +13,7 @@ use \Icinga\Module\Monitoring\Form\Command\CustomNotificationForm; // Used by co
|
|||||||
|
|
||||||
class CustomNotificationFormTest extends BaseFormTest
|
class CustomNotificationFormTest extends BaseFormTest
|
||||||
{
|
{
|
||||||
const FORM_CLASS = 'Monitoring\Form\Command\CustomNotificationForm';
|
const FORM_CLASS = '\Icinga\Module\Monitoring\Form\Command\CustomNotificationForm';
|
||||||
|
|
||||||
public function testFormInvalidWhenCommentMissing()
|
public function testFormInvalidWhenCommentMissing()
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,7 @@ use \Icinga\Module\Monitoring\Form\Command\DelayNotificationForm; // Used by con
|
|||||||
|
|
||||||
class DelayNotificationFormTest extends BaseFormTest
|
class DelayNotificationFormTest extends BaseFormTest
|
||||||
{
|
{
|
||||||
const FORM_CLASS = 'Monitoring\Form\Command\DelayNotificationForm';
|
const FORM_CLASS = '\Icinga\Module\Monitoring\Form\Command\DelayNotificationForm';
|
||||||
|
|
||||||
public function testFormInvalidWhenNotificationDelayMissing()
|
public function testFormInvalidWhenNotificationDelayMissing()
|
||||||
{
|
{
|
||||||
|
@ -17,7 +17,7 @@ use \Test\Icinga\Web\Form\BaseFormTest;
|
|||||||
|
|
||||||
class RescheduleNextCheckFormTest extends BaseFormTest
|
class RescheduleNextCheckFormTest extends BaseFormTest
|
||||||
{
|
{
|
||||||
const FORM_CLASS = 'Monitoring\Form\Command\RescheduleNextCheckForm';
|
const FORM_CLASS = '\Icinga\Module\Monitoring\Form\Command\RescheduleNextCheckForm';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set up the default time zone
|
* Set up the default time zone
|
||||||
|
@ -17,7 +17,7 @@ use \Test\Icinga\Web\Form\BaseFormTest;
|
|||||||
|
|
||||||
class ScheduleDowntimeFormTest extends BaseFormTest
|
class ScheduleDowntimeFormTest extends BaseFormTest
|
||||||
{
|
{
|
||||||
const FORM_CLASS = 'Monitoring\Form\Command\ScheduleDowntimeForm';
|
const FORM_CLASS = '\Icinga\Module\Monitoring\Form\Command\ScheduleDowntimeForm';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set up the default time zone
|
* Set up the default time zone
|
||||||
|
@ -13,7 +13,7 @@ use \Icinga\Module\Monitoring\Form\Command\SubmitPassiveCheckResultForm; // Used
|
|||||||
|
|
||||||
class SubmitPassiveCheckResultFormTest extends BaseFormTest
|
class SubmitPassiveCheckResultFormTest extends BaseFormTest
|
||||||
{
|
{
|
||||||
const FORM_CLASS = 'Monitoring\Form\Command\SubmitPassiveCheckResultForm';
|
const FORM_CLASS = '\Icinga\Module\Monitoring\Form\Command\SubmitPassiveCheckResultForm';
|
||||||
|
|
||||||
public function testStateTypes()
|
public function testStateTypes()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user