From d4f3e2bdca04e478306ea6f4a6ab3203772a510d Mon Sep 17 00:00:00 2001 From: Ashok Sidipotu Date: Tue, 12 Sep 2023 12:45:16 +0530 Subject: [PATCH] tests: replace "policy" with "linking" --- .../scripts/scripts/00-test-linking-non-default-device-node.lua | 2 +- .../scripts/01-test-linking-non-default-device-node-capture.lua | 2 +- tests/scripts/scripts/02-test-linking-default-device-node.lua | 2 +- .../scripts/03-test-linking-default-device-node-capture.lua | 2 +- ...04-test-linking-defined-device-node-target-object-string.lua | 2 +- .../05-test-linking-defined-device-node-target-object-int.lua | 2 +- .../06-test-linking-defined-device-node-target-object-name.lua | 2 +- ...linking-defined-device-node-target-object-string-capture.lua | 2 +- ...st-linking-defined-device-node-target-object-int-capture.lua | 2 +- ...t-linking-defined-device-node-target-object-name-capture.lua | 2 +- .../scripts/10-test-linking-defined-device-node-node-target.lua | 2 +- .../11-test-linking-defined-device-node-node-target-capture.lua | 2 +- ...12-test-linking-defined-device-node-target-node-metadata.lua | 2 +- ...linking-defined-device-node-target-node-metadata-capture.lua | 2 +- ...-test-linking-defined-device-node-target-object-metadata.lua | 2 +- ...nking-defined-device-node-target-object-metadata-capture.lua | 2 +- ...t-linking-defined-device-node-target-object-int-metadata.lua | 2 +- ...g-defined-device-node-target-object-int-metadata-capture.lua | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/tests/scripts/scripts/00-test-linking-non-default-device-node.lua b/tests/scripts/scripts/00-test-linking-non-default-device-node.lua index 9a124165..dea82ebc 100644 --- a/tests/scripts/scripts/00-test-linking-non-default-device-node.lua +++ b/tests/scripts/scripts/00-test-linking-non-default-device-node.lua @@ -1,7 +1,7 @@ -- Tests linking of streams and non default devices. These devices nodes are -- neither defined nor default. -local pu = require ("policy-utils") +local pu = require ("linking-utils") local tu = require ("test-utils") Script.async_activation = true diff --git a/tests/scripts/scripts/01-test-linking-non-default-device-node-capture.lua b/tests/scripts/scripts/01-test-linking-non-default-device-node-capture.lua index 69926e1c..c70dd4c3 100644 --- a/tests/scripts/scripts/01-test-linking-non-default-device-node-capture.lua +++ b/tests/scripts/scripts/01-test-linking-non-default-device-node-capture.lua @@ -1,7 +1,7 @@ -- Tests linking of streams and non default devices. These devices nodes are -- neither defined nor default. -local pu = require ("policy-utils") +local pu = require ("linking-utils") local tu = require ("test-utils") Script.async_activation = true diff --git a/tests/scripts/scripts/02-test-linking-default-device-node.lua b/tests/scripts/scripts/02-test-linking-default-device-node.lua index e657f089..1e9a977b 100644 --- a/tests/scripts/scripts/02-test-linking-default-device-node.lua +++ b/tests/scripts/scripts/02-test-linking-default-device-node.lua @@ -1,7 +1,7 @@ -- Tests linking of streams and default devices. Two device nodes are setup, -- among which only one is selected as default device node. -local pu = require ("policy-utils") +local pu = require ("linking-utils") local tu = require ("test-utils") Script.async_activation = true diff --git a/tests/scripts/scripts/03-test-linking-default-device-node-capture.lua b/tests/scripts/scripts/03-test-linking-default-device-node-capture.lua index b334897a..7dc916ff 100644 --- a/tests/scripts/scripts/03-test-linking-default-device-node-capture.lua +++ b/tests/scripts/scripts/03-test-linking-default-device-node-capture.lua @@ -1,7 +1,7 @@ -- Tests linking of streams and default devices. Two device nodes are setup, -- among which only one is selected as default device node. -local pu = require ("policy-utils") +local pu = require ("linking-utils") local tu = require ("test-utils") Script.async_activation = true diff --git a/tests/scripts/scripts/04-test-linking-defined-device-node-target-object-string.lua b/tests/scripts/scripts/04-test-linking-defined-device-node-target-object-string.lua index 52b19fda..84e36885 100644 --- a/tests/scripts/scripts/04-test-linking-defined-device-node-target-object-string.lua +++ b/tests/scripts/scripts/04-test-linking-defined-device-node-target-object-string.lua @@ -2,7 +2,7 @@ -- among which only one is selected as the defined device(target.object). -- The target.object here is a string -local pu = require ("policy-utils") +local pu = require ("linking-utils") local tu = require ("test-utils") Script.async_activation = true diff --git a/tests/scripts/scripts/05-test-linking-defined-device-node-target-object-int.lua b/tests/scripts/scripts/05-test-linking-defined-device-node-target-object-int.lua index 7d7a0042..f58021d7 100644 --- a/tests/scripts/scripts/05-test-linking-defined-device-node-target-object-int.lua +++ b/tests/scripts/scripts/05-test-linking-defined-device-node-target-object-int.lua @@ -2,7 +2,7 @@ -- among which only one is selected as the defined device(target.object). -- The target.object here is a int -local pu = require ("policy-utils") +local pu = require ("linking-utils") local tu = require ("test-utils") Script.async_activation = true diff --git a/tests/scripts/scripts/06-test-linking-defined-device-node-target-object-name.lua b/tests/scripts/scripts/06-test-linking-defined-device-node-target-object-name.lua index 12d8aacf..a1db428b 100644 --- a/tests/scripts/scripts/06-test-linking-defined-device-node-target-object-name.lua +++ b/tests/scripts/scripts/06-test-linking-defined-device-node-target-object-name.lua @@ -2,7 +2,7 @@ -- among which only one is selected as the defined device(target.object). -- The target.object here is a node name -local pu = require ("policy-utils") +local pu = require ("linking-utils") local tu = require ("test-utils") Script.async_activation = true diff --git a/tests/scripts/scripts/07-test-linking-defined-device-node-target-object-string-capture.lua b/tests/scripts/scripts/07-test-linking-defined-device-node-target-object-string-capture.lua index c8ff812e..2111ae12 100644 --- a/tests/scripts/scripts/07-test-linking-defined-device-node-target-object-string-capture.lua +++ b/tests/scripts/scripts/07-test-linking-defined-device-node-target-object-string-capture.lua @@ -2,7 +2,7 @@ -- among which only one is selected as the defined device(target.object). -- The target.object here is a node name -local pu = require ("policy-utils") +local pu = require ("linking-utils") local tu = require ("test-utils") Script.async_activation = true diff --git a/tests/scripts/scripts/08-test-linking-defined-device-node-target-object-int-capture.lua b/tests/scripts/scripts/08-test-linking-defined-device-node-target-object-int-capture.lua index 8eaa7c1e..f49fa93a 100644 --- a/tests/scripts/scripts/08-test-linking-defined-device-node-target-object-int-capture.lua +++ b/tests/scripts/scripts/08-test-linking-defined-device-node-target-object-int-capture.lua @@ -2,7 +2,7 @@ -- among which only one is selected as the defined device(target.object). -- The target.object here is a string -local pu = require ("policy-utils") +local pu = require ("linking-utils") local tu = require ("test-utils") Script.async_activation = true diff --git a/tests/scripts/scripts/09-test-linking-defined-device-node-target-object-name-capture.lua b/tests/scripts/scripts/09-test-linking-defined-device-node-target-object-name-capture.lua index e2627420..f9158e80 100644 --- a/tests/scripts/scripts/09-test-linking-defined-device-node-target-object-name-capture.lua +++ b/tests/scripts/scripts/09-test-linking-defined-device-node-target-object-name-capture.lua @@ -2,7 +2,7 @@ -- among which only one is selected as the defined device(target.object). -- The target.object here is a node name -local pu = require ("policy-utils") +local pu = require ("linking-utils") local tu = require ("test-utils") Script.async_activation = true diff --git a/tests/scripts/scripts/10-test-linking-defined-device-node-node-target.lua b/tests/scripts/scripts/10-test-linking-defined-device-node-node-target.lua index 3ace38d2..2384acba 100644 --- a/tests/scripts/scripts/10-test-linking-defined-device-node-node-target.lua +++ b/tests/scripts/scripts/10-test-linking-defined-device-node-node-target.lua @@ -2,7 +2,7 @@ -- among which only one is selected as the defined device(using "node.target" property). -- The "node.target" here is a string -local pu = require ("policy-utils") +local pu = require ("linking-utils") local tu = require ("test-utils") Script.async_activation = true diff --git a/tests/scripts/scripts/11-test-linking-defined-device-node-node-target-capture.lua b/tests/scripts/scripts/11-test-linking-defined-device-node-node-target-capture.lua index 91037d4d..4806a4a2 100644 --- a/tests/scripts/scripts/11-test-linking-defined-device-node-node-target-capture.lua +++ b/tests/scripts/scripts/11-test-linking-defined-device-node-node-target-capture.lua @@ -2,7 +2,7 @@ -- among which only one is selected as the defined device(using "node.target" property). -- The "node.target" here is a string -local pu = require ("policy-utils") +local pu = require ("linking-utils") local tu = require ("test-utils") Script.async_activation = true diff --git a/tests/scripts/scripts/12-test-linking-defined-device-node-target-node-metadata.lua b/tests/scripts/scripts/12-test-linking-defined-device-node-target-node-metadata.lua index 0249ad80..8d8f9a26 100644 --- a/tests/scripts/scripts/12-test-linking-defined-device-node-target-node-metadata.lua +++ b/tests/scripts/scripts/12-test-linking-defined-device-node-target-node-metadata.lua @@ -2,7 +2,7 @@ -- among which only one is selected as the defined device("target.node"). -- The "target.node" here is defined in default metadata. -local pu = require ("policy-utils") +local pu = require ("linking-utils") local tu = require ("test-utils") Script.async_activation = true diff --git a/tests/scripts/scripts/13-test-linking-defined-device-node-target-node-metadata-capture.lua b/tests/scripts/scripts/13-test-linking-defined-device-node-target-node-metadata-capture.lua index 5b7ce8a9..c92ec892 100644 --- a/tests/scripts/scripts/13-test-linking-defined-device-node-target-node-metadata-capture.lua +++ b/tests/scripts/scripts/13-test-linking-defined-device-node-target-node-metadata-capture.lua @@ -2,7 +2,7 @@ -- among which only one is selected as the defined device("target.node"). -- The "target.node" here is defined in default metadata. -local pu = require ("policy-utils") +local pu = require ("linking-utils") local tu = require ("test-utils") Script.async_activation = true diff --git a/tests/scripts/scripts/14-test-linking-defined-device-node-target-object-metadata.lua b/tests/scripts/scripts/14-test-linking-defined-device-node-target-object-metadata.lua index 7eb7b471..703a1b43 100644 --- a/tests/scripts/scripts/14-test-linking-defined-device-node-target-object-metadata.lua +++ b/tests/scripts/scripts/14-test-linking-defined-device-node-target-object-metadata.lua @@ -2,7 +2,7 @@ -- among which only one is selected as the defined device("target.object"). -- The "target.object" here is defined in default metadata. -local pu = require ("policy-utils") +local pu = require ("linking-utils") local tu = require ("test-utils") Script.async_activation = true diff --git a/tests/scripts/scripts/15-test-linking-defined-device-node-target-object-metadata-capture.lua b/tests/scripts/scripts/15-test-linking-defined-device-node-target-object-metadata-capture.lua index ef445094..97fbf4c7 100644 --- a/tests/scripts/scripts/15-test-linking-defined-device-node-target-object-metadata-capture.lua +++ b/tests/scripts/scripts/15-test-linking-defined-device-node-target-object-metadata-capture.lua @@ -2,7 +2,7 @@ -- among which only one is selected as the defined device("target.object"). -- The "target.object" here is defined in default metadata. -local pu = require ("policy-utils") +local pu = require ("linking-utils") local tu = require ("test-utils") Script.async_activation = true diff --git a/tests/scripts/scripts/16-test-linking-defined-device-node-target-object-int-metadata.lua b/tests/scripts/scripts/16-test-linking-defined-device-node-target-object-int-metadata.lua index 61c4c950..83e777f8 100644 --- a/tests/scripts/scripts/16-test-linking-defined-device-node-target-object-int-metadata.lua +++ b/tests/scripts/scripts/16-test-linking-defined-device-node-target-object-int-metadata.lua @@ -2,7 +2,7 @@ -- update defined device in both the node properties and in metadata. -- The device in metadata takes priority over the one in node properties. -local pu = require ("policy-utils") +local pu = require ("linking-utils") local tu = require ("test-utils") Script.async_activation = true diff --git a/tests/scripts/scripts/17-test-linking-defined-device-node-target-object-int-metadata-capture.lua b/tests/scripts/scripts/17-test-linking-defined-device-node-target-object-int-metadata-capture.lua index af34a642..68c44d51 100644 --- a/tests/scripts/scripts/17-test-linking-defined-device-node-target-object-int-metadata-capture.lua +++ b/tests/scripts/scripts/17-test-linking-defined-device-node-target-object-int-metadata-capture.lua @@ -2,7 +2,7 @@ -- update defined device in both the node properties and in metadata. -- The device in metadata takes priority over the one in node properties. -local pu = require ("policy-utils") +local pu = require ("linking-utils") local tu = require ("test-utils") Script.async_activation = true