Skip to content

Commit

Permalink
javafmtAll
Browse files Browse the repository at this point in the history
  • Loading branch information
JaroslavTulach committed Jan 16, 2025
1 parent 40b50e9 commit bd9001d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
package org.enso.compiler.dump.test;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

import org.enso.compiler.Compiler;
import org.enso.compiler.core.IR;
import org.enso.compiler.core.ir.Module;
Expand All @@ -17,10 +21,6 @@
import org.enso.test.utils.ProjectUtils;
import org.graalvm.polyglot.Context;
import org.junit.AfterClass;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import org.junit.BeforeClass;
import org.junit.ClassRule;
import org.junit.Test;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package org.enso.compiler.test;

import com.oracle.truffle.api.TruffleFile;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import java.util.function.Supplier;
import java.util.stream.Stream;

import org.apache.commons.io.FileUtils;
import org.enso.common.LanguageInfo;
import org.enso.common.MethodNames;
Expand All @@ -24,8 +24,6 @@
import org.junit.Before;
import org.junit.Test;

import com.oracle.truffle.api.TruffleFile;

public class SerializationManagerTest {

private static final long COMPILE_TIMEOUT_SECONDS = 20;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@
import java.util.Set;
import java.util.function.Consumer;
import java.util.stream.Collectors;

import org.enso.common.RuntimeOptions;
import org.enso.pkg.QualifiedName;
import org.enso.polyglot.PolyglotContext;
import org.graalvm.polyglot.Context;
import org.graalvm.polyglot.Context.Builder;
import org.graalvm.polyglot.Value;
import org.slf4j.LoggerFactory;

import scala.Option;

/** Utility methods for creating and running Enso projects. */
Expand Down Expand Up @@ -115,14 +113,13 @@ public static void testProjectRun(
* Tests running the project located in the given {@code projDir}. Is equal to running {@code enso
* --run <projDir>}.
*
* @param docsFormat format of the documentation to generate
* @param docsFormat format of the documentation to generate
* @param ctxBuilder A context builder that might be initialized with some specific options.
* @param projDir Root directory of the project.
* @param whenDone callback when generated
*/
public static void generateProjectDocs(
String docsFormat,
Context.Builder ctxBuilder, Path projDir, Consumer<Context> whenDone) {
String docsFormat, Context.Builder ctxBuilder, Path projDir, Consumer<Context> whenDone) {
if (!(projDir.toFile().exists() && projDir.toFile().isDirectory())) {
throw new IllegalArgumentException(
"Project directory " + projDir + " must already be created");
Expand Down

0 comments on commit bd9001d

Please sign in to comment.