Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
22,800 | void () { doTest(JavaTypes.INSTANCE.getDOUBLE(), JavaTypes.INSTANCE.getANY()); } | testPrimitive2Obj |
22,801 | void () { doTest(JavaTypes.INSTANCE.getANY(), JavaTypes.INSTANCE.getINT(), JavaTypes.INSTANCE.getINT(), JavaTypes.INSTANCE.getANY(), JavaTypes.INSTANCE.getDOUBLE(), JavaTypes.INSTANCE.getANY(), JavaTypes.INSTANCE.getLONG()); } | testFewTransitions |
22,802 | void (@NotNull GenericType producerAfterType, GenericType @NotNull ... intermediateAfterTypes) { final PsiElement elementAtCaret = configureAndGetElementAtCaret(); assertNotNull(elementAtCaret); final List<StreamChain> chains = getChainBuilder().build(elementAtCaret); assertFalse(chains.isEmpty()); final StreamChain chain = chains.get(0); final List<IntermediateStreamCall> intermediateCalls = chain.getIntermediateCalls(); assertEquals(intermediateAfterTypes.length, intermediateCalls.size()); assertEquals(producerAfterType, chain.getQualifierExpression().getTypeAfter()); if (intermediateAfterTypes.length > 0) { assertEquals(producerAfterType, intermediateCalls.get(0).getTypeBefore()); for (int i = 0; i < intermediateAfterTypes.length - 1; i++) { assertEquals(intermediateAfterTypes[i], intermediateCalls.get(i).getTypeAfter()); assertEquals(intermediateAfterTypes[i], intermediateCalls.get(i + 1).getTypeBefore()); } final GenericType lastAfterType = intermediateAfterTypes[intermediateAfterTypes.length - 1]; assertEquals(lastAfterType, chain.getTerminationCall().getTypeBefore()); final IntermediateStreamCall lastCall = intermediateCalls.get(intermediateCalls.size() - 1); assertEquals(lastAfterType, lastCall.getTypeAfter()); } else { assertEquals(producerAfterType, chain.getTerminationCall().getTypeBefore()); } } | doTest |
22,803 | String () { return "primitive"; } | getDirectoryName |
22,804 | void (@NotNull List<StreamChain> chains) { throw new AssertionError(); } | checkResultChains |
22,805 | void () { doTest(); } | testAnonymousBody |
22,806 | void () { doTest(); } | testAssignExpression |
22,807 | void () { doTest(); } | testFirstParameterOfFunction |
22,808 | void () { doTest(); } | testLambdaBody |
22,809 | void () { doTest(); } | testParameterInAssignExpression |
22,810 | void () { doTest(); } | testParameterInReturnExpression |
22,811 | void () { doTest(); } | testReturnExpression |
22,812 | void () { doTest(); } | testSecondParameterOfFunction |
22,813 | void () { doTest(); } | testSingleExpression |
22,814 | void () { doTest(); } | testBeforeStatement |
22,815 | void () { doTest(); } | testAfterStatement |
22,816 | void () { doTest(); } | testBetweenChainCallsBeforeDot |
22,817 | void () { doTest(); } | testBetweenChainCallsAfterDot |
22,818 | void () { doTest(); } | testInEmptyParameterList |
22,819 | void () { doTest(); } | testBetweenParametersBeforeComma |
22,820 | void () { doTest(); } | testBetweenParametersAfterComma |
22,821 | void () { doTest(); } | testInAnyLambda |
22,822 | void () { doTest(); } | testInAnyAnonymous |
22,823 | void () { doTest(); } | testInString |
22,824 | void () { doTest(); } | testInVariableName |
22,825 | void () { doTest(); } | testInMethodReference |
22,826 | String () { return "location"; } | getDirectoryName |
22,827 | void (@NotNull List<StreamChain> chains) { assertFalse(chains.isEmpty()); } | checkResultChains |
22,828 | String () { return "chain" + File.separator + "positive" + File.separator + getDirectoryName(); } | getRelativeTestPath |
22,829 | void (@NotNull List<StreamChain> chains) { } | checkResultChains |
22,830 | void () { doTest(JavaTypes.INSTANCE.getVOID()); } | testVoidType |
22,831 | void () { doTest(JavaTypes.INSTANCE.getBOOLEAN()); } | testBooleanType |
22,832 | void () { doTest(JavaTypes.INSTANCE.getINT()); } | testIntType |
22,833 | void () { doTest(JavaTypes.INSTANCE.getDOUBLE()); } | testDoubleType |
22,834 | void () { doTest(JavaTypes.INSTANCE.getLONG()); } | testLongType |
22,835 | void () { doTest(JavaTypes.INSTANCE.array(JavaTypes.INSTANCE.getINT())); } | testReferenceType |
22,836 | String () { return "terminationType"; } | getDirectoryName |
22,837 | void (@NotNull GenericType returnType) { final PsiElement elementAtCaret = configureAndGetElementAtCaret(); assertNotNull(elementAtCaret); final List<StreamChain> chains = getChainBuilder().build(elementAtCaret); assertEquals(1, chains.size()); final StreamChain chain = chains.get(0); assertNotNull(chain); assertEquals(returnType, chain.getTerminationCall().getResultType()); } | doTest |
22,838 | void () { doTest(); } | testAllMatch |
22,839 | void () { doTest(); } | testAnyMatch |
22,840 | void () { doTest(); } | testNoneMatch |
22,841 | void () { doTest(); } | testAverage |
22,842 | void () { doTest(); } | testClose |
22,843 | void () { doTest(); } | testCollect |
22,844 | void () { doTest(); } | testCount |
22,845 | void () { doTest(); } | testFindAny |
22,846 | void () { doTest(); } | testFindFirst |
22,847 | void () { doTest(); } | testForEach |
22,848 | void () { doTest(); } | testForEachOrdered |
22,849 | void () { doTest(); } | testIterator |
22,850 | void () { doTest(); } | testMax |
22,851 | void () { doTest(); } | testMin |
22,852 | void () { doTest(); } | testReduce |
22,853 | void () { doTest(); } | testSpliterator |
22,854 | void () { doTest(); } | testSummaryStatistics |
22,855 | void () { doTest(); } | testToArray |
22,856 | void () { doTest(); } | testSum |
22,857 | void (@NotNull List<StreamChain> chains) { assertFalse(chains.isEmpty()); final StreamChain chain = chains.get(0); final StreamCall terminationCall = chain.getTerminationCall(); assertNotNull(terminationCall); final String expectedCallName = getTestName(true); assertEquals(expectedCallName, terminationCall.getName()); assertEquals(StreamCallType.TERMINATOR, terminationCall.getType()); } | checkResultChains |
22,858 | String () { return "termination"; } | getDirectoryName |
22,859 | void () { doTest(); } | testFilter |
22,860 | void () { doTest(); } | testMap |
22,861 | void () { doTest(); } | testMapToInt |
22,862 | void () { doTest(); } | testMapToDouble |
22,863 | void () { doTest(); } | testMapToLong |
22,864 | void () { doTest(); } | testFlatMap |
22,865 | void () { doTest(); } | testFlatMapToInt |
22,866 | void () { doTest(); } | testFlatMapToLong |
22,867 | void () { doTest(); } | testFlatMapToDouble |
22,868 | void () { doTest(); } | testDistinct |
22,869 | void () { doTest(); } | testSorted |
22,870 | void () { doTest(); } | testLimit |
22,871 | void () { doTest(); } | testBoxed |
22,872 | void () { doTest(); } | testPeek |
22,873 | void () { doTest(); } | testOnClose |
22,874 | void (@NotNull List<StreamChain> chains) { assertFalse(chains.isEmpty()); final StreamChain chain = chains.get(0); assertEquals(1, chain.getIntermediateCalls().size()); final String callName = getTestName(true); final StreamCall call = chain.getIntermediateCalls().get(0); assertEquals(StreamCallType.INTERMEDIATE, call.getType()); assertEquals(callName, call.getName()); } | checkResultChains |
22,875 | String () { return "intermediate"; } | getDirectoryName |
22,876 | void () { doTest(); } | testWithIntermediate |
22,877 | void () { doTest(); } | testTerminationOnly |
22,878 | String () { return "variable"; } | getDirectoryName |
22,879 | void (@NotNull List<StreamChain> chains) { assertFalse(chains.isEmpty()); } | checkResultChains |
22,880 | void () { } | testEmpty |
22,881 | String () { return "order"; } | getDirectoryName |
22,882 | void () { doTest(ResultChecker.chainsCountChecker(2)); } | testSimpleExpression |
22,883 | void () { doTest(ResultChecker.chainsCountChecker(3)); } | testNestedExpression |
22,884 | void () { doTest(ResultChecker.chainsCountChecker(2)); } | testSimpleFunctionParameter |
22,885 | void () { doTest(ResultChecker.chainsCountChecker(3)); } | testNestedFunctionParameters |
22,886 | void () { doTest(ResultChecker.chainsCountChecker(3)); } | testNestedFunctionParametersReversed |
22,887 | void () { doTest(ResultChecker.chainsCountChecker(2)); } | testStreamProducerParameter |
22,888 | void () { doTest(ResultChecker.chainsCountChecker(2)); } | testStreamIntermediateCallParameter |
22,889 | void () { doTest(ResultChecker.chainsCountChecker(2)); } | testStreamTerminatorParameter |
22,890 | void () { doTest(ResultChecker.chainsCountChecker(4)); } | testStreamAllPositions |
22,891 | void () { doTest(ResultChecker.chainsCountChecker(3)); } | testNestedStreamProducerParameter |
22,892 | void () { doTest(ResultChecker.chainsCountChecker(3)); } | testNestedStreamIntermediateCallParameter |
22,893 | void () { doTest(ResultChecker.chainsCountChecker(3)); } | testNestedStreamTerminatorCallParameter |
22,894 | void () { doTest(ResultChecker.chainsCountChecker(2)); } | testNestedCallInLambda |
22,895 | void () { doTest(ResultChecker.chainsCountChecker(2)); } | testNestedCallInAnonymous |
22,896 | void () { doTest(ResultChecker.chainsCountChecker(3)); } | testLinkedChain |
22,897 | String () { return "detection"; } | getDirectoryName |
22,898 | void (@NotNull ResultChecker resultChecker) { final List<StreamChain> chains = buildChains(); assertNotNull(chains); resultChecker.check(chains); } | doTest |
22,899 | String () { return "chain" + File.separator + "ambiguous" + File.separator + getDirectoryName(); } | getRelativeTestPath |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.