2011-06-09 16:23:29 +00:00
|
|
|
<?php
|
2011-07-14 14:49:25 +00:00
|
|
|
/* TranslationFiles Test cases generated on: 2011-07-04 15:19:54 : 1309785594*/
|
2011-06-09 16:23:29 +00:00
|
|
|
App::import('Controller', 'TranslationFiles');
|
|
|
|
|
|
|
|
class TestTranslationFilesController extends TranslationFilesController {
|
|
|
|
var $autoRender = false;
|
|
|
|
|
|
|
|
function redirect($url, $status = null, $exit = true) {
|
|
|
|
$this->redirectUrl = $url;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class TranslationFilesControllerTestCase extends CakeTestCase {
|
2011-07-14 14:49:25 +00:00
|
|
|
var $fixtures = array('app.translation_file', 'app.language', 'app.identifier', 'app.translation', 'app.user', 'app.vote', 'app.comment', 'app.file_identifier', 'app.imported_translation_file', 'app.raw_file');
|
2011-06-09 16:23:29 +00:00
|
|
|
|
|
|
|
function startTest() {
|
|
|
|
$this->TranslationFiles =& new TestTranslationFilesController();
|
|
|
|
$this->TranslationFiles->constructClasses();
|
|
|
|
}
|
|
|
|
|
|
|
|
function endTest() {
|
|
|
|
unset($this->TranslationFiles);
|
|
|
|
ClassRegistry::flush();
|
|
|
|
}
|
|
|
|
|
2011-07-14 14:49:25 +00:00
|
|
|
function testIndex() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
function testView() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
function testAdd() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
function testEdit() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
function testDelete() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
function testAdminIndex() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
function testAdminView() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
function testAdminAdd() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
function testAdminEdit() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
function testAdminDelete() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2011-06-09 16:23:29 +00:00
|
|
|
}
|