// Path: src/test/java/org/jacis/testhelper/FileUtils.java
// public abstract class FileUtils {
// 
//   public static boolean deleteDirectory(File directoryToBeDeleted) {
//     File[] allContents = directoryToBeDeleted.listFiles();
//     if (allContents != null) {
//       for (File file : allContents) {
//         deleteDirectory(file);
//       }
//     }
//     return directoryToBeDeleted.delete();
//   }
// 
// }


import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.ListIterator;
import java.util.Map;
import org.jacis.testhelper.FileUtils;
import org.junit.AfterClass;
import org.junit.Ignore;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import one.microstream.storage.configuration.Configuration;
import one.microstream.storage.embedded.types.EmbeddedStorageFoundation;
import one.microstream.storage.embedded.types.EmbeddedStorageManager;

/*
 * Copyright (c) 2020. Jan Wiemer
 */

package org.jacis.persistence.microstream.microstreamframework;




@Ignore
public class BasicMicrostreamPerfTest {

  private static final int MAX_TEST_SIZE = 500;
//  private static final int MAX_TEST_SIZE = Integer.MAX_VALUE;

  private static final Logger log = LoggerFactory.getLogger(BasicMicrostreamPerfTest.class);

  protected static Path getStorageDir(String suffix) {
    Path path = suffix == null ? Paths.get("var", BasicMicrostreamPerfTest.class.getName()) : Paths.get("var", BasicMicrostreamPerfTest.class.getName(), suffix);
    log.debug("use storage path: {}", path.toString());
    return path;
  }

  @AfterClass
  public static void cleanup() {

// Path: src/test/java/org/jacis/testhelper/FileUtils.java
// public abstract class FileUtils {
// 
//   public static boolean deleteDirectory(File directoryToBeDeleted) {
//     File[] allContents = directoryToBeDeleted.listFiles();
//     if (allContents != null) {
//       for (File file : allContents) {
//         deleteDirectory(file);
//       }
//     }
//     return directoryToBeDeleted.delete();
//   }
// 
// }


// Path: src/test/java/org/jacis/persistence/microstream/microstreamframework/BasicMicrostreamPerfTest.java
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.ListIterator;
import java.util.Map;
import org.jacis.testhelper.FileUtils;
import org.junit.AfterClass;
import org.junit.Ignore;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import one.microstream.storage.configuration.Configuration;
import one.microstream.storage.embedded.types.EmbeddedStorageFoundation;
import one.microstream.storage.embedded.types.EmbeddedStorageManager;

/*
 * Copyright (c) 2020. Jan Wiemer
 */

package org.jacis.persistence.microstream.microstreamframework;




@Ignore
public class BasicMicrostreamPerfTest {

  private static final int MAX_TEST_SIZE = 500;
//  private static final int MAX_TEST_SIZE = Integer.MAX_VALUE;

  private static final Logger log = LoggerFactory.getLogger(BasicMicrostreamPerfTest.class);

  protected static Path getStorageDir(String suffix) {
    Path path = suffix == null ? Paths.get("var", BasicMicrostreamPerfTest.class.getName()) : Paths.get("var", BasicMicrostreamPerfTest.class.getName(), suffix);
    log.debug("use storage path: {}", path.toString());
    return path;
  }

  @AfterClass
  public static void cleanup() {

    FileUtils.deleteDirectory(Paths.get("var", BasicMicrostreamPerfTest.class.getName()).toFile());
