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
04c41fee
Unverified
Commit
04c41fee
authored
Dec 11, 2018
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✅
#12593
parent
6353fcff
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
src/test/java/org/b3log/solo/processor/ArticleProcessorTestCase.java
...va/org/b3log/solo/processor/ArticleProcessorTestCase.java
+1
-1
src/test/java/org/b3log/solo/processor/IndexProcessorTestCase.java
...java/org/b3log/solo/processor/IndexProcessorTestCase.java
+2
-2
src/test/java/org/b3log/solo/processor/InitProcessorTestCase.java
.../java/org/b3log/solo/processor/InitProcessorTestCase.java
+1
-1
src/test/java/org/b3log/solo/processor/LoginProcessorTestCase.java
...java/org/b3log/solo/processor/LoginProcessorTestCase.java
+2
-2
src/test/java/org/b3log/solo/processor/console/AdminConsoleTestCase.java
...rg/b3log/solo/processor/console/AdminConsoleTestCase.java
+1
-1
No files found.
src/test/java/org/b3log/solo/processor/ArticleProcessorTestCase.java
View file @
04c41fee
...
@@ -223,7 +223,7 @@ public class ArticleProcessorTestCase extends AbstractTestCase {
...
@@ -223,7 +223,7 @@ public class ArticleProcessorTestCase extends AbstractTestCase {
mockDispatcherServletService
(
request
,
response
);
mockDispatcherServletService
(
request
,
response
);
final
String
content
=
response
.
body
();
final
String
content
=
response
.
body
();
Assert
.
assertTrue
(
StringUtils
.
contains
(
content
,
"<title>访问密码</title>"
));
Assert
.
assertTrue
(
StringUtils
.
contains
(
content
,
"<title>
Admin 的个人博客 -
访问密码</title>"
));
}
}
/**
/**
...
...
src/test/java/org/b3log/solo/processor/IndexProcessorTestCase.java
View file @
04c41fee
...
@@ -69,7 +69,7 @@ public class IndexProcessorTestCase extends AbstractTestCase {
...
@@ -69,7 +69,7 @@ public class IndexProcessorTestCase extends AbstractTestCase {
mockDispatcherServletService
(
request
,
response
);
mockDispatcherServletService
(
request
,
response
);
final
String
content
=
response
.
body
();
final
String
content
=
response
.
body
();
Assert
.
assertTrue
(
StringUtils
.
contains
(
content
,
"<title>Admin 的个人博客</title>"
));
Assert
.
assertTrue
(
StringUtils
.
contains
(
content
,
"<title>Admin 的个人博客
- 403 Forbidden!
</title>"
));
}
}
/**
/**
...
@@ -83,6 +83,6 @@ public class IndexProcessorTestCase extends AbstractTestCase {
...
@@ -83,6 +83,6 @@ public class IndexProcessorTestCase extends AbstractTestCase {
mockDispatcherServletService
(
request
,
response
);
mockDispatcherServletService
(
request
,
response
);
final
String
content
=
response
.
body
();
final
String
content
=
response
.
body
();
Assert
.
assertTrue
(
StringUtils
.
contains
(
content
,
"<title>Admin 的个人博客</title>"
));
Assert
.
assertTrue
(
StringUtils
.
contains
(
content
,
"<title>Admin 的个人博客
- 注册 Solo 用户!
</title>"
));
}
}
}
}
src/test/java/org/b3log/solo/processor/InitProcessorTestCase.java
View file @
04c41fee
...
@@ -50,7 +50,7 @@ public class InitProcessorTestCase extends AbstractTestCase {
...
@@ -50,7 +50,7 @@ public class InitProcessorTestCase extends AbstractTestCase {
mockDispatcherServletService
(
request
,
response
);
mockDispatcherServletService
(
request
,
response
);
final
String
content
=
response
.
body
();
final
String
content
=
response
.
body
();
Assert
.
assertTrue
(
StringUtils
.
contains
(
content
,
"<title>欢迎使用
Solo
!</title>"
));
Assert
.
assertTrue
(
StringUtils
.
contains
(
content
,
"<title>欢迎使用!</title>"
));
}
}
/**
/**
...
...
src/test/java/org/b3log/solo/processor/LoginProcessorTestCase.java
View file @
04c41fee
...
@@ -65,7 +65,7 @@ public class LoginProcessorTestCase extends AbstractTestCase {
...
@@ -65,7 +65,7 @@ public class LoginProcessorTestCase extends AbstractTestCase {
mockDispatcherServletService
(
request
,
response
);
mockDispatcherServletService
(
request
,
response
);
final
String
content
=
response
.
body
();
final
String
content
=
response
.
body
();
Assert
.
assertTrue
(
StringUtils
.
contains
(
content
,
"<title>欢迎使用
Solo
!</title>"
));
Assert
.
assertTrue
(
StringUtils
.
contains
(
content
,
"<title>欢迎使用!</title>"
));
}
}
/**
/**
...
@@ -118,7 +118,7 @@ public class LoginProcessorTestCase extends AbstractTestCase {
...
@@ -118,7 +118,7 @@ public class LoginProcessorTestCase extends AbstractTestCase {
mockDispatcherServletService
(
request
,
response
);
mockDispatcherServletService
(
request
,
response
);
final
String
content
=
response
.
body
();
final
String
content
=
response
.
body
();
Assert
.
assertTrue
(
StringUtils
.
contains
(
content
,
" <title>
忘记密码 Solo
!</title>"
));
Assert
.
assertTrue
(
StringUtils
.
contains
(
content
,
" <title>
Admin 的个人博客 - 忘记密码
!</title>"
));
}
}
/**
/**
...
...
src/test/java/org/b3log/solo/processor/console/AdminConsoleTestCase.java
View file @
04c41fee
...
@@ -59,7 +59,7 @@ public class AdminConsoleTestCase extends AbstractTestCase {
...
@@ -59,7 +59,7 @@ public class AdminConsoleTestCase extends AbstractTestCase {
mockDispatcherServletService
(
request
,
response
);
mockDispatcherServletService
(
request
,
response
);
final
String
content
=
response
.
body
();
final
String
content
=
response
.
body
();
Assert
.
assertTrue
(
StringUtils
.
contains
(
content
,
"
Admin 的个人博客 - 后台管理
"
));
Assert
.
assertTrue
(
StringUtils
.
contains
(
content
,
"
后台管理 - Admin 的个人博客
"
));
}
}
/**
/**
...
...
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