Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo-1
Commits
6997e041
Unverified
Commit
6997e041
authored
Nov 04, 2019
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🎨
#12932 调整测试用用例
parent
bc6d769f
Changes
43
Hide whitespace changes
Inline
Side-by-side
Showing
43 changed files
with
64 additions
and
148 deletions
+64
-148
src/main/java/org/b3log/solo/service/StatisticMgmtService.java
...ain/java/org/b3log/solo/service/StatisticMgmtService.java
+0
-1
src/test/java/org/b3log/solo/AbstractTestCase.java
src/test/java/org/b3log/solo/AbstractTestCase.java
+1
-5
src/test/java/org/b3log/solo/MockRequest.java
src/test/java/org/b3log/solo/MockRequest.java
+12
-10
src/test/java/org/b3log/solo/MockResponse.java
src/test/java/org/b3log/solo/MockResponse.java
+12
-11
src/test/java/org/b3log/solo/processor/ArticleProcessorTestCase.java
...va/org/b3log/solo/processor/ArticleProcessorTestCase.java
+1
-3
src/test/java/org/b3log/solo/processor/BlogProcessorTestCase.java
.../java/org/b3log/solo/processor/BlogProcessorTestCase.java
+1
-3
src/test/java/org/b3log/solo/processor/CategoryProcessorTestCase.java
...a/org/b3log/solo/processor/CategoryProcessorTestCase.java
+1
-3
src/test/java/org/b3log/solo/processor/CommentProcessorTestCase.java
...va/org/b3log/solo/processor/CommentProcessorTestCase.java
+1
-3
src/test/java/org/b3log/solo/processor/ErrorProcessorTestCase.java
...java/org/b3log/solo/processor/ErrorProcessorTestCase.java
+1
-3
src/test/java/org/b3log/solo/processor/FeedProcessorTestCase.java
.../java/org/b3log/solo/processor/FeedProcessorTestCase.java
+1
-4
src/test/java/org/b3log/solo/processor/IndexProcessorTestCase.java
...java/org/b3log/solo/processor/IndexProcessorTestCase.java
+1
-3
src/test/java/org/b3log/solo/processor/SearchProcessorTestCase.java
...ava/org/b3log/solo/processor/SearchProcessorTestCase.java
+1
-3
src/test/java/org/b3log/solo/processor/SitemapProcessorTestCase.java
...va/org/b3log/solo/processor/SitemapProcessorTestCase.java
+1
-3
src/test/java/org/b3log/solo/processor/TagProcessorTestCase.java
...t/java/org/b3log/solo/processor/TagProcessorTestCase.java
+1
-3
src/test/java/org/b3log/solo/processor/UserTemplateProcessorTestCase.java
...g/b3log/solo/processor/UserTemplateProcessorTestCase.java
+1
-3
src/test/java/org/b3log/solo/processor/console/AdminConsoleTestCase.java
...rg/b3log/solo/processor/console/AdminConsoleTestCase.java
+2
-6
src/test/java/org/b3log/solo/processor/console/ArticleConsoleTestCase.java
.../b3log/solo/processor/console/ArticleConsoleTestCase.java
+1
-3
src/test/java/org/b3log/solo/processor/console/CategoryConsoleTestCase.java
...b3log/solo/processor/console/CategoryConsoleTestCase.java
+1
-3
src/test/java/org/b3log/solo/processor/console/CommentConsoleTestCase.java
.../b3log/solo/processor/console/CommentConsoleTestCase.java
+1
-3
src/test/java/org/b3log/solo/processor/console/LinkConsoleTestCase.java
...org/b3log/solo/processor/console/LinkConsoleTestCase.java
+1
-3
src/test/java/org/b3log/solo/processor/console/OtherConsoleTestCase.java
...rg/b3log/solo/processor/console/OtherConsoleTestCase.java
+1
-3
src/test/java/org/b3log/solo/processor/console/PageConsoleTestCase.java
...org/b3log/solo/processor/console/PageConsoleTestCase.java
+1
-3
src/test/java/org/b3log/solo/processor/console/PluginConsoleTestCase.java
...g/b3log/solo/processor/console/PluginConsoleTestCase.java
+1
-3
src/test/java/org/b3log/solo/processor/console/PreferenceConsoleTestCase.java
...log/solo/processor/console/PreferenceConsoleTestCase.java
+1
-3
src/test/java/org/b3log/solo/processor/console/RepairConsoleTestCase.java
...g/b3log/solo/processor/console/RepairConsoleTestCase.java
+1
-3
src/test/java/org/b3log/solo/processor/console/TagConsoleTestCase.java
.../org/b3log/solo/processor/console/TagConsoleTestCase.java
+1
-3
src/test/java/org/b3log/solo/processor/console/UserConsoleTestCase.java
...org/b3log/solo/processor/console/UserConsoleTestCase.java
+1
-3
src/test/java/org/b3log/solo/service/ArchiveDateQueryServiceTestCase.java
...g/b3log/solo/service/ArchiveDateQueryServiceTestCase.java
+1
-3
src/test/java/org/b3log/solo/service/ArticleMgmtServiceTestCase.java
...va/org/b3log/solo/service/ArticleMgmtServiceTestCase.java
+1
-3
src/test/java/org/b3log/solo/service/ArticleQueryServiceTestCase.java
...a/org/b3log/solo/service/ArticleQueryServiceTestCase.java
+1
-3
src/test/java/org/b3log/solo/service/CategoryMgmtServiceTestCase.java
...a/org/b3log/solo/service/CategoryMgmtServiceTestCase.java
+1
-3
src/test/java/org/b3log/solo/service/CategoryQueryServiceTestCase.java
.../org/b3log/solo/service/CategoryQueryServiceTestCase.java
+1
-3
src/test/java/org/b3log/solo/service/CommentMgmtServiceTestCase.java
...va/org/b3log/solo/service/CommentMgmtServiceTestCase.java
+1
-3
src/test/java/org/b3log/solo/service/CommentQueryServiceTestCase.java
...a/org/b3log/solo/service/CommentQueryServiceTestCase.java
+1
-3
src/test/java/org/b3log/solo/service/LinkMgmtServiceTestCase.java
.../java/org/b3log/solo/service/LinkMgmtServiceTestCase.java
+1
-3
src/test/java/org/b3log/solo/service/LinkQueryServiceTestCase.java
...java/org/b3log/solo/service/LinkQueryServiceTestCase.java
+1
-3
src/test/java/org/b3log/solo/service/OptionQueryServiceTestCase.java
...va/org/b3log/solo/service/OptionQueryServiceTestCase.java
+1
-3
src/test/java/org/b3log/solo/service/PageMgmtServiceTestCase.java
.../java/org/b3log/solo/service/PageMgmtServiceTestCase.java
+1
-3
src/test/java/org/b3log/solo/service/PageQueryServiceTestCase.java
...java/org/b3log/solo/service/PageQueryServiceTestCase.java
+1
-3
src/test/java/org/b3log/solo/service/PreferenceMgmtServiceTestCase.java
...org/b3log/solo/service/PreferenceMgmtServiceTestCase.java
+1
-3
src/test/java/org/b3log/solo/service/TagMgmtServiceTestCase.java
...t/java/org/b3log/solo/service/TagMgmtServiceTestCase.java
+1
-3
src/test/java/org/b3log/solo/service/TagQueryServiceTestCase.java
.../java/org/b3log/solo/service/TagQueryServiceTestCase.java
+1
-3
src/test/java/org/b3log/solo/util/MarkdownsTestCase.java
src/test/java/org/b3log/solo/util/MarkdownsTestCase.java
+0
-3
No files found.
src/main/java/org/b3log/solo/service/StatisticMgmtService.java
View file @
6997e041
...
...
@@ -40,7 +40,6 @@ import org.json.JSONArray;
import
org.json.JSONObject
;
import
java.util.Iterator
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Set
;
import
java.util.concurrent.ConcurrentHashMap
;
...
...
src/test/java/org/b3log/solo/AbstractTestCase.java
View file @
6997e041
...
...
@@ -45,7 +45,6 @@ import org.testng.annotations.BeforeMethod;
import
java.lang.reflect.Method
;
import
java.sql.Connection
;
import
java.util.Collection
;
import
java.util.Locale
;
/**
* Abstract test case.
...
...
@@ -73,7 +72,6 @@ public abstract class AbstractTestCase {
@BeforeClass
public
void
beforeClass
()
throws
Exception
{
Latkes
.
init
();
Latkes
.
setLocale
(
Locale
.
SIMPLIFIED_CHINESE
);
final
Collection
<
Class
<?>>
classes
=
Discoverer
.
discover
(
"org.b3log.solo"
);
BeanManager
.
start
(
classes
);
...
...
@@ -115,10 +113,8 @@ public abstract class AbstractTestCase {
/**
* Init solo in test.
*
* @throws Exception exception
*/
public
void
init
()
throws
Exception
{
public
void
init
()
{
final
InitService
initService
=
getInitService
();
final
JSONObject
requestJSONObject
=
new
JSONObject
();
requestJSONObject
.
put
(
User
.
USER_NAME
,
"Solo"
);
...
...
src/test/java/org/b3log/solo/MockRequest.java
View file @
6997e041
/*
* Copyright (c) 2009-present, b3log.org
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-present, b3log.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* http://www.apache.org/licenses/LICENSE-2.0
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package
org
.
b3log
.
solo
;
...
...
src/test/java/org/b3log/solo/MockResponse.java
View file @
6997e041
/*
* Copyright (c) 2009-present, b3log.org
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-present, b3log.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* http://www.apache.org/licenses/LICENSE-2.0
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package
org
.
b3log
.
solo
;
import
io.netty.handler.codec.http.HttpRequest
;
import
io.netty.handler.codec.http.HttpResponse
;
import
org.b3log.latke.http.Response
;
...
...
src/test/java/org/b3log/solo/processor/ArticleProcessorTestCase.java
View file @
6997e041
...
...
@@ -42,11 +42,9 @@ public class ArticleProcessorTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/processor/BlogProcessorTestCase.java
View file @
6997e041
...
...
@@ -36,11 +36,9 @@ public class BlogProcessorTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/processor/CategoryProcessorTestCase.java
View file @
6997e041
...
...
@@ -40,11 +40,9 @@ public class CategoryProcessorTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/processor/CommentProcessorTestCase.java
View file @
6997e041
...
...
@@ -46,11 +46,9 @@ public class CommentProcessorTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/processor/ErrorProcessorTestCase.java
View file @
6997e041
...
...
@@ -36,11 +36,9 @@ public class ErrorProcessorTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/processor/FeedProcessorTestCase.java
View file @
6997e041
...
...
@@ -36,17 +36,14 @@ public class FeedProcessorTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
/**
* blogArticlesAtom.
*
*/
@Test
(
dependsOnMethods
=
"init"
)
public
void
blogArticlesAtom
()
{
...
...
src/test/java/org/b3log/solo/processor/IndexProcessorTestCase.java
View file @
6997e041
...
...
@@ -54,11 +54,9 @@ public class IndexProcessorTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
(
dependsOnMethods
=
"showStart"
)
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/processor/SearchProcessorTestCase.java
View file @
6997e041
...
...
@@ -36,11 +36,9 @@ public class SearchProcessorTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/processor/SitemapProcessorTestCase.java
View file @
6997e041
...
...
@@ -36,11 +36,9 @@ public class SitemapProcessorTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/processor/TagProcessorTestCase.java
View file @
6997e041
...
...
@@ -38,11 +38,9 @@ public class TagProcessorTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/processor/UserTemplateProcessorTestCase.java
View file @
6997e041
...
...
@@ -38,11 +38,9 @@ public class UserTemplateProcessorTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/processor/console/AdminConsoleTestCase.java
View file @
6997e041
...
...
@@ -36,21 +36,17 @@ public class AdminConsoleTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
/**
* showAdminIndex.
*
* @throws Exception exception
*/
@Test
(
dependsOnMethods
=
"init"
)
public
void
showAdminIndex
()
throws
Exception
{
public
void
showAdminIndex
()
{
final
MockRequest
request
=
mockRequest
();
request
.
setRequestURI
(
"/admin-index.do"
);
mockAdminLogin
(
request
);
...
...
src/test/java/org/b3log/solo/processor/console/ArticleConsoleTestCase.java
View file @
6997e041
...
...
@@ -40,11 +40,9 @@ public class ArticleConsoleTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/processor/console/CategoryConsoleTestCase.java
View file @
6997e041
...
...
@@ -40,11 +40,9 @@ public class CategoryConsoleTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/processor/console/CommentConsoleTestCase.java
View file @
6997e041
...
...
@@ -40,11 +40,9 @@ public class CommentConsoleTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/processor/console/LinkConsoleTestCase.java
View file @
6997e041
...
...
@@ -41,11 +41,9 @@ public class LinkConsoleTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/processor/console/OtherConsoleTestCase.java
View file @
6997e041
...
...
@@ -36,11 +36,9 @@ public class OtherConsoleTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/processor/console/PageConsoleTestCase.java
View file @
6997e041
...
...
@@ -41,11 +41,9 @@ public class PageConsoleTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/processor/console/PluginConsoleTestCase.java
View file @
6997e041
...
...
@@ -36,11 +36,9 @@ public class PluginConsoleTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/processor/console/PreferenceConsoleTestCase.java
View file @
6997e041
...
...
@@ -38,11 +38,9 @@ public class PreferenceConsoleTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/processor/console/RepairConsoleTestCase.java
View file @
6997e041
...
...
@@ -36,11 +36,9 @@ public class RepairConsoleTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/processor/console/TagConsoleTestCase.java
View file @
6997e041
...
...
@@ -36,11 +36,9 @@ public class TagConsoleTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/processor/console/UserConsoleTestCase.java
View file @
6997e041
...
...
@@ -39,11 +39,9 @@ public class UserConsoleTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/service/ArchiveDateQueryServiceTestCase.java
View file @
6997e041
...
...
@@ -38,11 +38,9 @@ public class ArchiveDateQueryServiceTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/service/ArticleMgmtServiceTestCase.java
View file @
6997e041
...
...
@@ -40,11 +40,9 @@ public class ArticleMgmtServiceTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/service/ArticleQueryServiceTestCase.java
View file @
6997e041
...
...
@@ -38,11 +38,9 @@ public class ArticleQueryServiceTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/service/CategoryMgmtServiceTestCase.java
View file @
6997e041
...
...
@@ -35,11 +35,9 @@ public class CategoryMgmtServiceTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/service/CategoryQueryServiceTestCase.java
View file @
6997e041
...
...
@@ -36,11 +36,9 @@ public class CategoryQueryServiceTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/service/CommentMgmtServiceTestCase.java
View file @
6997e041
...
...
@@ -40,11 +40,9 @@ public class CommentMgmtServiceTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/service/CommentQueryServiceTestCase.java
View file @
6997e041
...
...
@@ -43,11 +43,9 @@ public class CommentQueryServiceTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/service/LinkMgmtServiceTestCase.java
View file @
6997e041
...
...
@@ -34,11 +34,9 @@ public class LinkMgmtServiceTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/service/LinkQueryServiceTestCase.java
View file @
6997e041
...
...
@@ -35,11 +35,9 @@ public class LinkQueryServiceTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/service/OptionQueryServiceTestCase.java
View file @
6997e041
...
...
@@ -35,11 +35,9 @@ public class OptionQueryServiceTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/service/PageMgmtServiceTestCase.java
View file @
6997e041
...
...
@@ -35,11 +35,9 @@ public class PageMgmtServiceTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/service/PageQueryServiceTestCase.java
View file @
6997e041
...
...
@@ -36,11 +36,9 @@ public class PageQueryServiceTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/service/PreferenceMgmtServiceTestCase.java
View file @
6997e041
...
...
@@ -34,11 +34,9 @@ public class PreferenceMgmtServiceTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/service/TagMgmtServiceTestCase.java
View file @
6997e041
...
...
@@ -31,11 +31,9 @@ public class TagMgmtServiceTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/service/TagQueryServiceTestCase.java
View file @
6997e041
...
...
@@ -36,11 +36,9 @@ public class TagQueryServiceTestCase extends AbstractTestCase {
/**
* Init.
*
* @throws Exception exception
*/
@Test
public
void
init
()
throws
Exception
{
public
void
init
()
{
super
.
init
();
}
...
...
src/test/java/org/b3log/solo/util/MarkdownsTestCase.java
View file @
6997e041
...
...
@@ -22,8 +22,6 @@ import org.testng.Assert;
import
org.testng.annotations.BeforeClass
;
import
org.testng.annotations.Test
;
import
java.util.Locale
;
/**
* {@link org.b3log.solo.util.Markdowns} test case.
*
...
...
@@ -36,7 +34,6 @@ public final class MarkdownsTestCase {
@BeforeClass
public
void
beforeClass
()
{
Latkes
.
init
();
Latkes
.
setLocale
(
Locale
.
SIMPLIFIED_CHINESE
);
}
/**
...
...
Write
Preview
Markdown
is supported
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