-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Toolchain] Revisit ToolchainProvider class #717
[Toolchain] Revisit ToolchainProvider class #717
Conversation
3585cf1
to
5a3a6ad
Compare
The points
|
PTAL @jyoungyun |
src/Tests/Backend/Backend.test.ts
Outdated
assert.deepStrictEqual(value, backend); | ||
} | ||
}); | ||
}); | ||
|
||
teardown(function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This part can be separated pr.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
// TODO: Move this to MockCompiler.ts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/Toolchain/ToolchainProvider.ts
Outdated
@@ -17,88 +17,105 @@ | |||
import * as vscode from 'vscode'; | |||
|
|||
import {Toolchain} from '../Backend/Toolchain'; | |||
import {DebianToolchain} from '../Backend/ToolchainImpl/DebianToolchain'; | |||
import {Job, JobCallback} from '../Project/Job'; | |||
import {Job} from '../Project/Job'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's better to read this file as one file not diff.
import {BackendNode, BaseNode, NodeBuilder, ToolchainNode, ToolchainProvider} from '../../Toolchain/ToolchainProvider'; | ||
|
||
|
||
// TODO: Move this to MockCompiler.ts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PTAL @Samsung/one-vscode |
5a3a6ad
to
94459df
Compare
Rebased. PTAL @jyoungyun and @Samsung/one-vscode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This commit revisits ToolchainProver class in src/Toolchain. ONE-vscode-DCO-1.0-Signed-off-by: Yongseop Kim <[email protected]>
94459df
to
8c0e8c6
Compare
Rebased again... PTAL @jyoungyun and @Samsung/one-vscode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Please review this PR. /cc @Samsung/one-vscode
/cc @YongseopKim PR title has typo. ToolchainProver => ToolchainProvider |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This commit revisits ToolchainProver class in src/Toolchain.