Skip to content

Commit 19d3618

Browse files
committed
chore(protocol_tests): move tests folder inside src
1 parent 7182fcd commit 19d3618

23 files changed

+131
-131
lines changed

clients/client-dynamodb/src/runtimeConfig.browser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
88
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
99
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
1010

11-
// @ts-ignore package.json will exist in dist, hack to avoid 'package.json' is not under 'rootDir'
11+
// @ts-ignore hack to avoid 'package.json' is not under 'rootDir', package.json will exist in dist
1212
import packageInfo from "./package.json";
1313

1414
import { ClientDefaults } from "./DynamoDBClient";

clients/client-dynamodb/src/runtimeConfig.native.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Sha256 } from "@aws-crypto/sha256-js";
22
import { parseUrl } from "@aws-sdk/url-parser-node";
33

4-
// @ts-ignore package.json will exist in dist, hack to avoid 'package.json' is not under 'rootDir'
4+
// @ts-ignore hack to avoid 'package.json' is not under 'rootDir', package.json will exist in dist
55
import packageInfo from "./package.json";
66

77
import { ClientDefaults } from "./DynamoDBClient";

clients/client-dynamodb/src/runtimeConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
1010
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
1111
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
1212

13-
// @ts-ignore package.json will exist in dist, hack to avoid 'package.json' is not under 'rootDir'
13+
// @ts-ignore hack to avoid 'package.json' is not under 'rootDir', package.json will exist in dist
1414
import packageInfo from "./package.json";
1515

1616
import { ClientDefaults } from "./DynamoDBClient";

protocol_tests/aws-ec2/src/runtimeConfig.browser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
88
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
99
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
1010

11-
// @ts-ignore package.json will exist in dist, hack to avoid 'package.json' is not under 'rootDir'
11+
// @ts-ignore hack to avoid 'package.json' is not under 'rootDir', package.json will exist in dist
1212
import packageInfo from "./package.json";
1313

1414
import { ClientDefaults } from "./EC2ProtocolClient";

protocol_tests/aws-ec2/src/runtimeConfig.native.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Sha256 } from "@aws-crypto/sha256-js";
22
import { parseUrl } from "@aws-sdk/url-parser-node";
33

4-
// @ts-ignore package.json will exist in dist, hack to avoid 'package.json' is not under 'rootDir'
4+
// @ts-ignore hack to avoid 'package.json' is not under 'rootDir', package.json will exist in dist
55
import packageInfo from "./package.json";
66

77
import { ClientDefaults } from "./EC2ProtocolClient";

protocol_tests/aws-ec2/src/runtimeConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
1010
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
1111
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
1212

13-
// @ts-ignore package.json will exist in dist, hack to avoid 'package.json' is not under 'rootDir'
13+
// @ts-ignore hack to avoid 'package.json' is not under 'rootDir', package.json will exist in dist
1414
import packageInfo from "./package.json";
1515

1616
import { ClientDefaults } from "./EC2ProtocolClient";

