Skip to content

Commit

Permalink
added missing import statement in test source
Browse files Browse the repository at this point in the history
  • Loading branch information
martinlippert committed Jul 19, 2024
1 parent 5509423 commit 6b0bd5d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ private void assertCompletions(String completionLine, int noOfExpectedCompletion
String editorContent = """
package org.test;
import org.springframework.stereotype.Component;
import org.springframework.context.annotation.DependsOn;
@Component
Expand All @@ -207,6 +208,7 @@ public class TestDependsOnClass {
assertEquals("""
package org.test;
import org.springframework.stereotype.Component;
import org.springframework.context.annotation.DependsOn;
@Component
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ public void testSingleDependsOnBeanDefinitionLink() throws Exception {
Editor editor = harness.newEditor(LanguageId.JAVA, """
package org.test;
import org.springframework.stereotype.Component;
import org.springframework.context.annotation.DependsOn;
@Component
Expand All @@ -103,6 +104,7 @@ public void testMultipleDependsOnBeanDefinitionLink() throws Exception {
Editor editor = harness.newEditor(LanguageId.JAVA, """
package org.test;
import org.springframework.stereotype.Component;
import org.springframework.context.annotation.DependsOn;
@Component
Expand All @@ -129,6 +131,7 @@ public void testDependsOnWithMultipleBeanDefinitionLinks() throws Exception {
Editor editor = harness.newEditor(LanguageId.JAVA, """
package org.test;
import org.springframework.stereotype.Component;
import org.springframework.context.annotation.DependsOn;
@Component
Expand Down

0 comments on commit 6b0bd5d

Please sign in to comment.