- bytecodeTextMultifile - framework for bytecode text tests
with multiple Kotlin source files - bytecodeTextMultifile/partMembersCall, initial import
This commit is contained in:
@@ -183,6 +183,16 @@ public class ClassFileFactory implements OutputFileCollection {
|
||||
return answer.toString();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@TestOnly
|
||||
public Map<String, String> createTextForEachFile() {
|
||||
Map<String, String> answer = new LinkedHashMap<String, String>();
|
||||
for (OutputFile file : asList()) {
|
||||
answer.put(file.getRelativePath(), file.asText());
|
||||
}
|
||||
return answer;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public PackageCodegen forPackage(@NotNull FqName fqName, @NotNull Collection<JetFile> files) {
|
||||
assert !isDone : "Already done!";
|
||||
|
||||
Reference in New Issue
Block a user