|
14 | 14 | * limitations under the License.
|
15 | 15 | */
|
16 | 16 |
|
17 |
| -package org.jetbrains.kotlin.uast; |
| 17 | +package org.jetbrains.kotlin.android.lint; |
18 | 18 |
|
19 | 19 | import com.intellij.testFramework.TestDataPath;
|
20 | 20 | import org.jetbrains.kotlin.test.JUnit3RunnerWithInners;
|
|
28 | 28 |
|
29 | 29 | /** This class is generated by {@link org.jetbrains.kotlin.generators.tests.TestsPackage}. DO NOT MODIFY MANUALLY */
|
30 | 30 | @SuppressWarnings("all")
|
31 |
| -@TestMetadata("plugins/uast-kotlin/testData/lint") |
| 31 | +@TestMetadata("idea/testData/android/lint") |
32 | 32 | @TestDataPath("$PROJECT_ROOT")
|
33 | 33 | @RunWith(JUnit3RunnerWithInners.class)
|
34 | 34 | public class KotlinLintTestGenerated extends AbstractKotlinLintTest {
|
35 | 35 | @TestMetadata("alarm.kt")
|
36 | 36 | public void testAlarm() throws Exception {
|
37 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/alarm.kt"); |
| 37 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/alarm.kt"); |
38 | 38 | doTest(fileName);
|
39 | 39 | }
|
40 | 40 |
|
41 | 41 | public void testAllFilesPresentInLint() throws Exception {
|
42 |
| - KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("plugins/uast-kotlin/testData/lint"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true); |
| 42 | + KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/android/lint"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true); |
43 | 43 | }
|
44 | 44 |
|
45 | 45 | @TestMetadata("apiCheck.kt")
|
46 | 46 | public void testApiCheck() throws Exception {
|
47 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/apiCheck.kt"); |
| 47 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/apiCheck.kt"); |
48 | 48 | doTest(fileName);
|
49 | 49 | }
|
50 | 50 |
|
51 | 51 | @TestMetadata("callSuper.kt")
|
52 | 52 | public void testCallSuper() throws Exception {
|
53 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/callSuper.kt"); |
| 53 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/callSuper.kt"); |
54 | 54 | doTest(fileName);
|
55 | 55 | }
|
56 | 56 |
|
57 | 57 | @TestMetadata("commitFragment.kt")
|
58 | 58 | public void testCommitFragment() throws Exception {
|
59 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/commitFragment.kt"); |
| 59 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/commitFragment.kt"); |
60 | 60 | doTest(fileName);
|
61 | 61 | }
|
62 | 62 |
|
63 | 63 | @TestMetadata("javaPerformance.kt")
|
64 | 64 | public void testJavaPerformance() throws Exception {
|
65 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/javaPerformance.kt"); |
| 65 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/javaPerformance.kt"); |
66 | 66 | doTest(fileName);
|
67 | 67 | }
|
68 | 68 |
|
69 | 69 | @TestMetadata("javaScriptInterface.kt")
|
70 | 70 | public void testJavaScriptInterface() throws Exception {
|
71 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/javaScriptInterface.kt"); |
| 71 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/javaScriptInterface.kt"); |
72 | 72 | doTest(fileName);
|
73 | 73 | }
|
74 | 74 |
|
75 | 75 | @TestMetadata("layoutInflation.kt")
|
76 | 76 | public void testLayoutInflation() throws Exception {
|
77 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/layoutInflation.kt"); |
| 77 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/layoutInflation.kt"); |
78 | 78 | doTest(fileName);
|
79 | 79 | }
|
80 | 80 |
|
81 | 81 | @TestMetadata("log.kt")
|
82 | 82 | public void testLog() throws Exception {
|
83 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/log.kt"); |
| 83 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/log.kt"); |
84 | 84 | doTest(fileName);
|
85 | 85 | }
|
86 | 86 |
|
87 | 87 | @TestMetadata("noInternationalSms.kt")
|
88 | 88 | public void testNoInternationalSms() throws Exception {
|
89 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/noInternationalSms.kt"); |
| 89 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/noInternationalSms.kt"); |
90 | 90 | doTest(fileName);
|
91 | 91 | }
|
92 | 92 |
|
93 | 93 | @TestMetadata("overrideConcrete.kt")
|
94 | 94 | public void testOverrideConcrete() throws Exception {
|
95 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/overrideConcrete.kt"); |
| 95 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/overrideConcrete.kt"); |
96 | 96 | doTest(fileName);
|
97 | 97 | }
|
98 | 98 |
|
99 | 99 | @TestMetadata("parcel.kt")
|
100 | 100 | public void testParcel() throws Exception {
|
101 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/parcel.kt"); |
| 101 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/parcel.kt"); |
102 | 102 | doTest(fileName);
|
103 | 103 | }
|
104 | 104 |
|
105 | 105 | @TestMetadata("sdCardTest.kt")
|
106 | 106 | public void testSdCardTest() throws Exception {
|
107 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/sdCardTest.kt"); |
| 107 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/sdCardTest.kt"); |
108 | 108 | doTest(fileName);
|
109 | 109 | }
|
110 | 110 |
|
111 | 111 | @TestMetadata("setJavaScriptEnabled.kt")
|
112 | 112 | public void testSetJavaScriptEnabled() throws Exception {
|
113 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/setJavaScriptEnabled.kt"); |
| 113 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/setJavaScriptEnabled.kt"); |
114 | 114 | doTest(fileName);
|
115 | 115 | }
|
116 | 116 |
|
117 | 117 | @TestMetadata("sharedPrefs.kt")
|
118 | 118 | public void testSharedPrefs() throws Exception {
|
119 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/sharedPrefs.kt"); |
| 119 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/sharedPrefs.kt"); |
120 | 120 | doTest(fileName);
|
121 | 121 | }
|
122 | 122 |
|
123 | 123 | @TestMetadata("showDiagnosticsWhenFileIsRed.kt")
|
124 | 124 | public void testShowDiagnosticsWhenFileIsRed() throws Exception {
|
125 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/showDiagnosticsWhenFileIsRed.kt"); |
| 125 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/showDiagnosticsWhenFileIsRed.kt"); |
126 | 126 | doTest(fileName);
|
127 | 127 | }
|
128 | 128 |
|
129 | 129 | @TestMetadata("sqlite.kt")
|
130 | 130 | public void testSqlite() throws Exception {
|
131 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/sqlite.kt"); |
| 131 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/sqlite.kt"); |
132 | 132 | doTest(fileName);
|
133 | 133 | }
|
134 | 134 |
|
135 | 135 | @TestMetadata("systemServices.kt")
|
136 | 136 | public void testSystemServices() throws Exception {
|
137 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/systemServices.kt"); |
| 137 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/systemServices.kt"); |
138 | 138 | doTest(fileName);
|
139 | 139 | }
|
140 | 140 |
|
141 | 141 | @TestMetadata("toast.kt")
|
142 | 142 | public void testToast() throws Exception {
|
143 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/toast.kt"); |
| 143 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/toast.kt"); |
144 | 144 | doTest(fileName);
|
145 | 145 | }
|
146 | 146 |
|
147 | 147 | @TestMetadata("valueOf.kt")
|
148 | 148 | public void testValueOf() throws Exception {
|
149 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/valueOf.kt"); |
| 149 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/valueOf.kt"); |
150 | 150 | doTest(fileName);
|
151 | 151 | }
|
152 | 152 |
|
153 | 153 | @TestMetadata("viewConstructor.kt")
|
154 | 154 | public void testViewConstructor() throws Exception {
|
155 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/viewConstructor.kt"); |
| 155 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/viewConstructor.kt"); |
156 | 156 | doTest(fileName);
|
157 | 157 | }
|
158 | 158 |
|
159 | 159 | @TestMetadata("viewHolder.kt")
|
160 | 160 | public void testViewHolder() throws Exception {
|
161 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/viewHolder.kt"); |
| 161 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/viewHolder.kt"); |
162 | 162 | doTest(fileName);
|
163 | 163 | }
|
164 | 164 |
|
165 | 165 | @TestMetadata("wrongAnnotation.kt")
|
166 | 166 | public void testWrongAnnotation() throws Exception {
|
167 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/wrongAnnotation.kt"); |
| 167 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/wrongAnnotation.kt"); |
168 | 168 | doTest(fileName);
|
169 | 169 | }
|
170 | 170 |
|
171 | 171 | @TestMetadata("wrongImport.kt")
|
172 | 172 | public void testWrongImport() throws Exception {
|
173 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/wrongImport.kt"); |
| 173 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/wrongImport.kt"); |
174 | 174 | doTest(fileName);
|
175 | 175 | }
|
176 | 176 |
|
177 | 177 | @TestMetadata("wrongViewCall.kt")
|
178 | 178 | public void testWrongViewCall() throws Exception {
|
179 |
| - String fileName = KotlinTestUtils.navigationMetadata("plugins/uast-kotlin/testData/lint/wrongViewCall.kt"); |
| 179 | + String fileName = KotlinTestUtils.navigationMetadata("idea/testData/android/lint/wrongViewCall.kt"); |
180 | 180 | doTest(fileName);
|
181 | 181 | }
|
182 | 182 | }
|
0 commit comments