protocol_tests/aws-ec2/tests/functional/ec2query.spec.ts renamed to protocol_tests/aws-ec2/src/tests/functional/ec2query.spec.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
import { EC2ProtocolClient } from "../../src/EC2ProtocolClient";
2-
import { EmptyInputAndEmptyOutputCommand } from "../../src/commands/EmptyInputAndEmptyOutputCommand";
3-
import { GreetingWithErrorsCommand } from "../../src/commands/GreetingWithErrorsCommand";
4-
import { IgnoresWrappingXmlNameCommand } from "../../src/commands/IgnoresWrappingXmlNameCommand";
5-
import { NestedStructuresCommand } from "../../src/commands/NestedStructuresCommand";
6-
import { NoInputAndOutputCommand } from "../../src/commands/NoInputAndOutputCommand";
7-
import { QueryIdempotencyTokenAutoFillCommand } from "../../src/commands/QueryIdempotencyTokenAutoFillCommand";
8-
import { QueryListsCommand } from "../../src/commands/QueryListsCommand";
9-
import { QueryTimestampsCommand } from "../../src/commands/QueryTimestampsCommand";
10-
import { RecursiveXmlShapesCommand } from "../../src/commands/RecursiveXmlShapesCommand";
11-
import { SimpleInputParamsCommand } from "../../src/commands/SimpleInputParamsCommand";
12-
import { SimpleScalarXmlPropertiesCommand } from "../../src/commands/SimpleScalarXmlPropertiesCommand";
13-
import { XmlBlobsCommand } from "../../src/commands/XmlBlobsCommand";
14-
import { XmlEnumsCommand } from "../../src/commands/XmlEnumsCommand";
15-
import { XmlListsCommand } from "../../src/commands/XmlListsCommand";
16-
import { XmlNamespacesCommand } from "../../src/commands/XmlNamespacesCommand";
17-
import { XmlTimestampsCommand } from "../../src/commands/XmlTimestampsCommand";
18-
import { ComplexError, InvalidGreeting } from "../../src/models/models_0";
1+
import { EC2ProtocolClient } from "../../EC2ProtocolClient";
2+
import { EmptyInputAndEmptyOutputCommand } from "../../commands/EmptyInputAndEmptyOutputCommand";
3+
import { GreetingWithErrorsCommand } from "../../commands/GreetingWithErrorsCommand";
4+
import { IgnoresWrappingXmlNameCommand } from "../../commands/IgnoresWrappingXmlNameCommand";
5+
import { NestedStructuresCommand } from "../../commands/NestedStructuresCommand";
6+
import { NoInputAndOutputCommand } from "../../commands/NoInputAndOutputCommand";
7+
import { QueryIdempotencyTokenAutoFillCommand } from "../../commands/QueryIdempotencyTokenAutoFillCommand";
8+
import { QueryListsCommand } from "../../commands/QueryListsCommand";
9+
import { QueryTimestampsCommand } from "../../commands/QueryTimestampsCommand";
10+
import { RecursiveXmlShapesCommand } from "../../commands/RecursiveXmlShapesCommand";
11+
import { SimpleInputParamsCommand } from "../../commands/SimpleInputParamsCommand";
12+
import { SimpleScalarXmlPropertiesCommand } from "../../commands/SimpleScalarXmlPropertiesCommand";
13+
import { XmlBlobsCommand } from "../../commands/XmlBlobsCommand";
14+
import { XmlEnumsCommand } from "../../commands/XmlEnumsCommand";
15+
import { XmlListsCommand } from "../../commands/XmlListsCommand";
16+
import { XmlNamespacesCommand } from "../../commands/XmlNamespacesCommand";
17+
import { XmlTimestampsCommand } from "../../commands/XmlTimestampsCommand";
18+
import { ComplexError, InvalidGreeting } from "../../models/models_0";
1919
import { HttpHandlerOptions, HeaderBag } from "@aws-sdk/types";
2020
import { HttpHandler, HttpRequest, HttpResponse } from "@aws-sdk/protocol-http";
2121
import { Readable } from "stream";

protocol_tests/aws-json/src/runtimeConfig.browser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
88
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
99
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
1010

11-
// @ts-ignore package.json will exist in dist, hack to avoid 'package.json' is not under 'rootDir'
11+
// @ts-ignore hack to avoid 'package.json' is not under 'rootDir', package.json will exist in dist
1212
import packageInfo from "./package.json";
1313

1414
import { ClientDefaults } from "./JsonProtocolClient";

protocol_tests/aws-json/src/runtimeConfig.native.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Sha256 } from "@aws-crypto/sha256-js";
22
import { parseUrl } from "@aws-sdk/url-parser-node";
33

4-
// @ts-ignore package.json will exist in dist, hack to avoid 'package.json' is not under 'rootDir'
4+
// @ts-ignore hack to avoid 'package.json' is not under 'rootDir', package.json will exist in dist
55
import packageInfo from "./package.json";
66

77
import { ClientDefaults } from "./JsonProtocolClient";

protocol_tests/aws-json/src/runtimeConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
1010
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
1111
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
1212

13-
// @ts-ignore package.json will exist in dist, hack to avoid 'package.json' is not under 'rootDir'
13+
// @ts-ignore hack to avoid 'package.json' is not under 'rootDir', package.json will exist in dist
1414
import packageInfo from "./package.json";
1515

1616
import { ClientDefaults } from "./JsonProtocolClient";

