Skip to content

Commit

Permalink
Removed invalid IDS test cases.
Browse files Browse the repository at this point in the history
- Requirements cannot be defined on prohibited applicability.
  • Loading branch information
CBenghi committed Mar 4, 2024
1 parent 790a654 commit 13371ec
Show file tree
Hide file tree
Showing 13 changed files with 6 additions and 231 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<ids xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://standards.buildingsmart.org/IDS http://standards.buildingsmart.org/IDS/0.9.7/ids.xsd" xmlns="http://standards.buildingsmart.org/IDS">
<info>
<title>Prohibited specifications fail if at least one entity passes all requirements (3/3)</title>
<title>Prohibited specifications invalid if requirements are specified</title>
<description>Generated via code automation in the Ids Repository on github.</description>
</info>
<specifications>
<specification name="Prohibited specifications fail if at least one entity passes all requirements (3/3)" ifcVersion="IFC2X3">
<specification name="Prohibited specifications invalid if requirements are specified" ifcVersion="IFC2X3">
<applicability minOccurs="0" maxOccurs="0">
<entity>
<name>
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

52 changes: 3 additions & 49 deletions Documentation/testcases/scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -1075,18 +1075,6 @@ Requirements:
Attribute: ''Name'',''Waldo''
```

### A prohibited specification and a prohibited facet results in a double negative

``` ids ids/pass-a_prohibited_specification_and_a_prohibited_facet_results_in_a_double_negative.ids
A prohibited specification and a prohibited facet results in a double negative
Prohibited
IFC2X3
Entity: ''IFCWALL''
Requirements:
Attribute: Prohibited,''Name'',''Waldo''
Attribute: Prohibited,''Description'',''Foobar''
```

### A specification passes only if all requirements pass (1/2)

``` ids ids/fail-a_specification_passes_only_if_all_requirements_pass_1_2.ids
Expand All @@ -1111,18 +1099,6 @@ Attribute: ''Name'',''Waldo''
Attribute: ''Description'',''Foobar''
```

### Multiple specifications are independent of one another

``` ids ids/pass-multiple_specifications_are_independent_of_one_another.ids
Multiple specifications are independent of one another
Prohibited
IFC2X3
Entity: ''IFCWALL''
Requirements:
Attribute: Prohibited,''Name'',''Waldo''
Attribute: Prohibited,''Description'',''Foobar''
```

### Optional specifications may still pass if nothing is applicable

``` ids ids/pass-optional_specifications_may_still_pass_if_nothing_is_applicable.ids
Expand All @@ -1134,32 +1110,10 @@ Requirements:
Attribute: ''Name'',''Waldo''
```

### Prohibited specifications fail if at least one entity passes all requirements (1/3)

``` ids ids/pass-prohibited_specifications_fail_if_at_least_one_entity_passes_all_requirements_1_3.ids
Prohibited specifications fail if at least one entity passes all requirements (1/3)
Prohibited
IFC2X3
Entity: ''IFCWALL''
Requirements:
Attribute: ''Name'',''Waldo''
```

### Prohibited specifications fail if at least one entity passes all requirements (2/3)

``` ids ids/pass-prohibited_specifications_fail_if_at_least_one_entity_passes_all_requirements_2_3.ids
Prohibited specifications fail if at least one entity passes all requirements (2/3)
Prohibited
IFC2X3
Entity: ''IFCWALL''
Requirements:
Attribute: ''Name'',''Waldo''
```

### Prohibited specifications fail if at least one entity passes all requirements (3/3)
### Prohibited specifications invalid if requirements are specified

``` ids ids/fail-prohibited_specifications_fail_if_at_least_one_entity_passes_all_requirements_3_3.ids
Prohibited specifications fail if at least one entity passes all requirements (3/3)
``` ids ids/invalid-prohibited_specifications_invalid_if_requirements_are_specified.ids
Prohibited specifications invalid if requirements are specified
Prohibited
IFC2X3
Entity: ''IFCWALL''
Expand Down
2 changes: 1 addition & 1 deletion build/_build.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<ItemGroup>
<PackageReference Include="Nuke.Common" Version="6.3.0" />
<PackageReference Include="ids-tool.CommandLine" Version="1.0.61" />
<PackageReference Include="ids-tool.CommandLine" Version="1.0.62" />
<PackageDownload Include="dotnet-xscgen" Version="[2.1.1094]" />
</ItemGroup>

Expand Down

0 comments on commit 13371ec

Please sign in to comment.