-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#18 Время ожидания при выполнении запроса
#16 Добавить описание изменений
- Loading branch information
1 parent
a64cff3
commit 4889055
Showing
14 changed files
with
437 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,106 +1,240 @@ | ||
// Available variables which can be used inside of strings. | ||
// ${workspaceRoot}: the root folder of the team | ||
// ${file}: the current opened file | ||
// ${fileBasename}: the current opened file's basename | ||
// ${fileDirname}: the current opened file's dirname | ||
// ${fileExtname}: the current opened file's extension | ||
// ${cwd}: the current working directory of the spawned process | ||
|
||
{ | ||
"version": "0.1.0", | ||
"command": "oscript", | ||
"isShellCommand": true, | ||
"showOutput": "silent", | ||
"args": [ | ||
"-encoding=utf-8" | ||
], | ||
"tasks": [ | ||
{ | ||
"taskName": "OneScript: compile", | ||
"args": [ | ||
"-compile", | ||
"${file}" | ||
], | ||
"echoCommand": true, | ||
"showOutput": "always", | ||
"suppressTaskName": true, | ||
"isBuildCommand": false | ||
"version": "2.0.0", | ||
"_runner": "terminal", | ||
"windows": { | ||
"command": "cmd", | ||
"args": ["/c", "chcp 65001 &&"] | ||
}, | ||
{ | ||
"taskName": "OneScript: check", | ||
"args": [ | ||
"-check", | ||
"${file}" | ||
], | ||
"echoCommand": true, | ||
"showOutput": "always", | ||
"suppressTaskName": true, | ||
"isBuildCommand": false | ||
"linux": { | ||
"command": "sh", | ||
"args": ["-c"] | ||
}, | ||
{ | ||
"taskName": "OneScript: make", | ||
"args": [ | ||
"-make", | ||
"${file}", | ||
"${fileBasename}.exe" | ||
], | ||
"echoCommand": true, | ||
"showOutput": "always", | ||
"suppressTaskName": true, | ||
"isBuildCommand": false | ||
}, | ||
{ | ||
"taskName": "OneScript: run", | ||
"args": [ | ||
"${file}" | ||
], | ||
"echoCommand": true, | ||
"showOutput": "always", | ||
"suppressTaskName": true, | ||
"isBuildCommand": true, | ||
"problemMatcher": { | ||
"fileLocation": "absolute", | ||
"pattern": { | ||
"regexp": "^{Модуль\\s+(.*)\\s\\/\\s.*:\\s+(\\d+)\\s+\\/\\s+(.*)}$", | ||
"file": 1, | ||
"location": 2, | ||
"message": 3 | ||
} | ||
} | ||
}, | ||
{ | ||
"taskName": "OneScript-testrunner", | ||
"args": [ | ||
"../tests/testrunner.os", | ||
"-run", | ||
"${file}" | ||
], | ||
"echoCommand": true, | ||
"showOutput": "always", | ||
"suppressTaskName": true, | ||
"isBuildCommand": true, | ||
"problemMatcher": { | ||
"fileLocation": "absolute", | ||
"pattern": { | ||
"regexp": "^{Модуль\\s+(.*)\\s\\/\\s.*:\\s+(\\d+)\\s+\\/\\s+(.*)}$", | ||
"file": 1, | ||
"location": 2, | ||
"message": 3 | ||
} | ||
} | ||
}, | ||
{ | ||
"taskName": "OneScript-testrunner-all", | ||
"args": [ | ||
"../tests/testrunner.os", | ||
"-runall", | ||
"tests" | ||
], | ||
"echoCommand": true, | ||
"showOutput": "always", | ||
"suppressTaskName": true, | ||
"isBuildCommand": true, | ||
"problemMatcher": { | ||
"fileLocation": "absolute", | ||
"pattern": { | ||
"regexp": "^{Модуль\\s+(.*)\\s\\/\\s.*:\\s+(\\d+)\\s+\\/\\s+(.*)}$", | ||
"file": 1, | ||
"location": 2, | ||
"message": 3 | ||
"isShellCommand": true, | ||
// "showOutput": "silent", | ||
"_runner": "terminal", | ||
"tasks": [ | ||
{ | ||
"taskName": "Testing project", | ||
"args": [ | ||
"1testrunner", | ||
"-runall", | ||
"${workspaceRoot}/tests" | ||
], | ||
"echoCommand": true, | ||
"showOutput": "always", | ||
"suppressTaskName": true, | ||
// "isBuildCommand": false, | ||
"isTestCommand": false, | ||
"problemMatcher": { | ||
"fileLocation": "absolute", | ||
"pattern": { | ||
"regexp": "{Модуль\\s+(.+)\\s\\/\\s.*:\\s+(\\d+)\\s+\\/\\s+([^{]*)", | ||
"file": 1, | ||
"location": 2, | ||
"message": 3 | ||
} | ||
} | ||
}, | ||
{ | ||
"taskName": "Testing current test-file", | ||
"args": [ | ||
"1testrunner", | ||
"-run", | ||
"${file}", | ||
], | ||
"echoCommand": true, | ||
"showOutput": "always", | ||
"suppressTaskName": true, | ||
"isBuildCommand": false, | ||
"isTestCommand": true, | ||
"problemMatcher": { | ||
"fileLocation": "absolute", | ||
"pattern": { | ||
"regexp": "{Модуль\\s+(.+)\\s\\/\\s.*:\\s+(\\d+)\\s+\\/\\s+([^{]*)", | ||
"file": 1, | ||
"location": 2, | ||
"message": 3 | ||
} | ||
} | ||
}, | ||
{ | ||
"taskName": "Exec all features", | ||
"args": [ | ||
"1bdd", | ||
"${workspaceRoot}/features", | ||
"-out", | ||
"${workspaceRoot}/exec.log" | ||
], | ||
"echoCommand": true, | ||
"showOutput": "always", | ||
"suppressTaskName": true, | ||
"isBuildCommand": true, | ||
"isTestCommand": false, | ||
"problemMatcher": { | ||
"fileLocation": "absolute", | ||
"pattern": { | ||
"regexp": "{Модуль\\s+(.+)\\s\\/\\s.*:\\s+(\\d+)\\s+\\/\\s+([^{]*)", | ||
"file": 1, | ||
"location": 2, | ||
"message": 3 | ||
} | ||
} | ||
}, | ||
{ | ||
"taskName": "Exec feature", | ||
"args": [ | ||
"1bdd", | ||
"${file}", | ||
"-out", | ||
"${workspaceRoot}/exec.log" | ||
], | ||
"echoCommand": true, | ||
"showOutput": "always", | ||
"suppressTaskName": true, | ||
"isBuildCommand": false, | ||
"isTestCommand": true, | ||
"problemMatcher": { | ||
"fileLocation": "absolute", | ||
"pattern": [ | ||
{ | ||
"regexp": "{Модуль\\s+(.+)\\s\\/\\s.*:\\s+(\\d+)\\s+\\/\\s+([^{]*)", | ||
"file": 1, | ||
"location": 2, | ||
"message": 3 | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"taskName": "Exec feature for current step def", | ||
"args": [ | ||
"1bdd", | ||
"${fileDirname}/../${fileBasenameNoExtension}.feature", | ||
"-fail-fast", | ||
"-out", | ||
"${workspaceRoot}/exec.log" | ||
], | ||
"echoCommand": true, | ||
"showOutput": "always", | ||
"suppressTaskName": true, | ||
"isBuildCommand": false, | ||
"isTestCommand": true, | ||
"problemMatcher": { | ||
"fileLocation": "absolute", | ||
"pattern": [ | ||
{ | ||
"regexp": "{Модуль\\s+(.+)\\s\\/\\s.*:\\s+(\\d+)\\s+\\/\\s+([^{]*)", | ||
"file": 1, | ||
"location": 2, | ||
"message": 3 | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"taskName": "Generate feature steps", | ||
"args": [ | ||
"1bdd", | ||
"gen", | ||
"${file}", | ||
"-out", | ||
"${workspaceRoot}/exec.log" | ||
], | ||
"echoCommand": true, | ||
"showOutput": "always", | ||
"suppressTaskName": true, | ||
"isBuildCommand": false, | ||
"isTestCommand": false, | ||
"problemMatcher": { | ||
"fileLocation": "absolute", | ||
"pattern": { | ||
"regexp": "{Модуль\\s+(.+)\\s\\/\\s.*:\\s+(\\d+)\\s+\\/\\s+([^{]*)", | ||
"file": 1, | ||
"location": 2, | ||
"message": 3 | ||
} | ||
} | ||
}, | ||
{ | ||
"taskName": "Opm: package build", | ||
"args": [ | ||
"opm", | ||
"build", | ||
"${workspaceRoot}" | ||
], | ||
"echoCommand": true, | ||
"showOutput": "always", | ||
"suppressTaskName": true, | ||
"isBuildCommand": false | ||
}, | ||
{ | ||
"taskName": "OneScript: compile", | ||
"args": [ | ||
"oscript", | ||
"-encoding=utf-8", | ||
"-compile", | ||
"${file}" | ||
], | ||
"echoCommand": true, | ||
"showOutput": "always", | ||
"suppressTaskName": true, | ||
"isBuildCommand": false | ||
}, | ||
{ | ||
"taskName": "OneScript: check", | ||
"args": [ | ||
"oscript", | ||
"-encoding=utf-8", | ||
"-check", | ||
"${file}" | ||
], | ||
"echoCommand": true, | ||
"showOutput": "always", | ||
"suppressTaskName": true, | ||
"isBuildCommand": false | ||
}, | ||
{ | ||
"taskName": "OneScript: make", | ||
"args": [ | ||
"oscript", | ||
"-encoding=utf-8", | ||
"-make", | ||
"${file}", | ||
"${fileBasename}.exe" | ||
], | ||
"echoCommand": true, | ||
"showOutput": "always", | ||
"suppressTaskName": true, | ||
"isBuildCommand": false | ||
}, | ||
{ | ||
"taskName": "OneScript: run", | ||
"args": [ | ||
"oscript", | ||
"-encoding=utf-8", | ||
"${file}" | ||
], | ||
"echoCommand": true, | ||
"showOutput": "always", | ||
"suppressTaskName": true, | ||
"isBuildCommand": true, | ||
"problemMatcher": { | ||
"fileLocation": "absolute", | ||
"pattern": { | ||
"regexp": "^{Модуль\\s+(.*)\\s\\/\\s.*:\\s+(\\d+)\\s+\\/\\s+(.*)}$", | ||
"file": 1, | ||
"location": 2, | ||
"message": 3 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
2017-03-09 ret-Phoenix <dev@itpath.ru> | ||
|
||
[added] Запрос.Таймаут/Query.Timeout - Время в секундах, в течение которого должно происходить ожидание выполнения команды. По умолчанию используется значение 30 секунд. | ||
[fixed] Тесты, переделано на "#Использовать sql". | ||
[fixed] Документация, с учетом добавления свойства Таймаут. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.