Skip to content

Commit 8859dbc

Browse files
authored
Merge pull request #7964 from microsoft/java-videos
Fix video URLs
2 parents d618070 + a4223ab commit 8859dbc

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

docs/java/java-testing.md

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ The [Test Runner for Java](https://marketplace.visualstudio.com/items?itemName=v
4444

4545
Starting with Test Runner for Java version 0.34.0, you can enable a test framework for your unmanaged folder project (a project without any build tools) with just a few steps in the **Testing** Explorer:
4646

47-
<video autoplay loop muted playsinline controls title="Enable testing and adding test framework JARs to your project">
48-
<source src="/docs/java/java-testing/enable-tests.mp4" type="video/mp4">
47+
<video src="images/java-testing/enable-tests.mp4" autoplay loop muted playsinline controls title="Enable testing and adding test framework JARs to your project">
4948
</video>
5049

5150
> **Note**: Currently this feature only supports unmanaged folders that do not contain any testing dependencies.
@@ -139,16 +138,14 @@ If your project does not use any build tools, you can enable TestNG via the [Tes
139138

140139
The Test Runner for Java extension will generate shortcuts (the green play button) on the left side of the class and method definition. To run the target test cases, select the green play button. You can also right-click on it to see more options.
141140

142-
<video autoplay loop muted playsinline controls title="Run/debug test cases">
143-
<source src="/docs/java/java-testing/gutter-icon.mp4" type="video/mp4">
141+
<video src="images/java-testing/gutter-icon.mp4" autoplay loop muted playsinline controls title="Run/debug test cases">
144142
</video>
145143

146144
### Testing Explorer
147145

148146
The Testing Explorer is a tree view to show all the test cases in your workspace. You can select the beaker button on the left-side Activity bar of Visual Studio Code to open it. You can also run/debug your test cases and view their test results from there.
149147

150-
<video autoplay loop muted playsinline controls title="Testing Explorer">
151-
<source src="/docs/java/java-testing/test-explorer.mp4" type="video/mp4">
148+
<video src="images/java-testing/test-explorer.mp4" autoplay loop muted playsinline controls title="Testing Explorer">
152149
</video>
153150

154151
### Customize test configurations
@@ -179,8 +176,7 @@ More details can be found on the [vscode-java-test Wiki](https://github.com/Micr
179176

180177
After running/debugging the test cases, the state of the related test items will be updated in both editor decorations and the Testing Explorer.
181178

182-
<video autoplay loop muted playsinline controls title="View test results">
183-
<source src="/docs/java/java-testing/test-result.mp4" type="video/mp4">
179+
<video src="images/java-testing/test-result.mp4" autoplay loop muted playsinline controls title="View test results">
184180
</video>
185181

186182
You can trigger the command **Test: Peek Output** to peek the results view. You can select the links in the stack trace to navigate to the source location.
@@ -191,22 +187,19 @@ The extension provides features to help you scaffold test cases. You can find th
191187

192188
If you trigger this source action from your main source code (test subject), you will be asked the test class's fully qualified name and the methods you want to test. The extension will then generate the test code for you:
193189

194-
<video autoplay loop muted playsinline controls title="Generate tests">
195-
<source src="/docs/java/java-testing/generate-tests-from-main.mp4" type="video/mp4">
190+
<video src="images/java-testing/generate-tests-from-main.mp4" autoplay loop muted playsinline controls title="Generate tests">
196191
</video>
197192

198193
If you trigger the source action from your test source code, you will be asked which kinds of test methods you want to add. Including the lifecycle methods and the test method:
199194

200-
<video autoplay loop muted playsinline controls title="Generate tests from test">
201-
<source src="/docs/java/java-testing/generate-tests-from-test.mp4" type="video/mp4">
195+
<video src="images/java-testing/generate-tests-from-test.mp4" autoplay loop muted playsinline controls title="Generate tests from test">
202196
</video>
203197

204198
### Test navigation
205199

206200
The extension provides features to help you navigate between your tests and test subjects. If your source code is contained in `src/main/java` or `src/test/java`, you can find the entry named **Go to Test** or **Go to Test Subject** in the editor context menu:
207201

208-
<video autoplay loop muted playsinline controls title="Test navigation">
209-
<source src="/docs/java/java-testing/test-navigation.mp4" type="video/mp4">
202+
<video src="images/java-testing/test-navigation.mp4" autoplay loop muted playsinline controls title="Test navigation">
210203
</video>
211204

212205
You can also find the command in the Command Palette (`kb(workbench.action.showCommands)`) by searching for **Java: Go to Test**.

0 commit comments

Comments
 (0)