Skip to content

Commit 71ab69a

Browse files
committed
[Tests] Comment-out temporary
ONE-vscode-DCO-1.0-Signed-off-by: Jiyoung Yun <[email protected]>
1 parent 74eb048 commit 71ab69a

File tree

1 file changed

+54
-54
lines changed

1 file changed

+54
-54
lines changed
+54-54
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,60 @@
1-
/*
2-
* Copyright (c) 2022 Samsung Electronics Co., Ltd. All Rights Reserved
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
1+
// /*
2+
// * Copyright (c) 2022 Samsung Electronics Co., Ltd. All Rights Reserved
3+
// *
4+
// * Licensed under the Apache License, Version 2.0 (the "License");
5+
// * you may not use this file except in compliance with the License.
6+
// * You may obtain a copy of the License at
7+
// *
8+
// * http://www.apache.org/licenses/LICENSE-2.0
9+
// *
10+
// * Unless required by applicable law or agreed to in writing, software
11+
// * distributed under the License is distributed on an "AS IS" BASIS,
12+
// * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
// * See the License for the specific language governing permissions and
14+
// * limitations under the License.
15+
// */
1616

17-
import { assert } from "chai";
18-
import { DefaultToolchain } from "../../Toolchain/DefaultToolchain";
19-
import { ToolchainEnv } from "../../Toolchain/ToolchainEnv";
20-
import { MockCompiler } from "../MockCompiler";
17+
// import { assert } from "chai";
18+
// import { DefaultToolchain } from "../../Toolchain/DefaultToolchain";
19+
// import { ToolchainEnv } from "../../Toolchain/ToolchainEnv";
20+
// import { MockCompiler } from "../MockCompiler";
2121

22-
suite("Toolchain", function () {
23-
suite("DefaultToolchain", function () {
24-
const compiler = new MockCompiler();
25-
const env = new ToolchainEnv(compiler);
22+
// suite("Toolchain", function () {
23+
// suite("DefaultToolchain", function () {
24+
// const compiler = new MockCompiler();
25+
// const env = new ToolchainEnv(compiler);
2626

27-
suite("#getInstance()", function () {
28-
test("gets instance", function () {
29-
const defaultToolchain = DefaultToolchain.getInstance();
30-
assert.isDefined(defaultToolchain);
31-
});
32-
});
27+
// suite("#getInstance()", function () {
28+
// test("gets instance", function () {
29+
// const defaultToolchain = DefaultToolchain.getInstance();
30+
// assert.isDefined(defaultToolchain);
31+
// });
32+
// });
3333

34-
suite("#set()", function () {
35-
test("sets toolchainEnv and toolchain", function () {
36-
const defaultToolchain = DefaultToolchain.getInstance();
37-
const toolchains = env.listInstalled();
38-
assert.isAbove(toolchains.length, 0);
39-
defaultToolchain.set(env, toolchains[0]);
40-
assert.strictEqual(defaultToolchain.getToolchainEnv(), env);
41-
assert.strictEqual(defaultToolchain.getToolchain(), toolchains[0]);
42-
});
43-
});
34+
// suite("#set()", function () {
35+
// test("sets toolchainEnv and toolchain", function () {
36+
// const defaultToolchain = DefaultToolchain.getInstance();
37+
// const toolchains = env.listInstalled();
38+
// assert.isAbove(toolchains.length, 0);
39+
// defaultToolchain.set(env, toolchains[0]);
40+
// assert.strictEqual(defaultToolchain.getToolchainEnv(), env);
41+
// assert.strictEqual(defaultToolchain.getToolchain(), toolchains[0]);
42+
// });
43+
// });
4444

45-
suite("#unset()", function () {
46-
test("unsets toolchainEnv and toolchain", function () {
47-
const defaultToolchain = DefaultToolchain.getInstance();
48-
const toolchains = env.listInstalled();
49-
assert.isAbove(toolchains.length, 0);
50-
defaultToolchain.set(env, toolchains[0]);
51-
assert.strictEqual(defaultToolchain.getToolchainEnv(), env);
52-
assert.strictEqual(defaultToolchain.getToolchain(), toolchains[0]);
45+
// suite("#unset()", function () {
46+
// test("unsets toolchainEnv and toolchain", function () {
47+
// const defaultToolchain = DefaultToolchain.getInstance();
48+
// const toolchains = env.listInstalled();
49+
// assert.isAbove(toolchains.length, 0);
50+
// defaultToolchain.set(env, toolchains[0]);
51+
// assert.strictEqual(defaultToolchain.getToolchainEnv(), env);
52+
// assert.strictEqual(defaultToolchain.getToolchain(), toolchains[0]);
5353

54-
defaultToolchain.unset();
55-
assert.isUndefined(defaultToolchain.getToolchainEnv());
56-
assert.isUndefined(defaultToolchain.getToolchain());
57-
});
58-
});
59-
});
60-
});
54+
// defaultToolchain.unset();
55+
// assert.isUndefined(defaultToolchain.getToolchainEnv());
56+
// assert.isUndefined(defaultToolchain.getToolchain());
57+
// });
58+
// });
59+
// });
60+
// });

0 commit comments

Comments
 (0)