-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Trace for Content and Node API #10033 #10035
Conversation
@@ -521,6 +525,43 @@ | |||
assertThrows( OperationNotPermittedException.class, () -> nodeService.delete( DeleteNodeParams.create().nodeId( Node.ROOT_UUID ).build() ) ); | |||
} | |||
|
|||
@Test | |||
void nodes_has_children() |
Check notice
Code scanning / Pmd (reported by Codacy)
The JUnit 5 test method name 'nodes_has_children' doesn't match '[a-z][a-zA-Z0-9]*'
@@ -70,17 +87,72 @@ | |||
} | |||
|
|||
@Test | |||
public void traceNull() | |||
void traceNull() |
Check warning
Code scanning / Pmd (reported by Codacy)
JUnit tests should include assert() or fail()
} | ||
|
||
@Test | ||
void trace_enabled( @Mock final Consumer<Trace> before, @Mock final Supplier<Object> call ) |
Check warning
Code scanning / Pmd (reported by Codacy)
JUnit tests should include assert() or fail()
} | ||
|
||
@Test | ||
void trace_enabled( @Mock final Consumer<Trace> before, @Mock final BiConsumer<Trace, Object> after, @Mock final Supplier<Object> call ) |
Check warning
Code scanning / Pmd (reported by Codacy)
JUnit tests should include assert() or fail()
} | ||
|
||
@Test | ||
void trace_enabled( @Mock final Consumer<Trace> before, @Mock final Supplier<Object> call ) |
Check notice
Code scanning / Pmd (reported by Codacy)
The JUnit 5 test method name 'trace_enabled' doesn't match '[a-z][a-zA-Z0-9]*'
} | ||
|
||
@Test | ||
void trace_enabled( @Mock final Consumer<Trace> before, @Mock final BiConsumer<Trace, Object> after, @Mock final Supplier<Object> call ) |
Check notice
Code scanning / Pmd (reported by Codacy)
The JUnit 5 test method name 'trace_enabled' doesn't match '[a-z][a-zA-Z0-9]*'
} | ||
|
||
@Test | ||
void trace_disabled( @Mock final Consumer<Trace> before, @Mock final Supplier<Object> call ) |
Check notice
Code scanning / Pmd (reported by Codacy)
The JUnit 5 test method name 'trace_disabled' doesn't match '[a-z][a-zA-Z0-9]*'
{ | ||
Tracer.trace( (Trace) null, () -> | ||
{ | ||
} ); | ||
} | ||
|
||
@Test | ||
public void testTrace() | ||
void trace_disabled( @Mock final Consumer<Trace> before, @Mock final BiConsumer<Trace, Object> after, @Mock final Supplier<Object> call ) |
Check notice
Code scanning / Pmd (reported by Codacy)
The JUnit 5 test method name 'trace_disabled' doesn't match '[a-z][a-zA-Z0-9]*'
Codecov ReportBase: 84.01% // Head: 84.07% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #10035 +/- ##
============================================
+ Coverage 84.01% 84.07% +0.05%
Complexity 19310 19310
============================================
Files 2582 2582
Lines 67825 67773 -52
Branches 5471 5451 -20
============================================
- Hits 56986 56982 -4
+ Misses 8129 8096 -33
+ Partials 2710 2695 -15
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
No description provided.