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 18a0807 commit 12ffc50
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Around the time of DAC 2005, the IEEE P1685 working group was formed.

**Unknown License State**

* [IP-XACT 1.1](http://www.accellera.org/XMLSchema/SPIRIT/1.1/)
❌ © Copyright Accellera Systems Initiative. All rights reserved.
* [IP-XACT 1.0](http://www.accellera.org/XMLSchema/SPIRIT/1.0/)
❌ © Copyright Accellera Systems Initiative. All rights reserved.

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

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

directory = self._root / "ipxact-1.1"
print(f"Schema directory: {directory}")

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

0 comments on commit 12ffc50

Please sign in to comment.