Skip to content

Commit

Permalink
The EventSpy receives the new settings request/result
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Oct 17, 2024
1 parent 58dfa7d commit ea1666a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,12 @@ public void testit() throws Exception {
assertTrue(lines.toString(), lines.get(lines.size() - 1).toString().startsWith("close"));
assertTrue(
lines.toString(),
lines.contains("event: org.apache.maven.settings.building.DefaultSettingsBuildingRequest"));
lines.contains(
"event: org.apache.maven.api.services.SettingsBuilderRequest$SettingsBuilderRequestBuilder$DefaultSettingsBuilderRequest"));
assertTrue(
lines.toString(),
lines.contains("event: org.apache.maven.settings.building.DefaultSettingsBuildingResult"));
lines.contains(
"event: org.apache.maven.internal.impl.DefaultSettingsBuilder$DefaultSettingsBuilderResult"));
assertTrue(lines.toString(), lines.contains("event: org.apache.maven.execution.DefaultMavenExecutionRequest"));
assertTrue(lines.toString(), lines.contains("event: org.apache.maven.execution.DefaultMavenExecutionResult"));
assertTrue(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ public void testit() throws Exception {
assertTrue(lines.toString(), lines.get(lines.size() - 1).startsWith("close"));
assertTrue(
lines.toString(),
lines.contains("event: org.apache.maven.toolchain.building.DefaultToolchainsBuildingRequest"));
lines.contains("event: org.apache.maven.api.services.SettingsBuilderRequest$SettingsBuilderRequestBuilder$DefaultSettingsBuilderRequest"));
assertTrue(
lines.toString(),
lines.contains("event: org.apache.maven.toolchain.building.DefaultToolchainsBuildingResult"));
lines.contains("event: org.apache.maven.internal.impl.DefaultSettingsBuilder$DefaultSettingsBuilderResult"));
}
}

0 comments on commit ea1666a

Please sign in to comment.