Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
48,700 | void () { doTestXsltSupport(); } | testSupportedXslt11 |
48,701 | void () { doTestXsltSupport(); } | testSupportedSimplifiedXslt |
48,702 | void () { doTestXsltSupport(); } | testSupportedSimplifiedXslt_Loaded |
48,703 | void () { doTestXsltSupport(); } | testSupportedXslt20 |
48,704 | void () { doTestXsltSupport(); } | testUnsupportedXsltNoVersion |
48,705 | void () { doTestXsltSupport(); } | testUnsupportedXsltNoVersion_Loaded |
48,706 | void () { doTestXsltSupport(); } | testUnsupportedNoXslt |
48,707 | void () { doTestXsltSupport(); } | testUnsupportedNoXslt_Loaded |
48,708 | void () { doTestXsltSupport(); } | testUnsupportedNoXslt2 |
48,709 | void () { doTestXsltSupport(); } | testUnsupportedNoXslt2_Loaded |
48,710 | void () { configure(); final XsltChecker.LanguageLevel level = XsltSupport.getXsltLanguageLevel(myFixture.getFile()); if (level != XsltChecker.LanguageLevel.NONE) { assertTrue(getName().contains("Supported")); assertTrue(XsltSupport.isXsltFile(myFixture.getFile())); } else { assertTrue(getName().contains("Unsupported")... | doTestXsltSupport |
48,711 | void () { final String fileName = getTestFileName(); String path = fileName.replaceAll("_.*$", "") + ".xsl"; final VirtualFile file = myFixture.copyFileToProject(path); myFixture.openFileInEditor(file); if (fileName.endsWith("_Loaded")) { ((XmlFile)myFixture.getFile()).getDocument(); assertTrue(((PsiFileEx)myFixture.ge... | configure |
48,712 | String () { return "xslt"; } | getSubPath |
48,713 | void () { doExtractFunction(); } | testExtractFunction |
48,714 | void () { doExtractFunction(); } | testExtractFunction2 |
48,715 | void () { myFixture.configureByFile(getTestFileName() + ".xsl"); final Editor editor = myFixture.getEditor(); assertTrue("Selection required", editor.getSelectionModel().hasSelection()); editor.getCaretModel().moveToOffset(editor.getSelectionModel().getSelectionStart()); final XsltExtractFunctionAction action = new Xsl... | doExtractFunction |
48,716 | RefactoringOptions (XPathExpression expression, Set<XPathExpression> matchingExpressions) { return new RefactoringOptions() { @Override public boolean isCanceled() { return false; } @Override public String getName() { return "f:foo"; } }; } | getSettings |
48,717 | boolean () { return false; } | isCanceled |
48,718 | String () { return "f:foo"; } | getName |
48,719 | String () { return "xslt2/refactoring"; } | getSubPath |
48,720 | void () { doXsltCompletion(); } | testLocalVariable |
48,721 | void () { doXsltCompletion(); } | testGlobalVariable |
48,722 | void () { doXsltCompletion(); } | testTemplates |
48,723 | void () { doXsltCompletion(); } | testModes |
48,724 | void () { doXsltCompletion(); } | testNamedTemplateParams |
48,725 | void () { doXsltCompletion("included.xsl"); } | testIncludedTemplateParam |
48,726 | void () { doXsltCompletion(); } | testApplyTemplateParams |
48,727 | void () { doXsltCompletion("included.xsl"); } | testIncludedVariable |
48,728 | void () { doXsltCompletion(); } | testUsedNames |
48,729 | void (String... moreFiles) { final String name = getTestFileName(); myFixture.testCompletion(name + ".xsl", name + "_after.xsl", moreFiles); } | doXsltCompletion |
48,730 | String () { return "xslt/completion"; } | getSubPath |
48,731 | void () { doXsltCompletion(); } | testCustomFunctions |
48,732 | void () { doXsltCompletion(); } | testTypeCompletion |
48,733 | void () { final String name = getTestFileName(); myFixture.testCompletionTyping(name + ".xsl", "\n", name + "_after.xsl"); } | testSchemaTypeCompletion |
48,734 | void (String... moreFiles) { final String name = getTestFileName(); myFixture.testCompletion(name + ".xsl", name + "_after.xsl", moreFiles); } | doXsltCompletion |
48,735 | String () { return "xslt2/completion"; } | getSubPath |
48,736 | void () { doVariableResolveTest(true); } | testResolveSingleVariableGlobal |
48,737 | void () { doVariableResolveTest(true); } | testResolveForwardVariable |
48,738 | void () { doVariableResolveTest(false); } | testResolveSingleVariable |
48,739 | void () { doVariableResolveTest(false); } | testResolveShadowedVariable |
48,740 | void () { doFunctionResolveTest("included-2.xsl"); } | testResolveIncludedFunction |
48,741 | void () { doFunctionResolveTest(); } | testResolveFunction |
48,742 | void () { final XsltVariable variable = doVariableResolveTest(false); final XsltTemplate template = XsltCodeInsightUtil.getTemplate(variable, false); assertNotNull(template); assertNotNull(template.getName()); } | testResolveSameName |
48,743 | void () { final String name = getTestFileName(); final PsiReference reference = myFixture.getReferenceAtCaretPositionWithAssertion(name + ".xsl", "included.xsl"); final PsiElement element = resolveXsltReference(reference); assertNotNull("reference did not resolve to XsltElement: " + reference, element); assertTrue(elem... | testResolveIncludedTemplateParam |
48,744 | PsiElement (PsiReference reference) { final PsiElement element = reference.resolve(); if (element != null) { return element; } if (reference instanceof PsiPolyVariantReference) { final ResolveResult[] results = ((PsiPolyVariantReference)reference).multiResolve(false); for (ResolveResult result : results) { if (result.i... | resolveXsltReference |
48,745 | XsltVariable (boolean global) { final PsiReference reference = findInjectedReferenceAtCaret(); final PsiElement element = reference.resolve(); assertTrue(element instanceof XsltVariable); final XsltVariable var = (XsltVariable)element; assertEquals(var.getName(), ((XPathVariableReference)reference).getReferencedName())... | doVariableResolveTest |
48,746 | XsltFunction (String... files) { final PsiReference reference = findInjectedReferenceAtCaret(files); final PsiElement element = reference.resolve(); assertTrue(element instanceof XsltFunction); final XsltFunction func = (XsltFunction)element; final XPathFunctionCall call = (XPathFunctionCall)reference.getElement(); ass... | doFunctionResolveTest |
48,747 | PsiReference (String... moreFiles) { configure(moreFiles); final PsiElement e = myFixture.getFile().findElementAt(myFixture.getEditor().getCaretModel().getOffset()); assertNotNull(e); final PsiReference reference = e.getContainingFile().findReferenceAt(e.getTextOffset()); assertNotNull(reference); return reference; } | findInjectedReferenceAtCaret |
48,748 | void (String... moreFiles) { myFixture.configureByFiles(ArrayUtil.mergeArrays(new String[]{getTestFileName() + ".xsl"}, moreFiles)); } | configure |
48,749 | String () { return "xslt/resolve"; } | getSubPath |
48,750 | void () { doExtractTemplate(); } | testExtractTemplate |
48,751 | void () { doExtractTemplate(); } | testExtractTemplateWithComment |
48,752 | void () { doExtractTemplate(); } | testExtractTemplateOneVar |
48,753 | void () { doExtractTemplate(); } | testExtractTemplateOneVar2 |
48,754 | void () { doExtractTemplate(); } | testExtractTemplateTwoVars |
48,755 | void () { doExtractTemplate(); } | testExtractTemplateTwoVars2 |
48,756 | void () { doExtractTemplate(); } | testExtractTemplateUnresolvedVar |
48,757 | void () { doExtractTemplate(); } | testExtractTemplateUnresolvedVar2 |
48,758 | void () { myFixture.configureByFile(getTestFileName() + ".xsl"); final XsltExtractTemplateAction action = new XsltExtractTemplateAction(); assertTrue(action.invokeImpl(myFixture.getEditor(), myFixture.getFile(), "foo")); myFixture.checkResultByFile(getTestFileName() + "_after.xsl"); } | doExtractTemplate |
48,759 | void () { doInlineVariable(); } | testInlineVariable |
48,760 | void () { doInlineVariable(); } | testInlineVariableOnDecl |
48,761 | void () { myFixture.configureByFile(getTestFileName() + ".xsl"); final XPathVariable variable = findVariable(); assertNotNull(variable); VariableInlineHandler.invoke(variable, myFixture.getEditor()); myFixture.checkResultByFile(getTestFileName() + "_after.xsl"); } | doInlineVariable |
48,762 | XPathVariable () { final PsiElement elementAtCaret = myFixture.getElementAtCaret(); XPathVariableReference ref = PsiTreeUtil.getParentOfType(elementAtCaret, XPathVariableReference.class, false); if (ref != null) { return ref.resolve(); } XPathVariable variable = PsiTreeUtil.getParentOfType(elementAtCaret, XPathVariable... | findVariable |
48,763 | String () { return "xslt/refactoring"; } | getSubPath |
48,764 | void () { doXsltHighlighting(); } | testCurrentMode |
48,765 | void () { doXsltHighlighting(); } | testXslt2Example |
48,766 | void () { doXsltHighlighting(); } | testNonDuplicateVariable |
48,767 | void () { doXsltHighlighting(); } | testTypeResolving |
48,768 | void () { doXsltHighlighting(); } | testEscapedXPathString |
48,769 | void () { doXsltHighlighting(); } | testWildcardNamespace |
48,770 | void () { doXsltHighlighting(); } | testUnknownSchemaType |
48,771 | void () { doXsltHighlighting(); } | testAttributeValueTemplateWithComment |
48,772 | void () { doXsltHighlighting("move-def.xsd"); } | testSchemaTypeWithDashes |
48,773 | void () { doXsltHighlighting(); } | testXslt3 |
48,774 | void () { doXsltHighlighting(); } | testNamespaces |
48,775 | void (String... moreFiles) { final String name = getTestFileName(); myFixture.testHighlighting(true, false, false, ArrayUtil.mergeArrays(new String[]{ name + ".xsl" }, moreFiles)); } | doXsltHighlighting |
48,776 | String () { return "xslt2/highlighting"; } | getSubPath |
48,777 | void () { doXsltHighlighting(); } | xtestBackwardIncludedVariable |
48,778 | void () { doXsltHighlighting(); } | testUnknownTemplate |
48,779 | void () { doXsltHighlighting(); } | testDuplicateTemplate |
48,780 | void () { doXsltHighlighting(); } | testUnknownMode |
48,781 | void () { doXsltHighlighting(); } | testUndeclaredParam |
48,782 | void () { doXsltHighlighting(); } | testMissingParam |
48,783 | void () { doXsltHighlighting(); } | testUnusedVariable |
48,784 | void () { doXsltHighlighting(); } | testDuplicateVariable |
48,785 | void () { doXsltHighlighting(); } | testNonDuplicateVariable |
48,786 | void () { doXsltHighlighting(); } | testShadowedVariable |
48,787 | void () { doXsltHighlighting(); } | testShadowedVariable2 |
48,788 | void () { doXsltHighlighting(); } | testValidPatterns |
48,789 | void () { doXsltHighlighting(); } | testInvalidPattern1 |
48,790 | void () { doXsltHighlighting(); } | testInvalidPattern2 |
48,791 | void () { doXsltHighlighting(); } | testInvalidPattern3 |
48,792 | void () { doXsltHighlighting(); } | testInvalidPattern4 |
48,793 | void () { doXsltHighlighting(); } | testInvalidPattern5 |
48,794 | void () { doXsltHighlighting(); } | testInvalidPattern6 |
48,795 | void () { doXsltHighlighting(); } | testEmptyExpression |
48,796 | void () { doXsltHighlighting(); } | testEmptyAVT |
48,797 | void () { doXsltHighlighting(); } | testInvalidSingleClosingBrace |
48,798 | void () { doXsltHighlighting(); } | testEscapedXPathString |
48,799 | void () { doXsltHighlighting(); } | testXsltFreeze |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.