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
bda1b9ae
Commit
bda1b9ae
authored
Oct 05, 2009
by
jwage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[2.0] Fix for package building
parent
5fb493c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
ClassMetadataExporterTest.php
...rine/Tests/ORM/Tools/Export/ClassMetadataExporterTest.php
+5
-6
No files found.
tests/Doctrine/Tests/ORM/Tools/Export/ClassMetadataExporterTest.php
View file @
bda1b9ae
...
...
@@ -89,17 +89,16 @@ class ClassMetadataExporterTest extends \Doctrine\Tests\OrmTestCase
public
function
testGetMetadataInstances
()
{
$cme
=
new
ClassMetadataExporter
();
$cme
->
addMappingDir
(
__DIR__
.
'/annotation'
,
'annotation'
);
$cme
->
addMappingDir
(
__DIR__
.
'/php'
,
'php'
);
$cme
->
addMappingDir
(
__DIR__
.
'/xml'
,
'xml'
);
$cme
->
addMappingDir
(
__DIR__
.
'/yml'
,
'yml'
);
$metadataInstances
=
$cme
->
getMetadataInstances
();
$this
->
assertEquals
(
4
,
count
(
$metadataInstances
));
$this
->
assertEquals
(
'AnnotationTest'
,
$metadataInstances
[
0
]
->
name
);
$this
->
assertEquals
(
'PhpTest'
,
$metadataInstances
[
1
]
->
name
);
$this
->
assertEquals
(
'XmlTest'
,
$metadataInstances
[
2
]
->
name
);
$this
->
assertEquals
(
'YmlTest'
,
$metadataInstances
[
3
]
->
name
);
$this
->
assertEquals
(
3
,
count
(
$metadataInstances
)
);
$this
->
assertEquals
(
'PhpTest'
,
$metadataInstances
[
0
]
->
name
);
$this
->
assertEquals
(
'XmlTest'
,
$metadataInstances
[
1
]
->
name
);
$this
->
assertEquals
(
'YmlTest'
,
$metadataInstances
[
2
]
->
name
);
}
/**
...
...
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