Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
aece417c
Commit
aece417c
authored
6 years ago
by
Yann Cébron
Browse files
Options
Download
Email Patches
Plain Diff
BookmarkManagerTest: super.tearDown() in finally
parent
9a89b8ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
platform/platform-tests/testSrc/com/intellij/ide/bookmarks/BookmarkManagerTest.java
+9
-5
...stSrc/com/intellij/ide/bookmarks/BookmarkManagerTest.java
with
9 additions
and
5 deletions
+9
-5
platform/platform-tests/testSrc/com/intellij/ide/bookmarks/BookmarkManagerTest.java
+
9
-
5
View file @
aece417c
/*
* Copyright 2000-201
6
JetBrains s.r.o.
* Copyright 2000-201
8
JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
...
...
@@ -45,11 +45,15 @@ public class BookmarkManagerTest extends AbstractEditorTest {
@Override
protected
void
tearDown
()
throws
Exception
{
for
(
Bookmark
bookmark
:
myBookmarks
)
{
getManager
().
removeBookmark
(
bookmark
);
try
{
for
(
Bookmark
bookmark
:
myBookmarks
)
{
getManager
().
removeBookmark
(
bookmark
);
}
myBookmarks
.
clear
();
}
finally
{
super
.
tearDown
();
}
myBookmarks
.
clear
();
super
.
tearDown
();
}
public
void
testWholeTextReplace
()
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help