protocol_tests/aws-json/tests/functional/awsjson1_1.spec.ts renamed to protocol_tests/aws-json/src/tests/functional/awsjson1_1.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { JsonProtocolClient } from "../../src/JsonProtocolClient";
2-
import { EmptyOperationCommand } from "../../src/commands/EmptyOperationCommand";
3-
import { KitchenSinkOperationCommand } from "../../src/commands/KitchenSinkOperationCommand";
4-
import { OperationWithOptionalInputOutputCommand } from "../../src/commands/OperationWithOptionalInputOutputCommand";
1+
import { JsonProtocolClient } from "../../JsonProtocolClient";
2+
import { EmptyOperationCommand } from "../../commands/EmptyOperationCommand";
3+
import { KitchenSinkOperationCommand } from "../../commands/KitchenSinkOperationCommand";
4+
import { OperationWithOptionalInputOutputCommand } from "../../commands/OperationWithOptionalInputOutputCommand";
55
import { HttpHandlerOptions, HeaderBag } from "@aws-sdk/types";
66
import { HttpHandler, HttpRequest, HttpResponse } from "@aws-sdk/protocol-http";
77
import { Readable } from "stream";

protocol_tests/aws-query/src/runtimeConfig.browser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
88
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
99
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
1010

11-
// @ts-ignore package.json will exist in dist, hack to avoid 'package.json' is not under 'rootDir'
11+
// @ts-ignore hack to avoid 'package.json' is not under 'rootDir', package.json will exist in dist
1212
import packageInfo from "./package.json";
1313

1414
import { ClientDefaults } from "./QueryProtocolClient";

protocol_tests/aws-query/src/runtimeConfig.native.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Sha256 } from "@aws-crypto/sha256-js";
22
import { parseUrl } from "@aws-sdk/url-parser-node";
33

4-
// @ts-ignore package.json will exist in dist, hack to avoid 'package.json' is not under 'rootDir'
4+
// @ts-ignore hack to avoid 'package.json' is not under 'rootDir', package.json will exist in dist
55
import packageInfo from "./package.json";
66

77
import { ClientDefaults } from "./QueryProtocolClient";

protocol_tests/aws-query/src/runtimeConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
1010
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
1111
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
1212

13-
// @ts-ignore package.json will exist in dist, hack to avoid 'package.json' is not under 'rootDir'
13+
// @ts-ignore hack to avoid 'package.json' is not under 'rootDir', package.json will exist in dist
1414
import packageInfo from "./package.json";
1515

1616
import { ClientDefaults } from "./QueryProtocolClient";

