Remove Python query tests for Architect

These tests referred to QL libraries for a discontinued Semmle product.
This commit is contained in:
Julian Tibble
2019-05-31 09:51:51 +01:00
parent bd1920c948
commit 7c976848ef
9 changed files with 0 additions and 73 deletions

View File

@@ -1,10 +0,0 @@
| standard/python/attribute | Module a | Class B | Attribute |
| standard/python/attribute | Module b | Class C | Attribute |
| standard/python/import | Module a | Module b | Import |
| standard/python/import | Module b | Module c | Import |
| standard/python/import | Module c | Module b | Import |
| standard/python/inheritance | Class A | Class B | ClassExpr |
| standard/python/inheritance | Class A | Class C | ClassExpr |
| standard/python/inheritance | Class B | Class C | ClassExpr |
| standard/python/use | Module a | Class B | Attribute |
| standard/python/use | Module b | Class C | Attribute |

View File

@@ -1,9 +0,0 @@
import python
import Architect.Common.DependencyCategory
import Architect.Architect
from DependencyCategory dk, DependencyElement source, DependencyElement target, DependencyElement cause
where dk.isADependency(source, target, cause)
select dk.toString(), source.toString(), target.toString(), cause.toString()

View File

@@ -1,4 +0,0 @@
| standard/python/attribute |
| standard/python/import |
| standard/python/inheritance |
| standard/python/use |

View File

@@ -1,13 +0,0 @@
/**
* @name Categories
* @description Insert description here...
* @kind table
* @problem.severity warning
*/
import python
import Architect.Common.DependencyCategory
import Architect.Architect
from DependencyCategory dk
select dk

View File

@@ -1,16 +0,0 @@
| attribute | a.py | 3 | Attribute | class B |
| attribute | b.py | 3 | Attribute | class C |
| import | a.py | 1 | Import | Module b |
| import | b.py | 1 | Import | Module c |
| import | c.py | 1 | Import | Module b |
| inheritance | a.py | 3 | ClassExpr | builtin-class object |
| inheritance | a.py | 3 | ClassExpr | builtin-class type |
| inheritance | a.py | 3 | ClassExpr | class B |
| inheritance | a.py | 3 | ClassExpr | class C |
| inheritance | b.py | 3 | ClassExpr | builtin-class object |
| inheritance | b.py | 3 | ClassExpr | builtin-class type |
| inheritance | b.py | 3 | ClassExpr | class C |
| inheritance | c.py | 3 | ClassExpr | builtin-class object |
| inheritance | c.py | 3 | ClassExpr | builtin-class type |
| use | a.py | 3 | Attribute | class B |
| use | b.py | 3 | Attribute | class C |

View File

@@ -1,8 +0,0 @@
import python
import semmle.python.dependencies.Dependencies
from DependencyKind dk, AstNode src, Object target
where dk.isADependency(src, target)
select dk.toString(), src.getLocation().getFile().getShortName(), src.getLocation().getStartLine(), src.toString(), target.toString()

View File

@@ -1,4 +0,0 @@
import b
class A(b.B):
pass

View File

@@ -1,4 +0,0 @@
import c
class B(c.C):
pass

View File

@@ -1,5 +0,0 @@
import b
class C(object):
def foo(self):
b = B()