Skip to content

Commit

Permalink
Update TAPI and fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
donat committed Feb 29, 2024
1 parent 13706c2 commit 2279929
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ package org.eclipse.buildship.core.internal.marker
import org.gradle.tooling.BuildException

import org.eclipse.core.resources.IMarker
import org.eclipse.core.runtime.IStatus

import org.eclipse.buildship.core.GradleDistribution
import org.eclipse.buildship.core.internal.test.fixtures.ProjectSynchronizationSpecification

class GradleErrorMarkerTest extends ProjectSynchronizationSpecification {
Expand Down Expand Up @@ -135,18 +137,18 @@ class GradleErrorMarkerTest extends ProjectSynchronizationSpecification {
def gradleInternal = gradle as GradleInternal
def problems = gradleInternal.services.get(Problems)
problems.forNamespace('buildscript').reporting {
problems.forNamespace("buildscript").reporting {
it.label("Problem label")
.category('deprecation', 'plugin')
.severity(Severity.WARNING)
.solution("Please use 'standard-plugin-2' instead of this plugin")
}
/**/
}
'''
}

when:
importAndWait(projectDir)
tryImportAndWait(projectDir)

then:
numOfGradleErrorMarkers == 1
Expand Down
Binary file modified org.gradle.toolingapi/org.gradle.toolingapi.source_8.6.0.jar
Binary file not shown.
Binary file modified org.gradle.toolingapi/org.gradle.toolingapi_8.6.0.jar
Binary file not shown.

0 comments on commit 2279929

Please sign in to comment.