protocol_tests/aws-query/tests/functional/awsquery.spec.ts renamed to protocol_tests/aws-query/src/tests/functional/awsquery.spec.ts

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
import { QueryProtocolClient } from "../../src/QueryProtocolClient";
2-
import { EmptyInputAndEmptyOutputCommand } from "../../src/commands/EmptyInputAndEmptyOutputCommand";
3-
import { FlattenedXmlMapCommand } from "../../src/commands/FlattenedXmlMapCommand";
4-
import { FlattenedXmlMapWithXmlNameCommand } from "../../src/commands/FlattenedXmlMapWithXmlNameCommand";
5-
import { GreetingWithErrorsCommand } from "../../src/commands/GreetingWithErrorsCommand";
6-
import { IgnoresWrappingXmlNameCommand } from "../../src/commands/IgnoresWrappingXmlNameCommand";
7-
import { NestedStructuresCommand } from "../../src/commands/NestedStructuresCommand";
8-
import { NoInputAndNoOutputCommand } from "../../src/commands/NoInputAndNoOutputCommand";
9-
import { NoInputAndOutputCommand } from "../../src/commands/NoInputAndOutputCommand";
10-
import { QueryIdempotencyTokenAutoFillCommand } from "../../src/commands/QueryIdempotencyTokenAutoFillCommand";
11-
import { QueryListsCommand } from "../../src/commands/QueryListsCommand";
12-
import { QueryMapsCommand } from "../../src/commands/QueryMapsCommand";
13-
import { QueryTimestampsCommand } from "../../src/commands/QueryTimestampsCommand";
14-
import { RecursiveXmlShapesCommand } from "../../src/commands/RecursiveXmlShapesCommand";
15-
import { SimpleInputParamsCommand } from "../../src/commands/SimpleInputParamsCommand";
16-
import { SimpleScalarXmlPropertiesCommand } from "../../src/commands/SimpleScalarXmlPropertiesCommand";
17-
import { XmlBlobsCommand } from "../../src/commands/XmlBlobsCommand";
18-
import { XmlEnumsCommand } from "../../src/commands/XmlEnumsCommand";
19-
import { XmlListsCommand } from "../../src/commands/XmlListsCommand";
20-
import { XmlMapsCommand } from "../../src/commands/XmlMapsCommand";
21-
import { XmlMapsXmlNameCommand } from "../../src/commands/XmlMapsXmlNameCommand";
22-
import { XmlNamespacesCommand } from "../../src/commands/XmlNamespacesCommand";
23-
import { XmlTimestampsCommand } from "../../src/commands/XmlTimestampsCommand";
24-
import { ComplexError, InvalidGreeting } from "../../src/models/models_0";
1+
import { QueryProtocolClient } from "../../QueryProtocolClient";
2+
import { EmptyInputAndEmptyOutputCommand } from "../../commands/EmptyInputAndEmptyOutputCommand";
3+
import { FlattenedXmlMapCommand } from "../../commands/FlattenedXmlMapCommand";
4+
import { FlattenedXmlMapWithXmlNameCommand } from "../../commands/FlattenedXmlMapWithXmlNameCommand";
5+
import { GreetingWithErrorsCommand } from "../../commands/GreetingWithErrorsCommand";
6+
import { IgnoresWrappingXmlNameCommand } from "../../commands/IgnoresWrappingXmlNameCommand";
7+
import { NestedStructuresCommand } from "../../commands/NestedStructuresCommand";
8+
import { NoInputAndNoOutputCommand } from "../../commands/NoInputAndNoOutputCommand";
9+
import { NoInputAndOutputCommand } from "../../commands/NoInputAndOutputCommand";
10+
import { QueryIdempotencyTokenAutoFillCommand } from "../../commands/QueryIdempotencyTokenAutoFillCommand";
11+
import { QueryListsCommand } from "../../commands/QueryListsCommand";
12+
import { QueryMapsCommand } from "../../commands/QueryMapsCommand";
13+
import { QueryTimestampsCommand } from "../../commands/QueryTimestampsCommand";
14+
import { RecursiveXmlShapesCommand } from "../../commands/RecursiveXmlShapesCommand";
15+
import { SimpleInputParamsCommand } from "../../commands/SimpleInputParamsCommand";
16+
import { SimpleScalarXmlPropertiesCommand } from "../../commands/SimpleScalarXmlPropertiesCommand";
17+
import { XmlBlobsCommand } from "../../commands/XmlBlobsCommand";
18+
import { XmlEnumsCommand } from "../../commands/XmlEnumsCommand";
19+
import { XmlListsCommand } from "../../commands/XmlListsCommand";
20+
import { XmlMapsCommand } from "../../commands/XmlMapsCommand";
21+
import { XmlMapsXmlNameCommand } from "../../commands/XmlMapsXmlNameCommand";
22+
import { XmlNamespacesCommand } from "../../commands/XmlNamespacesCommand";
23+
import { XmlTimestampsCommand } from "../../commands/XmlTimestampsCommand";
24+
import { ComplexError, InvalidGreeting } from "../../models/models_0";
2525
import { HttpHandlerOptions, HeaderBag } from "@aws-sdk/types";
2626
import { HttpHandler, HttpRequest, HttpResponse } from "@aws-sdk/protocol-http";
2727
import { Readable } from "stream";

protocol_tests/aws-restjson/src/runtimeConfig.browser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
88
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
99
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
1010

11-
// @ts-ignore package.json will exist in dist, hack to avoid 'package.json' is not under 'rootDir'
11+
// @ts-ignore hack to avoid 'package.json' is not under 'rootDir', package.json will exist in dist
1212
import packageInfo from "./package.json";
1313

1414
import { ClientDefaults } from "./RestJsonProtocolClient";

protocol_tests/aws-restjson/src/runtimeConfig.native.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Sha256 } from "@aws-crypto/sha256-js";
22
import { parseUrl } from "@aws-sdk/url-parser-node";
33

4-
// @ts-ignore package.json will exist in dist, hack to avoid 'package.json' is not under 'rootDir'
4+
// @ts-ignore hack to avoid 'package.json' is not under 'rootDir', package.json will exist in dist
55
import packageInfo from "./package.json";
66

77
import { ClientDefaults } from "./RestJsonProtocolClient";

protocol_tests/aws-restjson/src/runtimeConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
1010
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
1111
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
1212

13-
// @ts-ignore package.json will exist in dist, hack to avoid 'package.json' is not under 'rootDir'
13+
// @ts-ignore hack to avoid 'package.json' is not under 'rootDir', package.json will exist in dist
1414
import packageInfo from "./package.json";
1515

1616
import { ClientDefaults } from "./RestJsonProtocolClient";

0 commit comments

Comments
 (0)