Skip to content

Commit

Permalink
Added README entry and matching test cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paebbels committed Aug 19, 2023
1 parent 57722c6 commit 9873cdb
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The original source is [Accellera](https://www.accellera.org/XMLSchema/).

**Unknown License State**

* [IEEE Std. 1685-2014](http://www.accellera.org/XMLSchema/IPXACT/1685-2014/)
⚠️ local [README](ieee-1685-2014/README.md) (text provided by Accellera) contains open source threatening rules
* [IEEE Std. 1685-2009](http://www.accellera.org/XMLSchema/SPIRIT/1685-2009/)
⚠️ local [README](ieee-1685-2009/README.md) (text provided by Accellera) contains open source threatening rules

Expand Down
19 changes: 19 additions & 0 deletions tests/unit/IPXACT.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,22 @@ def test_Schema2009(self):
schemaFile = directory / file
print(f" {schemaFile}")
_ = XMLSchema(schemaFile)

def test_Schema2014(self):
print()
print(f"CWD: {Path.cwd()}")

directory = self._root / "ieee-1685-2014"
print(f"Schema directory: {directory}")

schemaFiles = (
"design.xsd",
"component.xsd",
"busDefinition.xsd",
"generator.xsd",
)
print(f"Reading schemas ...")
for file in schemaFiles:
schemaFile = directory / file
print(f" {schemaFile}")
_ = XMLSchema(schemaFile)

0 comments on commit 9873cdb

Please sign in to comment.