tests/EdmxTest.php 1 location
|
@@ 32-38 (lines=7) @@
|
29 |
|
$this->v3MetadataAgainstXSD($d); |
30 |
|
} |
31 |
|
|
32 |
|
public function v3MetadataAgainstXSD($data) |
33 |
|
{ |
34 |
|
$ds = DIRECTORY_SEPARATOR; |
35 |
|
$xml = new \DOMDocument(); |
36 |
|
$xml->loadXML($data); |
37 |
|
$xml->schemaValidate(dirname(__DIR__) . $ds . "xsd" . $ds . "/Microsoft.Data.Entity.Design.Edmx_3.xsd"); |
38 |
|
} |
39 |
|
|
40 |
|
public function testWithSingleEntitySerializeOk() |
41 |
|
{ |
tests/MetadataManagerTest.php 1 location
|
@@ 28-34 (lines=7) @@
|
25 |
|
$this->v3MetadataAgainstXSD($d); |
26 |
|
} |
27 |
|
|
28 |
|
public function v3MetadataAgainstXSD($data) |
29 |
|
{ |
30 |
|
$ds = DIRECTORY_SEPARATOR; |
31 |
|
$xml = new \DOMDocument(); |
32 |
|
$xml->loadXML($data); |
33 |
|
$xml->schemaValidate(dirname(__DIR__) . $ds . "xsd" . $ds . "/Microsoft.Data.Entity.Design.Edmx_3.xsd"); |
34 |
|
} |
35 |
|
|
36 |
|
public function testEntitysAndProperties() |
37 |
|
{ |