Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
J
jackrabbit-tutorial-hello
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jeffrey Phillips Freeman
jackrabbit-tutorial-hello
Commits
e54eaded
Commit
e54eaded
authored
10 years ago
by
Jeffrey Phillips Freeman
Browse files
Options
Downloads
Patches
Plain Diff
Cleaned up the unit test to remove the unncessary code, and boilerplate comments.
parent
c55bfcae
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/test/java/com/syncleus/tutorial/jackrabbit/hello/AppTest.java
+2
-23
2 additions, 23 deletions
.../java/com/syncleus/tutorial/jackrabbit/hello/AppTest.java
with
2 additions
and
23 deletions
src/test/java/com/syncleus/tutorial/jackrabbit/hello/AppTest.java
+
2
−
23
View file @
e54eaded
...
@@ -17,32 +17,11 @@ import org.apache.jackrabbit.core.TransientRepository;
...
@@ -17,32 +17,11 @@ import org.apache.jackrabbit.core.TransientRepository;
/**
/**
* Unit test for simple App.
* Unit test for simple App.
*/
*/
public
class
AppTest
public
class
AppTest
extends
TestCase
{
{
private
static
final
String
MESSAGE
=
"Hello, World!"
;
private
static
final
String
MESSAGE
=
"Hello, World!"
;
/**
* Create the test case
*
* @param testName name of the test case
*/
public
AppTest
(
String
testName
)
{
super
(
testName
);
}
/**
* @return the suite of tests being tested
*/
public
static
Test
suite
()
{
return
new
TestSuite
(
AppTest
.
class
);
}
/**
public
void
testHelloWorld
()
throws
RepositoryException
* Rigourous Test :-)
*/
public
void
testApp
()
throws
LoginException
,
RepositoryException
{
{
Repository
repo
=
new
TransientRepository
();
Repository
repo
=
new
TransientRepository
();
Session
session
=
repo
.
login
(
Session
session
=
repo
.
login
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment