Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
duniter4j
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
clients
java
duniter4j
Commits
0288e27e
Commit
0288e27e
authored
9 years ago
by
Benoit Lavenier
Browse files
Options
Downloads
Patches
Plain Diff
Clean code
parent
b444222e
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ucoinj-cesium/src/main/cesium
+1
-1
1 addition, 1 deletion
ucoinj-cesium/src/main/cesium
ucoinj-core-client/src/test/java/io/ucoin/ucoinj/core/client/service/bma/WotRemoteServiceTest.java
+0
-31
0 additions, 31 deletions
.../ucoinj/core/client/service/bma/WotRemoteServiceTest.java
with
1 addition
and
32 deletions
cesium
@
76ab7adf
Compare
0e30023f
...
76ab7adf
Subproject commit
0e30023fb29cd1525d43d804670c2aca608331e3
Subproject commit
76ab7adf4186c32b5083dd1ea82ae3e81ab602df
This diff is collapsed.
Click to expand it.
ucoinj-core-client/src/test/java/io/ucoin/ucoinj/core/client/service/bma/WotRemoteServiceTest.java
+
0
−
31
View file @
0288e27e
...
...
@@ -157,7 +157,6 @@ public class WotRemoteServiceTest {
@Test
public
void
getCertification
()
throws
Exception
{
SecretBox
secretBox
=
createSecretBox
();
Wallet
wallet
=
createTestWallet
();
String
userUid
=
"kimamila"
;
...
...
@@ -184,28 +183,6 @@ public class WotRemoteServiceTest {
/* -- internal methods */
protected
void
assertBasicIdentity
(
BasicIdentity
identity
,
boolean
withSignature
)
{
Assert
.
assertNotNull
(
identity
);
Assert
.
assertNotNull
(
identity
.
getUid
());
Assert
.
assertNotNull
(
identity
.
getPubkey
());
if
(
withSignature
)
{
Assert
.
assertNotNull
(
identity
.
getSignature
());
}
else
{
Assert
.
assertNull
(
identity
.
getSignature
());
}
}
protected
void
assertIdentity
(
Identity
identity
)
{
assertBasicIdentity
(
identity
,
true
);
Assert
.
assertTrue
(
identity
.
getTimestamp
()
>
0
);
}
protected
Wallet
createTestWallet
()
{
Wallet
wallet
=
new
Wallet
(
resource
.
getFixtures
().
getCurrency
(),
...
...
@@ -224,12 +201,4 @@ public class WotRemoteServiceTest {
return
secretBox
;
}
protected
Peer
createTestPeer
()
{
Peer
peer
=
new
Peer
(
Configuration
.
instance
().
getNodeHost
(),
Configuration
.
instance
().
getNodePort
());
return
peer
;
}
}
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