Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
5780e3b9
Commit
5780e3b9
authored
Aug 22, 2006
by
zYne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed the compile call from unittestcase
parent
843711bc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
Doctrine.php
Doctrine.php
+1
-1
UnitTestCase.php
tests/UnitTestCase.php
+1
-1
ValidatorTestCase.php
tests/ValidatorTestCase.php
+1
-1
run.php
tests/run.php
+1
-1
No files found.
Doctrine.php
View file @
5780e3b9
...
...
@@ -436,7 +436,7 @@ class DQLException extends Exception { }
* @return string
*/
public
static
function
classify
(
$tablename
)
{
return
preg_replace
(
'~(_?)(_)([\w])~e'
,
'"$1".strtoupper("$3")'
,
ucfirst
(
$tablename
));
return
preg_replace
(
'~(_?)(_)([\w])~e'
,
'"$1".strtoupper("$3")'
,
ucfirst
(
$tablename
));
}
}
?>
tests/UnitTestCase.php
View file @
5780e3b9
<?php
require_once
(
"../Doctrine.php"
);
Doctrine
::
compile
();
//
Doctrine::compile();
//require_once("../Doctrine.compiled.php");
...
...
tests/ValidatorTestCase.php
View file @
5780e3b9
...
...
@@ -136,7 +136,7 @@ class Doctrine_ValidatorTestCase extends Doctrine_UnitTestCase {
$this
->
assertFalse
(
$validator
->
validate
(
$email
,
"address"
,
"example@e.."
,
null
));
$this
->
assertFalse
(
$validator
->
validate
(
$email
,
"address"
,
"example@e.."
,
null
));
$this
->
assertTrue
(
$validator
->
validate
(
$email
,
"address"
,
"example@e.e.e.e.e"
,
null
));
}
public
function
testSave
()
{
...
...
tests/run.php
View file @
5780e3b9
...
...
@@ -67,7 +67,7 @@ $test->addTestCase(new Doctrine_QueryTestCase());
$test
->
addTestCase
(
new
Doctrine_RawSql_TestCase
());
//
$test->addTestCase(new Doctrine_Query_Limit_TestCase());
$test
->
addTestCase
(
new
Doctrine_Query_Limit_TestCase
());
//$test->addTestCase(new Doctrine_Cache_FileTestCase());
//$test->addTestCase(new Doctrine_Cache_SqliteTestCase());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment