Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
19,100 | boolean (Object o) { return myDelegate.equals(o); } | equals |
19,101 | int () { return myDelegate.hashCode(); } | hashCode |
19,102 | void (final String... moduleNames) { compile(createModulesCompileScope(moduleNames)); } | compileModules |
19,103 | void (String... artifactNames) { compile(createArtifactsScope(artifactNames)); } | buildArtifacts |
19,104 | void (final CompileScope scope) { try { CompilerTester tester = new CompilerTester(myProject, Arrays.asList(scope.getAffectedModules()), null); try { List<CompilerMessage> messages = tester.make(scope); for (CompilerMessage message : messages) { if (message.getCategory() == CompilerMessageCategory.ERROR) { fail("Compilation failed with error: " + message.getMessage()); } } } finally { tester.tearDown(); } } catch (Exception e) { ExceptionUtil.rethrow(e); } } | compile |
19,105 | CompileScope (String[] artifactNames) { List<Artifact> artifacts = new ArrayList<>(); for (String name : artifactNames) { artifacts.add(ArtifactsTestUtil.findArtifact(myProject, name)); } return ArtifactCompileScope.createArtifactsScope(myProject, artifacts); } | createArtifactsScope |
19,106 | CompileScope (final String[] moduleNames) { final List<Module> modules = new ArrayList<>(); for (String name : moduleNames) { modules.add(getModule(name)); } return new ModuleCompileScope(myProject, modules.toArray(Module.EMPTY_ARRAY), false); } | createModulesCompileScope |
19,107 | void (String relativePath, TestFileSystemBuilder fileSystemBuilder) { fileSystemBuilder.build().assertDirectoryEqual(new File(myProjectPom.getParent().getPath(), relativePath)); } | assertDirectory |
19,108 | void (String relativePath, TestFileSystemBuilder fileSystemBuilder) { fileSystemBuilder.build().assertFileEqual(new File(myProjectPom.getParent().getPath(), relativePath)); } | assertJar |
19,109 | String (@NotNull Module module, boolean fallbackToInternal) { String jdkVersion = null; Optional<Sdk> sdk = Optional.ofNullable(ModuleRootManager.getInstance(module).getSdk()); if (sdk.isEmpty()) { Optional<JdkOrderEntry> jdkEntry = Arrays.stream(ModuleRootManager.getInstance(module).getOrderEntries()) .filter(JdkOrderEntry.class::isInstance) .map(JdkOrderEntry.class::cast) .findFirst(); if (jdkEntry.isPresent()) { jdkVersion = jdkEntry.get().getJdkName(); } } else { jdkVersion = sdk.get().getVersionString(); } if (jdkVersion == null && fallbackToInternal) { jdkVersion = JavaAwareProjectJdkTableImpl.getInstanceEx().getInternalJdk().getVersionString(); } if (jdkVersion != null) { final int quoteIndex = jdkVersion.indexOf('"'); if (quoteIndex != -1) { jdkVersion = jdkVersion.substring(quoteIndex + 1, jdkVersion.length() - 1); } } return jdkVersion; } | extractJdkVersion |
19,110 | void (String path) { assertTrue(new File(myProjectPom.getParent().getPath(), path).exists()); } | assertCopied |
19,111 | void (String path) { assertFalse(new File(myProjectPom.getParent().getPath(), path).exists()); } | assertNotCopied |
19,112 | void (List<String> actualRoots, String... roots) { List<String> expectedRootUrls = new ArrayList<>(); for (String r : roots) { String url = VfsUtilCore.pathToUrl(getProjectPath() + "/" + r); expectedRootUrls.add(url); } assertUnorderedPathsAreEqual(actualRoots, expectedRootUrls); } | doAssertSourceRoots |
19,113 | FACET_TYPE (String module) { return getFacet(module, getFacetType()); } | getFacet |
19,114 | FACET_TYPE (String module) { return findFacet(module, getFacetType()); } | findFacet |
19,115 | String () { return getFacetType().getDefaultFacetName(); } | getDefaultFacetName |
19,116 | void (String version) { Assume.assumeTrue("Version should be more than " + version, VersionComparatorUtil.compare(getActualVersion(myMavenVersion), version) > 0); } | assumeVersionMoreThan |
19,117 | void (String version) { Assume.assumeTrue("Version should be " + version + " or more", VersionComparatorUtil.compare(getActualVersion(myMavenVersion), version) >= 0); } | assumeVersionAtLeast |
19,118 | void (String version) { Assume.assumeTrue("Version should be less than " + version, VersionComparatorUtil.compare(getActualVersion(myMavenVersion), version) < 0); } | assumeVersionLessThan |
19,119 | void (String version) { Assume.assumeTrue("Version " + version + " skipped", VersionComparatorUtil.compare(getActualVersion(myMavenVersion), version) != 0); } | assumeVersionNot |
19,120 | void (String version) { Assume.assumeTrue("Version " + version + " skipped", VersionComparatorUtil.compare(getActualVersion(myMavenVersion), version) == 0); } | assumeVersion |
19,121 | LanguageLevel () { var version = getActualVersion(myMavenVersion); if (VersionComparatorUtil.compare("3.9.3", version) <= 0) { return LanguageLevel.JDK_1_8; } if (VersionComparatorUtil.compare("3.9.0", version) <= 0) { return LanguageLevel.JDK_1_7; } return LanguageLevel.JDK_1_5; } | getDefaultLanguageLevel |
19,122 | String (String pluginId) { if (pluginId.equals("org.apache.maven:maven-compiler-plugin")) { if (mavenVersionIsOrMoreThan("3.9.3")) { return "3.11.0"; } if (mavenVersionIsOrMoreThan("3.9.0")) { return "3.10.1"; } return "3.1"; } throw new IllegalArgumentException( "this plugin is not configured yet, consider https://youtrack.jetbrains.com/issue/IDEA-313733/create-matrix-of-plugin-levels-for-different-java-versions"); } | getDefaultPluginVersion |
19,123 | boolean (String version) { return StringUtil.compareVersionNumbers(version, getActualVersion(myMavenVersion)) <= 0; } | mavenVersionIsOrMoreThan |
19,124 | boolean () { return StringUtil.compareVersionNumbers(getActualVersion(myMavenVersion), "4.0") >= 0; } | isMaven4 |
19,125 | String (String value) { return isMaven4() ? value : null; } | maven4orNull |
19,126 | String[] () { return arrayOfNotNull("src/main/resources", maven4orNull("src/main/resources-filtered")); } | defaultResources |
19,127 | String[] () { return arrayOfNotNull("src/test/resources", maven4orNull("src/test/resources-filtered")); } | defaultTestResources |
19,128 | String[] () { return ArrayUtil.mergeArrays(defaultResources(), defaultTestResources()); } | allDefaultResources |
19,129 | void (String moduleName, String... additionalSources) { var expectedSources = ArrayUtil.mergeArrays(defaultResources(), additionalSources); assertResources(moduleName, expectedSources); } | assertDefaultResources |
19,130 | void (String moduleName, String... additionalSources) { var expectedSources = ArrayUtil.mergeArrays(defaultTestResources(), additionalSources); assertTestResources(moduleName, expectedSources); } | assertDefaultTestResources |
19,131 | void (String moduleName, @NotNull JpsModuleSourceRootType<?> rootType, String... additionalSources) { var expectedSources = ArrayUtil.mergeArrays(defaultResources(), additionalSources); ContentEntry contentRoot = getContentRoot(moduleName); doAssertContentFolders(contentRoot, contentRoot.getSourceFolders(rootType), expectedSources); } | assertDefaultResources |
19,132 | void (String moduleName, @NotNull JpsModuleSourceRootType<?> rootType, String... additionalSources) { var expectedSources = ArrayUtil.mergeArrays(defaultTestResources(), additionalSources); ContentEntry contentRoot = getContentRoot(moduleName); doAssertContentFolders(contentRoot, contentRoot.getSourceFolders(rootType), expectedSources); } | assertDefaultTestResources |
19,133 | String[] (String... values) { if (null == values) return ArrayUtil.EMPTY_STRING_ARRAY; return Arrays.stream(values).filter(v -> null != v).toArray(String[]::new); } | arrayOfNotNull |
19,134 | void () { createStdProjectFolders(""); } | createStdProjectFolders |
19,135 | void (String subdir) { if (!subdir.isEmpty()) subdir += "/"; var folders = ArrayUtil.mergeArrays(allDefaultResources(), "src/main/java", "src/test/java" ); createProjectSubDirs(subdir, folders); } | createStdProjectFolders |
19,136 | void (String subdir, String... relativePaths) { for (String path : relativePaths) { createProjectSubDir(subdir + path); } } | createProjectSubDirs |
19,137 | void (String moduleName, String... expectedRelativeRoots) { var expectedRoots = Arrays.stream(expectedRelativeRoots) .map(root -> getProjectPath() + ("".equals(root) ? "" : "/" + root)) .toArray(String[]::new); assertContentRoots(moduleName, expectedRoots); } | assertRelativeContentRoots |
19,138 | void (String moduleName, String... expectedRoots) { List<String> actual = new ArrayList<>(); for (ContentEntry e : getContentRoots(moduleName)) { actual.add(e.getUrl()); } assertUnorderedPathsAreEqual(actual, ContainerUtil.map(expectedRoots, root -> VfsUtilCore.pathToUrl(root))); } | assertContentRoots |
19,139 | void (String moduleName, String... expectedSources) { ContentEntry contentRoot = getContentRoot(moduleName); List<ContentFolder> folders = new ArrayList<>(); for (SourceFolder folder : contentRoot.getSourceFolders(JavaSourceRootType.SOURCE)) { JavaSourceRootProperties properties = folder.getJpsElement().getProperties(JavaSourceRootType.SOURCE); assertNotNull(properties); if (properties.isForGeneratedSources()) { folders.add(folder); } } doAssertContentFolders(contentRoot, folders, expectedSources); } | assertGeneratedSources |
19,140 | void (String moduleName, String... expectedSources) { doAssertContentFolders(moduleName, JavaSourceRootType.SOURCE, expectedSources); } | assertSources |
19,141 | void (String moduleName, String contentRoot, String... expectedSources) { ContentEntry root = getContentRoot(moduleName, contentRoot); doAssertContentFolders(root, root.getSourceFolders(JavaSourceRootType.SOURCE), expectedSources); } | assertContentRootSources |
19,142 | void (String moduleName, String... expectedSources) { doAssertContentFolders(moduleName, JavaResourceRootType.RESOURCE, expectedSources); } | assertResources |
19,143 | void (String moduleName, String contentRoot, String... expectedSources) { ContentEntry root = getContentRoot(moduleName, contentRoot); doAssertContentFolders(root, root.getSourceFolders(JavaResourceRootType.RESOURCE), expectedSources); } | assertContentRootResources |
19,144 | void (String moduleName, String... expectedSources) { doAssertContentFolders(moduleName, JavaSourceRootType.TEST_SOURCE, expectedSources); } | assertTestSources |
19,145 | void (String moduleName, String contentRoot, String... expectedSources) { ContentEntry root = getContentRoot(moduleName, contentRoot); doAssertContentFolders(root, root.getSourceFolders(JavaSourceRootType.TEST_SOURCE), expectedSources); } | assertContentRootTestSources |
19,146 | void (String moduleName, String... expectedSources) { doAssertContentFolders(moduleName, JavaResourceRootType.TEST_RESOURCE, expectedSources); } | assertTestResources |
19,147 | void (String moduleName, String contentRoot, String... expectedSources) { ContentEntry root = getContentRoot(moduleName, contentRoot); doAssertContentFolders(root, root.getSourceFolders(JavaResourceRootType.TEST_RESOURCE), expectedSources); } | assertContentRootTestResources |
19,148 | void (String moduleName, String... expectedExcludes) { ContentEntry contentRoot = getContentRoot(moduleName); doAssertContentFolders(contentRoot, Arrays.asList(contentRoot.getExcludeFolders()), expectedExcludes); } | assertExcludes |
19,149 | void (String moduleName, String contentRoot, String... expectedExcudes) { ContentEntry root = getContentRoot(moduleName, contentRoot); doAssertContentFolders(root, Arrays.asList(root.getExcludeFolders()), expectedExcudes); } | assertContentRootExcludes |
19,150 | void (String moduleName, @NotNull JpsModuleSourceRootType<?> rootType, String... expected) { ContentEntry contentRoot = getContentRoot(moduleName); doAssertContentFolders(contentRoot, contentRoot.getSourceFolders(rootType), expected); } | doAssertContentFolders |
19,151 | ContentEntry (String moduleName) { ContentEntry[] ee = getContentRoots(moduleName); List<String> roots = new ArrayList<>(); for (ContentEntry e : ee) { roots.add(e.getUrl()); } String message = "Several content roots found: [" + StringUtil.join(roots, ", ") + "]"; assertEquals(message, 1, ee.length); return ee[0]; } | getContentRoot |
19,152 | ContentEntry (String moduleName, String path) { ContentEntry[] roots = getContentRoots(moduleName); for (ContentEntry e : roots) { if (e.getUrl().equals(VfsUtilCore.pathToUrl(path))) return e; } throw new AssertionError("content root not found in module " + moduleName + ":" + "\nExpected root: " + path + "\nExisting roots:" + "\n" + StringUtil.join(roots, it -> " * " + it.getUrl(), "\n")); } | getContentRoot |
19,153 | List<String[]> () { String mavenVersionsString = System.getProperty("maven.versions.to.run"); String[] mavenVersionsToRun = MAVEN_VERSIONS; if (mavenVersionsString != null && !mavenVersionsString.isEmpty()) { mavenVersionsToRun = mavenVersionsString.split(","); } return ContainerUtil.map(mavenVersionsToRun, it -> new String[]{it}); } | getMavenVersions |
19,154 | String (String version) { if (version.equals("bundled")) { return MavenDistributionsCache.resolveEmbeddedMavenHome().getVersion(); } return version; } | getActualVersion |
19,155 | void (ContentEntry e, final List<? extends ContentFolder> folders, String... expected) { List<String> actual = new ArrayList<>(); for (ContentFolder f : folders) { String rootUrl = e.getUrl(); String folderUrl = f.getUrl(); if (folderUrl.startsWith(rootUrl)) { int length = rootUrl.length() + 1; folderUrl = folderUrl.substring(Math.min(length, folderUrl.length())); } actual.add(folderUrl); } assertSameElements("Unexpected list of folders in content root " + e.getUrl(), actual, Arrays.asList(expected)); } | doAssertContentFolders |
19,156 | PsiFile (VirtualFile f) { return PsiManager.getInstance(myProject).findFile(f); } | findPsiFile |
19,157 | void (VirtualFile f) { if (Comparing.equal(myConfigTimestamps.get(f), f.getTimeStamp())) { MavenLog.LOG.warn("MavenDomTestCase configTest skipped"); return; } myFixture.configureFromExistingVirtualFile(f); myConfigTimestamps.put(f, f.getTimeStamp()); MavenLog.LOG.warn("MavenDomTestCase configTest performed"); } | configTest |
19,158 | void (VirtualFile f, char c) { configTest(f); myFixture.type(c); } | type |
19,159 | PsiReference (VirtualFile f) { configTest(f); int editorOffset = getEditorOffset(f); MavenLog.LOG.warn("MavenDomTestCase getReferenceAtCaret offset " + editorOffset); return findPsiFile(f).findReferenceAt(editorOffset); } | getReferenceAtCaret |
19,160 | PsiReference (VirtualFile f, int offset) { configTest(f); return findPsiFile(f).findReferenceAt(offset); } | getReferenceAt |
19,161 | PsiElement (VirtualFile f) { configTest(f); return findPsiFile(f).findElementAt(getEditorOffset(f)); } | getElementAtCaret |
19,162 | Editor () { return getEditor(myProjectPom); } | getEditor |
19,163 | Editor (VirtualFile f) { configTest(f); return myFixture.getEditor(); } | getEditor |
19,164 | int () { return getEditorOffset(myProjectPom); } | getEditorOffset |
19,165 | int (VirtualFile f) { return getEditor(f).getCaretModel().getOffset(); } | getEditorOffset |
19,166 | PsiFile () { return getTestPsiFile(myProjectPom); } | getTestPsiFile |
19,167 | PsiFile (VirtualFile f) { configTest(f); return myFixture.getFile(); } | getTestPsiFile |
19,168 | XmlTag (String path) { return findTag(myProjectPom, path); } | findTag |
19,169 | XmlTag (VirtualFile file, String path) { return findTag(file, path, MavenDomProjectModel.class); } | findTag |
19,170 | XmlTag (VirtualFile file, String path, Class<? extends MavenDomElement> clazz) { MavenDomElement model = MavenDomUtil.getMavenDomModel(myProject, file, clazz); assertNotNull("Model is not of " + clazz, model); return MavenDomUtil.findTag(model, path); } | findTag |
19,171 | void (VirtualFile file, Class refClass) { PsiReference ref = getReferenceAtCaret(file); if (ref == null) return; PsiReference[] refs = ref instanceof PsiMultiReference ? ((PsiMultiReference)ref).getReferences() : new PsiReference[]{ref}; for (PsiReference each: refs) { assertFalse(each.toString(), refClass.isInstance(each)); } } | assertNoReferences |
19,172 | void (VirtualFile file) { PsiReference ref = getReferenceAtCaret(file); assertNotNull(ref); assertNull(ref.resolve()); } | assertUnresolved |
19,173 | void (VirtualFile file, String expectedText) { PsiReference ref = getReferenceAtCaret(file); assertNotNull(ref); assertNull(ref.resolve()); assertEquals(expectedText, ref.getCanonicalText()); } | assertUnresolved |
19,174 | PsiReference (VirtualFile file, PsiElement expected) { assertNotNull("expected reference is null", expected); PsiReference ref = getReferenceAtCaret(file); assertNotNull("reference at caret is null", ref); PsiElement resolved = ref.resolve(); if (resolved instanceof MavenPsiElementWrapper) { resolved = ((MavenPsiElementWrapper)resolved).getWrappee(); } assertEquals(expected, resolved); return ref; } | doAssertResolved |
19,175 | void (VirtualFile f, String... expected) { assertCompletionVariants(f, LOOKUP_STRING, expected); } | assertCompletionVariants |
19,176 | void (VirtualFile f, Function<? super LookupElement, String> lookupElementStringFunction, String... expected) { List<String> actual = getCompletionVariants(f, lookupElementStringFunction); assertUnorderedElementsAreEqual(actual, expected); } | assertCompletionVariants |
19,177 | void (CodeInsightTestFixture f, Function<? super LookupElement, String> lookupElementStringFunction, String... expected) { List<String> actual = getCompletionVariants(f, lookupElementStringFunction); assertNotEmpty(actual); assertUnorderedElementsAreEqual(actual, expected); } | assertCompletionVariants |
19,178 | void (VirtualFile f, String... expected) { assertCompletionVariantsInclude(f, LOOKUP_STRING, expected); } | assertCompletionVariantsInclude |
19,179 | void (VirtualFile f, Function<LookupElement, String> lookupElementStringFunction, String... expected) { assertContain(getCompletionVariants(f, lookupElementStringFunction), expected); } | assertCompletionVariantsInclude |
19,180 | void (VirtualFile f, String... expected) { assertContain(getDependencyCompletionVariants(f), expected); } | assertDependencyCompletionVariantsInclude |
19,181 | void (VirtualFile f, String... expected) { assertDoNotContain(getCompletionVariants(f), expected); } | assertCompletionVariantsDoNotInclude |
19,182 | List<String> (VirtualFile f) { return getCompletionVariants(f, li -> li.getLookupString()); } | getCompletionVariants |
19,183 | List<String> (VirtualFile f, Function<? super LookupElement, String> lookupElementStringFunction) { configTest(f); LookupElement[] variants = myFixture.completeBasic(); List<String> result = new ArrayList<>(); for (LookupElement each : variants) { result.add(lookupElementStringFunction.apply(each)); } return result; } | getCompletionVariants |
19,184 | Set<String> (VirtualFile f) { return getDependencyCompletionVariants(f, it -> MavenDependencyCompletionUtil.getPresentableText(it)); } | getDependencyCompletionVariants |
19,185 | Set<String> (VirtualFile f, Function<? super MavenRepositoryArtifactInfo, String> lookupElementStringFunction) { configTest(f); LookupElement[] variants = myFixture.completeBasic(); Set<String> result = new TreeSet<>(); for (LookupElement each : variants) { var object = each.getObject(); if (object instanceof MavenRepositoryArtifactInfo info) { result.add(lookupElementStringFunction.apply(info)); } } return result; } | getDependencyCompletionVariants |
19,186 | List<String> (CodeInsightTestFixture fixture, Function<? super LookupElement, String> lookupElementStringFunction) { LookupElement[] variants = fixture.getLookupElements(); if (variants == null) return null; List<String> result = new ArrayList<>(); for (LookupElement each : variants) { result.add(lookupElementStringFunction.apply(each)); } return result; } | getCompletionVariants |
19,187 | void (String expectedText) { PsiElement originalElement = getElementAtCaret(myProjectPom); PsiElement targetElement = DocumentationManager.getInstance(myProject) .findTargetElement(getEditor(), getTestPsiFile(), originalElement); DocumentationProvider provider = DocumentationManager.getProviderFromElement(targetElement); assertEquals(expectedText, provider.generateDoc(targetElement, originalElement)); // should work for lookup as well as for tags PsiElement lookupElement = provider.getDocumentationElementForLookupItem(PsiManager.getInstance(myProject), originalElement.getText(), originalElement); assertSame(targetElement, lookupElement); } | assertDocumentation |
19,188 | void () { checkHighlighting(myProjectPom); } | checkHighlighting |
19,189 | void (VirtualFile f) { MavenLog.LOG.warn("checkHighlighting started"); VirtualFileManager.getInstance().syncRefresh(); MavenLog.LOG.warn("checkHighlighting: VFS refreshed"); var psiFile = findPsiFile(f); if (null == psiFile) { MavenLog.LOG.warn("checkHighlighting: psi file is null"); } else { var document = myFixture.getDocument(psiFile); if (null == document) { MavenLog.LOG.warn("checkHighlighting: document is null"); } else { FileDocumentManager.getInstance().reloadFromDisk(document); MavenLog.LOG.warn("checkHighlighting: document reloaded from disk"); } } configTest(myProjectPom); MavenLog.LOG.warn("checkHighlighting: test configured"); try { myFixture.testHighlighting(true, false, true, f); } catch (Throwable throwable) { throw new RuntimeException(throwable); } finally { MavenLog.LOG.warn("checkHighlighting finished"); } } | checkHighlighting |
19,190 | IntentionAction (String intentionName) { return getIntentionAtCaret(myProjectPom, intentionName); } | getIntentionAtCaret |
19,191 | IntentionAction (VirtualFile pomFile, String intentionName) { configTest(pomFile); try { List<IntentionAction> intentions = myFixture.getAvailableIntentions(); return CodeInsightTestUtil.findIntentionByText(intentions, intentionName); } catch (Throwable throwable) { throw new RuntimeException(throwable); } } | getIntentionAtCaret |
19,192 | void (final VirtualFile f, String value) { final MapDataContext context = createRenameDataContext(f, value); final RenameHandler renameHandler = RenameHandlerRegistry.getInstance().getRenameHandler(context); assertNotNull(renameHandler); invokeRename(context, renameHandler); } | doRename |
19,193 | void (final VirtualFile f, String value) { final MapDataContext context = createRenameDataContext(f, value); final RenameHandler renameHandler = RenameHandlerRegistry.getInstance().getRenameHandler(context); assertNotNull(renameHandler); assertInstanceOf(renameHandler, VariableInplaceRenameHandler.class); CodeInsightTestUtil.doInlineRename((VariableInplaceRenameHandler)renameHandler, value, myFixture); } | doInlineRename |
19,194 | void () { MapDataContext context = createRenameDataContext(myProjectPom, "new name"); RenameHandler handler = RenameHandlerRegistry.getInstance().getRenameHandler(context); if (handler == null) return; try { invokeRename(context, handler); } catch (CommonRefactoringUtil.RefactoringErrorHintException e) { if (!e.getMessage().startsWith("Cannot perform refactoring.")) { throw e; } } } | assertCannotRename |
19,195 | void (final MapDataContext context, final RenameHandler renameHandler) { renameHandler.invoke(myProject, PsiElement.EMPTY_ARRAY, context); } | invokeRename |
19,196 | MapDataContext (VirtualFile f) { MapDataContext context = new MapDataContext(); context.put(CommonDataKeys.EDITOR, getEditor(f)); context.put(CommonDataKeys.PSI_FILE, getTestPsiFile(f)); context.put(CommonDataKeys.PSI_ELEMENT, TargetElementUtil.findTargetElement(getEditor(f), TargetElementUtil.REFERENCED_ELEMENT_ACCEPTED | TargetElementUtil.ELEMENT_NAME_ACCEPTED)); return context; } | createDataContext |
19,197 | MapDataContext (VirtualFile f, String value) { MapDataContext context = createDataContext(f); context.put(PsiElementRenameHandler.DEFAULT_NAME, value); return context; } | createRenameDataContext |
19,198 | void (VirtualFile file, PsiElement... expected) { assertUnorderedElementsAreEqual(search(file), expected); } | assertSearchResults |
19,199 | void (VirtualFile file, PsiElement... expected) { assertContain(search(file), expected); } | assertSearchResultsInclude |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.