Unnamed: 0
int64 0
305k
| body
stringlengths 7
52.9k
| name
stringlengths 1
185
|
|---|---|---|
16,100
|
void () { doTest(true, null, false); }
|
testInferFieldTypeArg
|
16,101
|
void () { doTest(true, "Existing class does not have appropriate constructor", false); }
|
testWrongFieldType
|
16,102
|
void () { doTest(false, null, true); }
|
testStaticMethodInnerClass
|
16,103
|
void () { doTest(false, null, true); }
|
testOpenMethodReference
|
16,104
|
void () { doTest(true, "Existing class does not have appropriate constructor"); }
|
testRawReturnType
|
16,105
|
void () { doTest(false, null, true); }
|
testReturnInsideLambda
|
16,106
|
void () { doTest(false); }
|
testTypeAnnotations
|
16,107
|
void () { doTest(true); }
|
testWithLambdaInside
|
16,108
|
void (final boolean existing) { doTest(existing, null); }
|
doTest
|
16,109
|
void (final boolean existing, @NonNls String exceptionMessage) { doTest(existing, exceptionMessage, false); }
|
doTest
|
16,110
|
void (final boolean existing, String exceptionMessage, final boolean createInnerClass) { try { doTest(() -> { PsiClass aClass = myFixture.findClass("Test"); PsiMethod method = aClass.findMethodsByName("foo", false)[0]; String wrapperClassName = "Wrapper"; PsiClass wrapperClass = myFixture.getJavaFacade().findClass(wrapperClassName, GlobalSearchScope.projectScope(getProject())); assertTrue(!existing || wrapperClass != null); PsiField delegateField = existing ? wrapperClass.findFieldByName("myField", false) : null; new WrapReturnValueProcessor(wrapperClassName, "", null, method, existing, createInnerClass, delegateField).run(); }); } catch (BaseRefactoringProcessor.ConflictsInTestsException e) { if (exceptionMessage != null) { assertEquals(exceptionMessage, e.getMessage()); return; } throw e; } if (exceptionMessage != null) { fail("Conflict was not found"); } }
|
doTest
|
16,111
|
String () { return PluginPathManager.getPluginHomePath("rareJavaRefactorings") + "/testData/typeCook/"; }
|
getTestDataPath
|
16,112
|
void () { start(); }
|
testT01
|
16,113
|
void () { start(); }
|
testT02
|
16,114
|
void () { start(); }
|
testT03
|
16,115
|
void () { start(); }
|
testT04
|
16,116
|
void () { start(); }
|
testT05
|
16,117
|
void () { start(); }
|
testT06
|
16,118
|
void () { start(); }
|
testT07
|
16,119
|
void () { start(); }
|
testT08
|
16,120
|
void () { start(); }
|
testT09
|
16,121
|
void () { start(); }
|
testT10
|
16,122
|
void () { start(); }
|
testT11
|
16,123
|
void () { start(); }
|
testT12
|
16,124
|
void () { start(); }
|
testT13
|
16,125
|
void () { start(); }
|
testT14
|
16,126
|
void () { start(); }
|
testT15
|
16,127
|
void () { start(); }
|
testT16
|
16,128
|
void () { start(); }
|
testT17
|
16,129
|
void () { start(); }
|
testT18
|
16,130
|
void () { start(); }
|
testT19
|
16,131
|
void () { start(); }
|
testT20
|
16,132
|
void () { start(); }
|
testT21
|
16,133
|
void () { start(); }
|
testT22
|
16,134
|
void () { start(); }
|
testT23
|
16,135
|
void () { start(); }
|
testT24
|
16,136
|
void () { start(); }
|
testT25
|
16,137
|
void () { start(); }
|
testT26
|
16,138
|
void () { start(); }
|
testT27
|
16,139
|
void () { start(); }
|
testT28
|
16,140
|
void () { start(); }
|
testT29
|
16,141
|
void () { start(); }
|
testT30
|
16,142
|
void () { start(); }
|
testT31
|
16,143
|
void () { start(); }
|
testT33
|
16,144
|
void () { start(); }
|
testT34
|
16,145
|
void () { start(); }
|
testT35
|
16,146
|
void () { start(); }
|
testT36
|
16,147
|
void () { start(); }
|
testT37
|
16,148
|
void () { start(); }
|
testT38
|
16,149
|
void () { start(); }
|
testT39
|
16,150
|
void () { start(); }
|
testT40
|
16,151
|
void () { start(); }
|
testT41
|
16,152
|
void () { start(); }
|
testT42
|
16,153
|
void () { start(); }
|
testT43
|
16,154
|
void () { start(); }
|
testT44
|
16,155
|
void () { start(); }
|
testT45
|
16,156
|
void () { start(); }
|
testT46
|
16,157
|
void () { start(); }
|
testT47
|
16,158
|
void () { start(); }
|
testT48
|
16,159
|
void () { start(); }
|
testT49
|
16,160
|
void () { start(); }
|
testT50
|
16,161
|
void () { start(); }
|
testT51
|
16,162
|
void () { start(); }
|
testT52
|
16,163
|
void () { start(); }
|
testT53
|
16,164
|
void () { start(); }
|
testT54
|
16,165
|
void () { start(); }
|
testT55
|
16,166
|
void () { start(); }
|
testT56
|
16,167
|
void () { start(); }
|
testT57
|
16,168
|
void () { start(); }
|
testT58
|
16,169
|
void () { start(); }
|
testT59
|
16,170
|
void () { start(); }
|
testT60
|
16,171
|
void () { start(); }
|
testT61
|
16,172
|
void () { start(); }
|
testT62
|
16,173
|
void () { start(); }
|
testT63
|
16,174
|
void () { start(); }
|
testT64
|
16,175
|
void () { start(); }
|
testT65
|
16,176
|
void () { start(); }
|
testT66
|
16,177
|
void () { start(); }
|
testT67
|
16,178
|
void () { start(); }
|
testT68
|
16,179
|
void () { start(); }
|
testT69
|
16,180
|
void () { start(); }
|
testT70
|
16,181
|
void () { start(); }
|
testT71
|
16,182
|
void () { start(); }
|
testT72
|
16,183
|
void () { start(); }
|
testT73
|
16,184
|
void () { start(); }
|
testT74
|
16,185
|
void () { start(); }
|
testT75
|
16,186
|
void () { start(); }
|
testT76
|
16,187
|
void () { start(); }
|
testT77
|
16,188
|
void () { start(); }
|
testT78
|
16,189
|
void () { start(); }
|
testT79
|
16,190
|
void () { start(); }
|
testT80
|
16,191
|
void () { start(); }
|
testT82
|
16,192
|
void () { start(); }
|
testT83
|
16,193
|
void () { start(); }
|
testT84
|
16,194
|
void () { start(); }
|
testT85
|
16,195
|
void () { start(); }
|
testT86
|
16,196
|
void () { start(); }
|
testT87
|
16,197
|
void () { start(); }
|
testT88
|
16,198
|
void () { start(); }
|
testT89
|
16,199
|
void () { start(); }
|
testT90
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.