Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
22,900 | ResultChecker (int count) { return chains -> assertEquals(count, chains.size()); } | chainsCountChecker |
22,901 | void () { doTest(); } | testFakeStream |
22,902 | void () { doTest(); } | testWithoutTerminalOperation |
22,903 | void () { doTest(); } | testNoBreakpoint |
22,904 | void () { doTest(); } | testBreakpointOnMethod |
22,905 | void () { doTest(); } | testBreakpointOnIfCondition |
22,906 | void () { doTest(); } | testBreakpointOnNewScope |
22,907 | void () { doTest(); } | testBreakpointOnElseBranch |
22,908 | void () { doTest(); } | testInLambda |
22,909 | void () { doTest(); } | testInLambdaWithBody |
22,910 | void () { doTest(); } | testInAnonymous |
22,911 | void () { doTest(); } | testAfterStatement |
22,912 | void () { doTest(); } | testInPreviousStatement |
22,913 | void () { doTest(); } | testInNextStatement |
22,914 | void () { doTest(); } | testIdea173415 |
22,915 | void () { final List<StreamChain> chains = buildChains(); assertTrue(chains.isEmpty()); } | doTest |
22,916 | List<StreamChain> () { return ApplicationManager.getApplication().runReadAction((Computable<List<StreamChain>>)() -> { final PsiElement elementAtCaret = configureAndGetElementAtCaret(); assertNotNull(elementAtCaret); final StreamChainBuilder builder = getChainBuilder(); assertFalse(builder.isChainExists(elementAtCaret)); return builder.build(elementAtCaret); }); } | buildChains |
22,917 | String () { return "chain/negative"; } | getRelativeTestPath |
22,918 | void () { doTest(0); } | testLinkedFirstChain |
22,919 | void () { doTest(1); } | testLinkedSecondChain |
22,920 | void () { doTest(2); } | testLinkedThirdChain |
22,921 | void () { doTest(3); } | testLinkedFourChain |
22,922 | void (int index) { doTest(false, "LinkedChains", new LengthChainSelector(index)); } | doTest |
22,923 | StreamChain (@NotNull List<StreamChain> chains) { final List<StreamChain> orderedChains = new ArrayList<>(chains); orderedChains.sort(Comparator.comparingInt(x -> x.getText().length())); return orderedChains.get(myIndex); } | select |
22,924 | void () { doTest(false); } | testExceptionInProducerCall |
22,925 | void () { doTest(false); } | testExceptionInTerminatorCall |
22,926 | void () { doTest(false); } | testExceptionInIntermediateCall |
22,927 | void () { doTest(false); } | testExceptionInStreamWithPrimitiveResult |
22,928 | void (@Nullable StreamChain chain, @Nullable TracingResult result, boolean resultMustBeNull) { assertNotNull(result); super.handleSuccess(chain, result, resultMustBeNull); assertTrue(result.exceptionThrown()); } | handleSuccess |
22,929 | void () { doTest(false); } | testPrimitiveResultBoolean |
22,930 | void () { doTest(false); } | testPrimitiveResultInt |
22,931 | void () { doTest(false); } | testPrimitiveResultDouble |
22,932 | void () { doTest(false); } | testPrimitiveResultLong |
22,933 | void (@Nullable Value result, boolean mustBeNull) { assertFalse(mustBeNull); assertNotNull(result); assertInstanceOf(result, PrimitiveValue.class); println("Result type:" + result.type().name(), ProcessOutputTypes.SYSTEM); println("value = " + result.toString(), ProcessOutputTypes.SYSTEM); } | handleResultValue |
22,934 | void () { doTest(false); } | testSortedSignedDoubleZeros |
22,935 | void () { doTest(false); } | testExceptionAsStreamResult |
22,936 | void () { doTest(false); } | testShortCircuitingAfterSorted |
22,937 | void () { doTest(false); } | testParallelStream |
22,938 | void () { doTest(false); } | testNulls |
22,939 | void () { doTest(false); } | testMapToNull |
22,940 | void () { doTest(false); } | testMapNullToValue |
22,941 | void () { doTest(false); } | testToCollection |
22,942 | void (@NotNull StreamChain chain, @NotNull String error, @NotNull TraceExecutionTestCase.FailureReason reason) { println(StringUtil.capitalize(reason.toString().toLowerCase()) + " failed", ProcessOutputTypes.SYSTEM); println(error, ProcessOutputTypes.SYSTEM); } | handleError |
22,943 | void (@Nullable StreamChain chain, @Nullable TracingResult result, boolean resultMustBeNull) { fail(); } | handleSuccess |
22,944 | void () { doTest(true); } | testCompilationErrorDetected |
22,945 | TraceExpressionBuilder () { final TraceExpressionBuilder builder = super.getExpressionBuilder(); return chain -> "float a = 0.;\n" + builder.createTraceExpression(chain); } | getExpressionBuilder |
22,946 | void (@NotNull StreamChain chain, @NotNull String error, @NotNull FailureReason reason) { assertEquals(FailureReason.COMPILATION, reason); super.handleError(chain, error, reason); } | handleError |
22,947 | void () { doTest(false); } | testAccessToPrivateMethodsInStaticContext |
22,948 | void () { doTest(false); } | testAccessToPrivateMethods |
22,949 | void () { doTest(false); } | testAccessToPrivateClassInStaticContext |
22,950 | void () { doTest(false); } | testAccessToPrivateClass |
22,951 | void () { doTest(false); } | testAccessToPrivateClassWithMethodReference |
22,952 | void () { doTest(false); } | testNotImportedLambdaResult |
22,953 | void () { doTest(false); } | testToArrayMapping |
22,954 | void () { doTest(false); } | testPrimitiveToArrayMapping |
22,955 | void () { doTest(false); } | testToListMapping |
22,956 | void () { doTest(false); } | testAnyMatchMappingTrue |
22,957 | void () { doTest(false); } | testAnyMatchMappingFalse |
22,958 | void () { doTest(false); } | testPrimitiveAnyMatchMapping |
22,959 | void () { doTest(false); } | testAllMatchMappingTrue |
22,960 | void () { doTest(false); } | testAllMatchMappingFalse |
22,961 | void () { doTest(false); } | testPrimitiveAllMatchMapping |
22,962 | void () { doTest(false); } | testNoneMatchMappingTrue |
22,963 | void () { doTest(false); } | testNoneMatchMappingFalse |
22,964 | void () { doTest(false); } | testPrimitiveNoneMatchMapping |
22,965 | void () { doTest(false); } | testFindFirstMappingPresent |
22,966 | void () { doTest(false); } | testFindFirstMappingNone |
22,967 | void () { doTest(false); } | testPrimitiveFindFirstMapping |
22,968 | void () { doTest(false); } | testFindAnyMappingPresent |
22,969 | void () { doTest(false); } | testFindAnyMappingNone |
22,970 | void () { doTest(false); } | testPrimitiveFindAnyMapping |
22,971 | void () { doTest(false); } | testMaxMappingPresent |
22,972 | void () { doTest(false); } | testMaxMappingNone |
22,973 | void () { doTest(false); } | testPrimitiveMaxMapping |
22,974 | void () { doTest(false); } | testMinMappingPresent |
22,975 | void () { doTest(false); } | testMinMappingNone |
22,976 | void () { doTest(false); } | testPrimitiveMinMapping |
22,977 | void () { doTest(false); } | testAllMatchExtraCalls |
22,978 | void () { doTest(false); } | testAnyMatchExtraCalls |
22,979 | void () { doTest(false); } | testNoneMatchExtraCalls |
22,980 | void () { doTest(false); } | testDistinctPrimitive |
22,981 | void () { doTest(false); } | testDistinctHardPrimitive |
22,982 | void () { doTest(false); } | testFilterPrimitive |
22,983 | void () { doTest(false); } | testMapPrimitive |
22,984 | void () { doTest(false); } | testFlatMapPrimitive |
22,985 | void () { doTest(false); } | testSortedPrimitive |
22,986 | void () { doTest(true); } | testForEach |
22,987 | void () { doTest(true); } | testForEachOrdered |
22,988 | void () { doTest(true); } | testEvaluationExceptionDetected |
22,989 | TraceExpressionBuilder () { final TraceExpressionBuilder builder = super.getExpressionBuilder(); return chain -> "if(true) throw new RuntimeException(\"My exception message\");\n" + builder.createTraceExpression(chain); } | getExpressionBuilder |
22,990 | String (@NotNull String str) { String output = super.replaceAdditionalInOutput(str); String generatedClassName = CompilingEvaluator.getGeneratedClassName(); StringBuilder builder = new StringBuilder(); for (String line : StringUtil.splitByLinesKeepSeparators(output)) { if (line.trim().startsWith("at ") && line.contains(generatedClassName)) { line = StringUtil.substringBefore(line, "at") + "at !GENERATED_EVALUATION_CLASS!" + StringUtil.substringAfterLast(line, ")"); } builder.append(line); } return builder.toString(); } | replaceAdditionalInOutput |
22,991 | void () { doTest(false); } | testFilter |
22,992 | void () { doTest(false); } | testMap |
22,993 | void () { doTest(false); } | testFlatMap |
22,994 | void () { doTest(false); } | testDistinctSame |
22,995 | void () { doTest(false); } | testDistinctEquals |
22,996 | void () { doTest(false); } | testDistinctHardCase |
22,997 | void () { doTest(false); } | testSorted |
22,998 | void () { doTest(false); } | testPeek |
22,999 | void () { doTest(false); } | testSkip |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.