-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…946) added: - Schema Validation Test changed: - Xerxes continues checking after first error (do not treat everything as critical) - added test cases for schema check Co-authored-by: Thorsten de Buhr <[email protected]>
- Loading branch information
1 parent
73dda22
commit 200189a
Showing
9 changed files
with
227 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
//header 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// tests1.c |
40 changes: 40 additions & 0 deletions
40
tools/packchk/test/data/SchemaValidation/TestVendor.SchemaValidation.pdsc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<package schemaVersion="1.4" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="PACK.xsd"> | ||
<vendor>TestVendor</vendor> | ||
<url>http://www.testurl.com/pack/</url> | ||
<name>SchemaValidation</name> | ||
<descripton>Schema Validation</descripton> | ||
|
||
<releases> | ||
<release version="0.0.1" date="2021-09-06">> | ||
Initial release of SchemaValidation. | ||
</release> | ||
</releases> | ||
|
||
<keywords> | ||
<keyword>SchemaValidation</keyword> | ||
</keywords> | ||
|
||
<conditions> | ||
<condition id="Test_Condition"> | ||
<description>Test Device</description> | ||
<require Dvendor="ARM:82"/> | ||
</condition> | ||
<conditon id="False_Condition"> | ||
<description>Test Device</description> | ||
<require Dvendor="ARM:82"/> | ||
</conditon> | ||
</conditions> | ||
|
||
<components> | ||
<component Cclass="TestClass" Cgroup="TestGlobal" Cversion="1.0.0" condition="Test_Condition"> | ||
<description>TestGlobal</description> | ||
<files> | ||
<file category="source" name="Files/test1.c"/> | ||
<file category="TestGlobal" name="Files/header1.h"/> | ||
</files> | ||
</component> | ||
</components> | ||
|
||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters