Skip to content

Commit cfaa0cb

Browse files
committed
update links
1 parent 321e2c0 commit cfaa0cb

File tree

8 files changed

+32
-34
lines changed

8 files changed

+32
-34
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ No future change can break the code without being noticed once it's covered with
88
This way, modifications made by developers to an existing code are much safer.
99
Hence, with the help of generated unit tests, UTBot provides dramatic code quality improvement.
1010

11-
Features demonstration in 5 min (click to see on [Youtube](https://www.youtube.com/watch?v=bDJyWEeYhvk)):
11+
Features demonstration in 5 min (click to see on [YouTube](https://www.youtube.com/watch?v=bDJyWEeYhvk)):
1212

1313
[![UTBot C/C++ Demo](https://img.youtube.com/vi/bDJyWEeYhvk/0.jpg)](https://www.youtube.com/watch?v=bDJyWEeYhvk "UTBot C/C++ Demo")
1414

server/src/utils/Copyright.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ namespace Copyright {
1111
static inline const std::string GENERATED_C_CPP_FILE_HEADER =
1212
"/*\n"
1313
" * This file is automatically generated by UnitTestBot. "
14-
"For further information see http://utbot.inhuawei.com\n"
14+
"For further information see https://github.com/UnitTestBot/UTBotCpp\n"
1515
" * Copyright (c) Huawei Technologies Co., Ltd. 2012-2021. All rights reserved.\n"
1616
" */\n";
1717

1818
static inline const std::string GENERATED_MAKEFILE_HEADER =
1919
"# This file is automatically generated by UnitTestBot. "
20-
"For further information see http://utbot.inhuawei.com\n"
20+
"For further information see https://github.com/UnitTestBot/UTBotCpp\n"
2121
"# Copyright (c) Huawei Technologies Co., Ltd. 2012-2021. All rights reserved.\n";
2222

2323
static inline const std::string GENERATED_SH_HEADER = GENERATED_MAKEFILE_HEADER;

server/test/framework/Regression_Tests.cpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ namespace {
4242
}
4343
};
4444

45-
// http://jira-msc.rnd.huawei.com/browse/SAT-372
45+
// uint_32t parameters/return values and call external printf
4646
TEST_F(Regression_Test, SAT_372_Printf_Symbolic_Parameter) {
4747
fs::path helloworld_c = getTestFilePath("helloworld.c");
4848

@@ -60,7 +60,6 @@ namespace {
6060
"helloworld");
6161
}
6262

63-
// http://jira-msc.rnd.huawei.com/browse/SAT-752
6463
TEST_F(Regression_Test, Null_Return) {
6564
fs::path source = getTestFilePath("SAT-752.c");
6665

@@ -78,7 +77,7 @@ namespace {
7877
}
7978
}
8079

81-
// http://jira-msc.rnd.huawei.com/browse/SAT-760
80+
// struct definition, declaration, usage in separate files
8281
TEST_F(Regression_Test, Incomplete_Array_Type) {
8382
fs::path folderPath = suitePath / "SAT-760";
8483
auto projectRequest = testUtils::createProjectRequest(
@@ -120,7 +119,7 @@ namespace {
120119
}
121120
}
122121

123-
// http://jira-msc.rnd.huawei.com/browse/SAT-766
122+
// array type needs an explicit size or an initializer
124123
TEST_F(Regression_Test, Global_Char_Array) {
125124
fs::path source = getTestFilePath("SAT-766.c");
126125

@@ -138,7 +137,7 @@ namespace {
138137
"first");
139138
}
140139

141-
// http://jira-msc.rnd.huawei.com/browse/SAT-767
140+
// Index array into array of struct
142141
TEST_F(Regression_Test, Index_Out_Of_Bounds) {
143142
fs::path source = getTestFilePath("SAT-767.c");
144143
auto [testGen, status] = createTestForFunction(source, 12);
@@ -157,7 +156,7 @@ namespace {
157156
"first");
158157
}
159158

160-
// http://jira-msc.rnd.huawei.com/browse/SAT-777
159+
// null pointer
161160
TEST_F(Regression_Test, Global_Array_Of_Pointers) {
162161
fs::path source = getTestFilePath("SAT-777.c");
163162
auto [testGen, status] = createTestForFunction(source, 9);

vscode-plugin/media/wizard.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ <h2>👋Welcome to "UTBot: Quickstart" Wizard! </h2>
5151
<p> UTBot discovered that this is the first time you use it with this project.
5252
The Wizard will help you to configure the extension appropriatly.
5353
In case you don't wish to proceed, you can close this wizard at any time. </p>
54-
<p> In order to learn more about UTBot C/C++, please, refer to this <a href="http://utbot.inhuawei.com/docs/cpp">manual</a>. </p>
54+
<p> In order to learn more about UTBot C/C++, please, refer to this <a href="https://github.com/UnitTestBot/UTBotCpp/wiki">manual</a>. </p>
5555
</div>
5656

5757
<div class="utbot-form__tab installer-tab">
5858
<h2>🖥️Server Installation</h2>
5959
<p> If you are working on remote machine you can start UTBot Server installation
6060
right from here. Otherwise, please do it manually. </p>
61-
<p> In order to learn more about UTBot Server Installation process, please, refer to the <a href="http://utbot.inhuawei.com/docs/cpp/installation/installing-the-utbot-server">installation manual</a>. </p>
61+
<p> In order to learn more about UTBot Server Installation process, please, refer to the <a href="https://github.com/UnitTestBot/UTBotCpp/wiki/install-server">installation manual</a>. </p>
6262
<div class="utbot-form__tab_item utbot-form__tab_installer">
6363
<button type="button"
6464
class="utbot-form__tab_installer_button"
@@ -71,7 +71,7 @@ <h2>🖥️Server Installation</h2>
7171
<div class="utbot-form__tab connection-tab" vs-message-callback="sendPortAndHost()">
7272
<h2>📶Connection</h2>
7373
<p>Fill the parameters below accordingly to the ones specified during the
74-
<a href="http://utbot.inhuawei.com/docs/cpp/installation/installing-the-utbot-server">UTBot Server installation</a>.</p>
74+
<a href="https://github.com/UnitTestBot/UTBotCpp/wiki/install-server">UTBot Server installation</a>.</p>
7575

7676
<div class="utbot-form__tab_item">
7777
<label class="utbot-form__tab_label" for="hostInput">Host</label>
@@ -118,10 +118,9 @@ <h2>🎌CMake Options</h2>
118118
<h2>🎉Success!</h2>
119119
<p> UTBot extension was successfully configured, and now you are ready to use all its functionality. </p>
120120
<p> If you want to learn more about UTBot C/C++ or you have ay questions related to its usage, please, refer to this
121-
<a href="http://utbot.inhuawei.com/docs/cpp">manual</a>.</p>
121+
<a href="https://github.com/UnitTestBot/UTBotCpp/wiki">manual</a>.</p>
122122
<p>
123123
</div>
124-
</div>
125124

126125
<div class="utbot-form__navigation">
127126
<button type="button"

vscode-plugin/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "unittestbot",
33
"displayName": "UnitTestBot for C/C++",
44
"publisher": "Huawei",
5-
"repository": "https://rnd-gitlab-msc.huawei.com/unittestbot/UnitTestBot",
5+
"repository": "https://github.com/UnitTestBot/UTBotCpp",
66
"description": "Provides instruments for auto generating regression tests in C/C++ projects.",
77
"version": "0.0.1",
88
"engines": {
@@ -24,11 +24,11 @@
2424
"viewsWelcome": [
2525
{
2626
"view": "UTBotTargets",
27-
"contents": "No targets can be found in current workspace.\n[Learn more about UTBot C/C++](https://confluence-msc.rnd.huawei.com/display/SAT/UnitTestBot+CPP+Manual)."
27+
"contents": "No targets can be found in current workspace.\n[Learn more about UTBot C/C++](https://github.com/UnitTestBot/UTBotCpp/wiki/targets)."
2828
},
2929
{
3030
"view": "UTBotFolders",
31-
"contents": "No folders can be found in current workspace.\n[Learn more about UTBot C/C++](http://utbot.inhuawei.com/docs/cpp)."
31+
"contents": "No folders can be found in current workspace.\n[Learn more about UTBot C/C++](https://github.com/UnitTestBot/UTBotCpp/wiki)."
3232
}
3333
],
3434
"viewsContainers": {

vscode-plugin/package.nls.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"unittestbot.deployment.utbotHost.description": "UTBot Server host address. [Learn more](http://utbot.inhuawei.com/docs/cpp/usage/vscode-extension-settings#utbot-host)",
3-
"unittestbot.deployment.utbotPort.description": "UTBot Server port. [Learn more](http://utbot.inhuawei.com/docs/cpp/usage/vscode-extension-settings#utbot-port)",
4-
"unittestbot.deployment.remotePath.description": "Remote path configuration specifies the path to the project on a remote host. [Learn more](http://utbot.inhuawei.com/docs/cpp/usage/vscode-extension-settings#remote-path)",
5-
"unittestbot.paths.buildDirectory.description": "Relative path to build directory with compile_commands.json and/or coverage.json. [Learn more](http://utbot.inhuawei.com/docs/cpp/usage/vscode-extension-settings#build-directory)",
6-
"unittestbot.paths.cmakeOptions.description": "Options passed to CMake command. [Learn more](http://utbot.inhuawei.com/docs/cpp/usage/vscode-extension-settings#cmake-options)",
7-
"unittestbot.paths.testsDirectory.description": "Relative path to directory in which tests will be generated. [Learn more](http://utbot.inhuawei.com/docs/cpp/usage/vscode-extension-settings#tests-directory)",
8-
"unittestbot.paths.sourceDirectories.description": "Relative paths to directories, that are marked as source directories. Please, prefer using UTBot Explorer View instead of raw settings. [Learn more](http://utbot.inhuawei.com/docs/cpp/usage/vscode-extension-settings#source-directories)",
9-
"unittestbot.testsGeneration.applyHuawei'sFiveStepRuleStandard.description": "If set to true, tests will be formatted according to the Corporate Standarts. [Learn more](http://utbot.inhuawei.com/docs/cpp/usage/vscode-extension-settings#apply-huaweis-five-step-rule-standard)",
10-
"unittestbot.testsGeneration.generateForStaticFunctions.description": "True, if you want UTBot to generate tests for static functions. [Learn more](http://utbot.inhuawei.com/docs/cpp/usage/vscode-extension-settings#generate-for-static-functions)",
11-
"unittestbot.visual.showTestResults.description": "True, if you want UTBot to display whether test passed/failed. [Learn more](http://utbot.inhuawei.com/docs/cpp/usage/vscode-extension-settings#show-test-results)",
12-
"unittestbot.stubs.useStubs.description": "True, if you want UTBot to use generated stubs from <testsDir>/stubs folder instead real files. [Learn more](http://utbot.inhuawei.com/docs/cpp/usage/vscode-extension-settings#use-stubs)",
13-
"unittestbot.advanced.enableDeveloperMode.description": "Enables hidden commands for debug. [Learn more](http://utbot.inhuawei.com/docs/cpp/usage/vscode-extension-settings#enable-developer-mode)",
14-
"unittestbot.advanced.timeoutPerFunction.description": "Maximum time (in seconds) alloted for generation tests per function. Set to non-positive number to disable it. [Learn more](http://utbot.inhuawei.com/docs/cpp/usage/vscode-extension-settings#timeout-per-function)",
15-
"unittestbot.advanced.timeoutPerTest.description": "Maximum time (in seconds) alloted for a single test run. Set to non-positive number to disable it. [Learn more](http://utbot.inhuawei.com/docs/cpp/usage/vscode-extension-settings#timeout-per-test)",
16-
"unittestbot.advanced.useDeterministicSearcher.description": "Use deterministic searcher to traverse bitcode in the same way every time. It may significantly slow down generation. [Learn more](http://utbot.inhuawei.com/docs/cpp/usage/vscode-extension-settings#use-deterministic-searcher)",
2+
"unittestbot.deployment.utbotHost.description": "UTBot Server host address. [Learn more](https://github.com/UnitTestBot/UTBotCpp/wiki/vscode-extension-settings#deployment)",
3+
"unittestbot.deployment.utbotPort.description": "UTBot Server port. [Learn more](https://github.com/UnitTestBot/UTBotCpp/wiki/vscode-extension-settings#utbot-port)",
4+
"unittestbot.deployment.remotePath.description": "Remote path configuration specifies the path to the project on a remote host. [Learn more](https://github.com/UnitTestBot/UTBotCpp/wiki/vscode-extension-settings#remote-path)",
5+
"unittestbot.paths.buildDirectory.description": "Relative path to build directory with compile_commands.json and/or coverage.json. [Learn more](https://github.com/UnitTestBot/UTBotCpp/wiki/vscode-extension-settings#build-directory)",
6+
"unittestbot.paths.cmakeOptions.description": "Options passed to CMake command. [Learn more](https://github.com/UnitTestBot/UTBotCpp/wiki/vscode-extension-settings#cmake-options)",
7+
"unittestbot.paths.testsDirectory.description": "Relative path to directory in which tests will be generated. [Learn more](https://github.com/UnitTestBot/UTBotCpp/wiki/vscode-extension-settings#tests-directory)",
8+
"unittestbot.paths.sourceDirectories.description": "Relative paths to directories, that are marked as source directories. Please, prefer using UTBot Explorer View instead of raw settings. [Learn more](https://github.com/UnitTestBot/UTBotCpp/wiki/vscode-extension-settings#source-directories)",
9+
"unittestbot.testsGeneration.applyHuawei'sFiveStepRuleStandard.description": "If set to true, tests will be formatted according to the Corporate Standarts. [Learn more](https://github.com/UnitTestBot/UTBotCpp/wiki/vscode-extension-settings#apply-huaweis-five-step-rule-standard)",
10+
"unittestbot.testsGeneration.generateForStaticFunctions.description": "True, if you want UTBot to generate tests for static functions. [Learn more](https://github.com/UnitTestBot/UTBotCpp/wiki/vscode-extension-settings#generate-for-static-functions)",
11+
"unittestbot.visual.showTestResults.description": "True, if you want UTBot to display whether test passed/failed. [Learn more](https://github.com/UnitTestBot/UTBotCpp/wiki/vscode-extension-settings#show-test-results)",
12+
"unittestbot.stubs.useStubs.description": "True, if you want UTBot to use generated stubs from <testsDir>/stubs folder instead real files. [Learn more](https://github.com/UnitTestBot/UTBotCpp/wiki/vscode-extension-settings#use-stubs)",
13+
"unittestbot.advanced.enableDeveloperMode.description": "Enables hidden commands for debug. [Learn more](https://github.com/UnitTestBot/UTBotCpp/wiki/vscode-extension-settings#enable-developer-mode)",
14+
"unittestbot.advanced.timeoutPerFunction.description": "Maximum time (in seconds) alloted for generation tests per function. Set to non-positive number to disable it. [Learn more](https://github.com/UnitTestBot/UTBotCpp/wiki/vscode-extension-settings#timeout-per-function)",
15+
"unittestbot.advanced.timeoutPerTest.description": "Maximum time (in seconds) alloted for a single test run. Set to non-positive number to disable it. [Learn more](https://github.com/UnitTestBot/UTBotCpp/wiki/vscode-extension-settings#timeout-per-test)",
16+
"unittestbot.advanced.useDeterministicSearcher.description": "Use deterministic searcher to traverse bitcode in the same way every time. It may significantly slow down generation. [Learn more](https://github.com/UnitTestBot/UTBotCpp/wiki/vscode-extension-settings#use-deterministic-searcher)",
1717
"unittestbot.utbottargets.refreshEntry.title": "Refresh",
1818
"unittestbot.utbotfolders.refreshEntry.title": "Refresh",
1919
"unittestbot.wizard.init.title": "Run UTBot: Quickstart Wizard",

vscode-plugin/src/config/projectConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { ProjectConfigEventsEmitter } from './projectConfigEventsEmitter';
1515
const { logger } = ExtensionLogger;
1616

1717
export class ProjectConfig {
18-
private static readonly guideUri = "http://utbot.inhuawei.com/docs/cpp";
18+
private static readonly guideUri = "https://github.com/UnitTestBot/UTBotCpp/wiki";
1919

2020
private readonly projectName: string;
2121
private readonly projectPath: string;

vscode-plugin/src/generators/gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ async function runWithProgress(
180180
const skip = 'Skip';
181181
const fileTargets = await client.requestFileTargets(filePath, progressKey, token);
182182
const targetsList = fileTargets.getTargetsList();
183-
const message = `${details}: ${pathUtils.substituteLocalPath(filePath)}. See [documentation](http://utbot.inhuawei.com/docs/cpp) for more details.`;
183+
const message = `${details}: ${pathUtils.substituteLocalPath(filePath)}. See [documentation](https://github.com/UnitTestBot/UTBotCpp/wiki) for more details.`;
184184
return vs.window.showWarningMessage(message, ...[chooseTarget, skip]).then(async selection => {
185185
if (selection === chooseTarget) {
186186
const quickPickItems = targetsList

0 commit comments

Comments
 (0)