From 441282d8df879a94f8941b0046c6ef5ccbbca5a4 Mon Sep 17 00:00:00 2001 From: Mark Shannon Date: Tue, 4 Jun 2019 12:03:53 +0100 Subject: [PATCH] Python: Remove obsolete tests. --- .../dependencies/ArchitectDependencies.expected | 10 ---------- .../dependencies/ArchitectDependencies.ql | 9 --------- .../library-tests/dependencies/Categories.expected | 4 ---- .../test/library-tests/dependencies/Categories.ql | 13 ------------- 4 files changed, 36 deletions(-) delete mode 100644 python/ql/test/library-tests/dependencies/ArchitectDependencies.expected delete mode 100644 python/ql/test/library-tests/dependencies/ArchitectDependencies.ql delete mode 100644 python/ql/test/library-tests/dependencies/Categories.expected delete mode 100644 python/ql/test/library-tests/dependencies/Categories.ql diff --git a/python/ql/test/library-tests/dependencies/ArchitectDependencies.expected b/python/ql/test/library-tests/dependencies/ArchitectDependencies.expected deleted file mode 100644 index 2bb7df4b7de..00000000000 --- a/python/ql/test/library-tests/dependencies/ArchitectDependencies.expected +++ /dev/null @@ -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 | diff --git a/python/ql/test/library-tests/dependencies/ArchitectDependencies.ql b/python/ql/test/library-tests/dependencies/ArchitectDependencies.ql deleted file mode 100644 index ce33d7c7acd..00000000000 --- a/python/ql/test/library-tests/dependencies/ArchitectDependencies.ql +++ /dev/null @@ -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() - diff --git a/python/ql/test/library-tests/dependencies/Categories.expected b/python/ql/test/library-tests/dependencies/Categories.expected deleted file mode 100644 index 9cfbbe102a8..00000000000 --- a/python/ql/test/library-tests/dependencies/Categories.expected +++ /dev/null @@ -1,4 +0,0 @@ -| standard/python/attribute | -| standard/python/import | -| standard/python/inheritance | -| standard/python/use | diff --git a/python/ql/test/library-tests/dependencies/Categories.ql b/python/ql/test/library-tests/dependencies/Categories.ql deleted file mode 100644 index 810cae9cf86..00000000000 --- a/python/ql/test/library-tests/dependencies/Categories.ql +++ /dev/null @@ -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