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
95fa0cfb
Commit
95fa0cfb
authored
Aug 03, 2015
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单元测试修复
parent
58fa56fb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
56 deletions
+3
-56
core/src/test/java/org/b3log/solo/service/TagQueryServiceTestCase.java
.../java/org/b3log/solo/service/TagQueryServiceTestCase.java
+3
-2
nbactions.xml
nbactions.xml
+0
-27
war/gae/nbactions.xml
war/gae/nbactions.xml
+0
-27
No files found.
core/src/test/java/org/b3log/solo/service/TagQueryServiceTestCase.java
View file @
95fa0cfb
...
@@ -28,7 +28,7 @@ import org.testng.annotations.Test;
...
@@ -28,7 +28,7 @@ import org.testng.annotations.Test;
* {@link TagQueryService} test case.
* {@link TagQueryService} test case.
*
*
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.0.0.
1, Sep 11, 2012
* @version 1.0.0.
2, Aug 3, 2015
*/
*/
@Test
(
suiteName
=
"service"
)
@Test
(
suiteName
=
"service"
)
public
class
TagQueryServiceTestCase
extends
AbstractTestCase
{
public
class
TagQueryServiceTestCase
extends
AbstractTestCase
{
...
@@ -64,8 +64,9 @@ public class TagQueryServiceTestCase extends AbstractTestCase {
...
@@ -64,8 +64,9 @@ public class TagQueryServiceTestCase extends AbstractTestCase {
final
List
<
JSONObject
>
tags
=
tagQueryService
.
getTags
();
final
List
<
JSONObject
>
tags
=
tagQueryService
.
getTags
();
Assert
.
assertNotNull
(
tags
);
Assert
.
assertNotNull
(
tags
);
Assert
.
assertEquals
(
tags
.
size
(),
1
);
Assert
.
assertEquals
(
tags
.
size
(),
2
);
Assert
.
assertEquals
(
tags
.
get
(
0
).
getString
(
Tag
.
TAG_TITLE
),
"B3log"
);
Assert
.
assertEquals
(
tags
.
get
(
0
).
getString
(
Tag
.
TAG_TITLE
),
"B3log"
);
Assert
.
assertEquals
(
tags
.
get
(
1
).
getString
(
Tag
.
TAG_TITLE
),
"Solo"
);
}
}
/**
/**
...
...
nbactions.xml
View file @
95fa0cfb
...
@@ -21,25 +21,6 @@
...
@@ -21,25 +21,6 @@
<goal>
license:remove
</goal>
<goal>
license:remove
</goal>
</goals>
</goals>
</action>
</action>
<action>
<actionName>
rebuild
</actionName>
<goals>
<goal>
clean
</goal>
<goal>
install
</goal>
</goals>
<properties>
<maven.test.skip>
true
</maven.test.skip>
</properties>
</action>
<action>
<actionName>
build
</actionName>
<goals>
<goal>
install
</goal>
</goals>
<properties>
<maven.test.skip>
true
</maven.test.skip>
</properties>
</action>
<action>
<action>
<actionName>
CUSTOM-checkstyle-checkstyle
</actionName>
<actionName>
CUSTOM-checkstyle-checkstyle
</actionName>
<displayName>
checkstyle-checkstyle
</displayName>
<displayName>
checkstyle-checkstyle
</displayName>
...
@@ -47,12 +28,4 @@
...
@@ -47,12 +28,4 @@
<goal>
checkstyle:checkstyle
</goal>
<goal>
checkstyle:checkstyle
</goal>
</goals>
</goals>
</action>
</action>
<action>
<actionName>
build-with-dependencies
</actionName>
<basedir>
..
</basedir>
<reactor>
also-make
</reactor>
<goals>
<goal>
install
</goal>
</goals>
</action>
</actions>
</actions>
war/gae/nbactions.xml
View file @
95fa0cfb
...
@@ -28,31 +28,4 @@
...
@@ -28,31 +28,4 @@
<goal>
gae:unpack
</goal>
<goal>
gae:unpack
</goal>
</goals>
</goals>
</action>
</action>
<action>
<actionName>
rebuild
</actionName>
<goals>
<goal>
clean
</goal>
<goal>
install
</goal>
</goals>
<properties>
<maven.test.skip>
true
</maven.test.skip>
</properties>
</action>
<action>
<actionName>
build
</actionName>
<goals>
<goal>
install
</goal>
</goals>
<properties>
<maven.test.skip>
true
</maven.test.skip>
</properties>
</action>
<action>
<actionName>
build-with-dependencies
</actionName>
<basedir>
..
</basedir>
<reactor>
also-make
</reactor>
<goals>
<goal>
install
</goal>
</goals>
</action>
</actions>
</actions>
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