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
2b060321
Commit
2b060321
authored
Feb 08, 2008
by
jwage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial entry of new test structure.
parent
cbd33b98
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
191 additions
and
0 deletions
+191
-0
AllTests.php
tests/AllTests.php
+33
-0
AllTests.php
tests/Dbal/AllTests.php
+31
-0
AllTests.php
tests/Dbal/Component/AllTests.php
+31
-0
TestTest.php
tests/Dbal/Component/TestTest.php
+10
-0
AllTests.php
tests/Orm/AllTests.php
+31
-0
AllTests.php
tests/Orm/Component/AllTests.php
+31
-0
TestTest.php
tests/Orm/Component/TestTest.php
+10
-0
Doctrine_TestCase.php
tests/lib/Doctrine_TestCase.php
+7
-0
Doctrine_TestSuite.php
tests/lib/Doctrine_TestSuite.php
+7
-0
No files found.
tests/AllTests.php
0 → 100644
View file @
2b060321
<?php
if
(
!
defined
(
'PHPUnit_MAIN_METHOD'
))
{
define
(
'PHPUnit_MAIN_METHOD'
,
'AllTests::main'
);
}
require_once
'PHPUnit/Framework.php'
;
require_once
'PHPUnit/TextUI/TestRunner.php'
;
require_once
'lib/Doctrine_TestSuite.php'
;
require_once
'Dbal/AllTests.php'
;
require_once
'Orm/AllTests.php'
;
class
AllTests
{
public
static
function
main
()
{
PHPUnit_TextUI_TestRunner
::
run
(
self
::
suite
());
}
public
static
function
suite
()
{
$suite
=
new
Doctrine_TestSuite
(
'Doctrine'
);
$suite
->
addTest
(
Dbal_AllTests
::
suite
());
$suite
->
addTest
(
Orm_AllTests
::
suite
());
return
$suite
;
}
}
if
(
PHPUnit_MAIN_METHOD
==
'AllTests::main'
)
{
AllTests
::
main
();
}
\ No newline at end of file
tests/Dbal/AllTests.php
0 → 100644
View file @
2b060321
<?php
if
(
!
defined
(
'PHPUnit_MAIN_METHOD'
))
{
define
(
'PHPUnit_MAIN_METHOD'
,
'Dbal_AllTests::main'
);
}
require_once
'PHPUnit/Framework.php'
;
require_once
'PHPUnit/TextUI/TestRunner.php'
;
require_once
'lib/Doctrine_TestSuite.php'
;
require_once
'Dbal/Component/AllTests.php'
;
class
Dbal_AllTests
{
public
static
function
main
()
{
PHPUnit_TextUI_TestRunner
::
run
(
self
::
suite
());
}
public
static
function
suite
()
{
$suite
=
new
Doctrine_TestSuite
(
'Doctrine Dbal'
);
$suite
->
addTest
(
Dbal_Component_AllTests
::
suite
());
return
$suite
;
}
}
if
(
PHPUnit_MAIN_METHOD
==
'Dbal_AllTests::main'
)
{
Dbal_AllTests
::
main
();
}
\ No newline at end of file
tests/Dbal/Component/AllTests.php
0 → 100644
View file @
2b060321
<?php
if
(
!
defined
(
'PHPUnit_MAIN_METHOD'
))
{
define
(
'PHPUnit_MAIN_METHOD'
,
'Dbal_Component_AllTests::main'
);
}
require_once
'PHPUnit/Framework.php'
;
require_once
'PHPUnit/TextUI/TestRunner.php'
;
require_once
'lib/Doctrine_TestSuite.php'
;
require_once
'Dbal/Component/TestTest.php'
;
class
Dbal_Component_AllTests
{
public
static
function
main
()
{
PHPUnit_TextUI_TestRunner
::
run
(
self
::
suite
());
}
public
static
function
suite
()
{
$suite
=
new
Doctrine_TestSuite
(
'Doctrine Dbal Component'
);
$suite
->
addTestSuite
(
'Dbal_Component_TestTest'
);
return
$suite
;
}
}
if
(
PHPUnit_MAIN_METHOD
==
'Dbal_Component_AllTests::main'
)
{
Dbal_Component_AllTests
::
main
();
}
\ No newline at end of file
tests/Dbal/Component/TestTest.php
0 → 100644
View file @
2b060321
<?php
require_once
'lib/Doctrine_TestCase.php'
;
class
Dbal_Component_TestTest
extends
Doctrine_TestCase
{
public
function
testTest
()
{
$this
->
assertEquals
(
0
,
0
);
}
}
\ No newline at end of file
tests/Orm/AllTests.php
0 → 100644
View file @
2b060321
<?php
if
(
!
defined
(
'PHPUnit_MAIN_METHOD'
))
{
define
(
'PHPUnit_MAIN_METHOD'
,
'Orm_AllTests::main'
);
}
require_once
'PHPUnit/Framework.php'
;
require_once
'PHPUnit/TextUI/TestRunner.php'
;
require_once
'lib/Doctrine_TestSuite.php'
;
require_once
'Orm/Component/AllTests.php'
;
class
Orm_AllTests
{
public
static
function
main
()
{
PHPUnit_TextUI_TestRunner
::
run
(
self
::
suite
());
}
public
static
function
suite
()
{
$suite
=
new
Doctrine_TestSuite
(
'Doctrine Orm'
);
$suite
->
addTest
(
Orm_Component_AllTests
::
suite
());
return
$suite
;
}
}
if
(
PHPUnit_MAIN_METHOD
==
'Orm_AllTests::main'
)
{
Orm_AllTests
::
main
();
}
\ No newline at end of file
tests/Orm/Component/AllTests.php
0 → 100644
View file @
2b060321
<?php
if
(
!
defined
(
'PHPUnit_MAIN_METHOD'
))
{
define
(
'PHPUnit_MAIN_METHOD'
,
'Dbal_Component_AllTests::main'
);
}
require_once
'PHPUnit/Framework.php'
;
require_once
'PHPUnit/TextUI/TestRunner.php'
;
require_once
'lib/Doctrine_TestSuite.php'
;
require_once
'Orm/Component/TestTest.php'
;
class
Orm_Component_AllTests
{
public
static
function
main
()
{
PHPUnit_TextUI_TestRunner
::
run
(
self
::
suite
());
}
public
static
function
suite
()
{
$suite
=
new
Doctrine_TestSuite
(
'Doctrine Dbal Component'
);
$suite
->
addTestSuite
(
'Orm_Component_TestTest'
);
return
$suite
;
}
}
if
(
PHPUnit_MAIN_METHOD
==
'Dbal_Component_AllTests::main'
)
{
Dbal_Component_AllTests
::
main
();
}
\ No newline at end of file
tests/Orm/Component/TestTest.php
0 → 100644
View file @
2b060321
<?php
require_once
'lib/Doctrine_TestCase.php'
;
class
Orm_Component_TestTest
extends
Doctrine_TestCase
{
public
function
testTest
()
{
$this
->
assertEquals
(
0
,
0
);
}
}
\ No newline at end of file
tests/lib/Doctrine_TestCase.php
0 → 100644
View file @
2b060321
<?php
require_once
'PHPUnit/Framework.php'
;
class
Doctrine_TestCase
extends
PHPUnit_Framework_TestCase
{
}
\ No newline at end of file
tests/lib/Doctrine_TestSuite.php
0 → 100644
View file @
2b060321
<?php
require_once
'PHPUnit/Framework.php'
;
class
Doctrine_TestSuite
extends
PHPUnit_Framework_TestSuite
{
}
\ No newline at end of file
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