Removed debug counter
This commit is contained in:
-4
@@ -195,8 +195,6 @@ public class CodegenTestsOnAndroidGenerator extends UsefulTestCase {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private int counter;
|
|
||||||
|
|
||||||
private void processFiles(
|
private void processFiles(
|
||||||
@NotNull Printer printer,
|
@NotNull Printer printer,
|
||||||
@NotNull File[] files,
|
@NotNull File[] files,
|
||||||
@@ -204,7 +202,6 @@ public class CodegenTestsOnAndroidGenerator extends UsefulTestCase {
|
|||||||
@NotNull FilesWriter holderMock)
|
@NotNull FilesWriter holderMock)
|
||||||
throws IOException
|
throws IOException
|
||||||
{
|
{
|
||||||
if (counter > 10) return;
|
|
||||||
holderFull.writeFilesOnDiskIfNeeded();
|
holderFull.writeFilesOnDiskIfNeeded();
|
||||||
holderMock.writeFilesOnDiskIfNeeded();
|
holderMock.writeFilesOnDiskIfNeeded();
|
||||||
|
|
||||||
@@ -229,7 +226,6 @@ public class CodegenTestsOnAndroidGenerator extends UsefulTestCase {
|
|||||||
if (InTextDirectivesUtils.isDirectiveDefined(text, "WITH_REFLECT") || text.contains("JvmFileName")) continue;
|
if (InTextDirectivesUtils.isDirectiveDefined(text, "WITH_REFLECT") || text.contains("JvmFileName")) continue;
|
||||||
|
|
||||||
if (hasBoxMethod(text)) {
|
if (hasBoxMethod(text)) {
|
||||||
counter++;
|
|
||||||
String generatedTestName = generateTestName(file.getName());
|
String generatedTestName = generateTestName(file.getName());
|
||||||
String packageName = file.getPath().replaceAll("\\\\|-|\\.|/", "_");
|
String packageName = file.getPath().replaceAll("\\\\|-|\\.|/", "_");
|
||||||
text = changePackage(packageName, text);
|
text = changePackage(packageName, text);
|
||||||
|
|||||||
Reference in New Issue
Block a user