Tabnine Logo
ClasspathSuite$ClassnameFilters
Code IndexAdd Tabnine to your IDE (free)

How to use
ClasspathSuite$ClassnameFilters
in
org.junit.extensions.cpsuite

Best Java code snippets using org.junit.extensions.cpsuite.ClasspathSuite$ClassnameFilters (Showing top 12 results out of 315)

origin: ch.inftec.ju/ju-testing

private static String[] getClassnameFilters(Class<?> suiteClass) {
  ClassnameFilters filtersAnnotation = suiteClass.getAnnotation(ClassnameFilters.class);
  if (filtersAnnotation == null) {
    return DEFAULT_CLASSNAME_FILTERS;
  }
  return filtersAnnotation.value();
}
origin: hibernate/hibernate-search

/**
 * Helper for running specific tests from the "orm" or "engine" module in the context
 * of the Elasticsearch module.
 *
 * <p>The main difference with running tests directly is that those tests will use
 * configuration files from the Elasticsearch module (see
 * <code>src/test/resources/hibernate.properties</code> and
 * <code>src/test/resources/searchfactoryholder-defaults.properties</code>).
 *
 *<p>Adapt the classname filter as needed to run a single test or an entire test package.
 *
 * <p>Running such tests from the IDE will require having an Elasticsearch
 * node running. You can easily start one by running 'mvn elasticsearch:runforked'
 * from the elasticsearch module in this project.
 *
 * @author Gunnar Morling
 */
@RunWith(ClasspathSuite.class)
@ClasspathSuite.ClassnameFilters({ ".*ProjectionQueryTest" })
// @ClasspathSuite.ClassnameFilters({ "org.hibernate.search.test.*" })
public class ImportedTestRunner {
}

origin: ch.inftec.ju/ju-testing

@RunWith(ClasspathSuite.class)
/*
 * By default, ClasspathSuite would execute all tests it finds.
 * Note that we need to match the full class name, including the package - thus the
 * .* at the beginning of the regex.
 */
@ClassnameFilters({ ".*ClasspathSuiteTest_Test" })
public class ClasspathSuiteTest {
  public static class ClasspathSuiteTest_Test {
    @Test
    public void test() {
    }
  }
}
origin: cinchapi/concourse

@RunWith(ClasspathSuite.class)
@ClassnameFilters({ "com.cinchapi.concourse.perf.*" })
public class PerformanceTestSuite {

}

origin: ch.inftec.ju/ju-testing

@RunWith(ClasspathSuite.class)
@ClassnameFilters({ ".*_cpSuite.*" })
public static class MyTestClasspathSuite {
}
origin: cinchapi/concourse

/**
 * Run all the bug repros
 * 
 * @author Jeff Nelson
 */
@RunWith(ClasspathSuite.class)
@ClassnameFilters({ "com.cinchapi.concourse.bugrepro.*" })
public class BugReproSuite {

}

origin: cinchapi/concourse

/**
 * Unit tests for the import package
 * 
 * @author Jeff Nelson
 */
@RunWith(ClasspathSuite.class)
@ClassnameFilters({ "com.cinchapi.concourse.importer.*" })
public class ImportTestSuite {

}

origin: cinchapi/concourse

/**
 * A collection of integrations tests that deal with the client and server.
 * 
 * @author Jeff Nelson
 */
@RunWith(ClasspathSuite.class)
@ClassnameFilters({ "com.cinchapi.concourse.[A-Za-z]+$" })
public class IntegrationTestSuite {

}

origin: cinchapi/concourse

/**
 * Unit tests for the HTTP package
 * 
 * @author Jeff Nelson
 */
@RunWith(ClasspathSuite.class)
@ClassnameFilters({ "com.cinchapi.concourse.http.*" })
public class HttpTestSuite {

}

origin: io.takari.junit/takari-cpsuite

private static String[] getClassnameFilters(Class<?> suiteClass) {
  ClassnameFilters filtersAnnotation = suiteClass.getAnnotation(ClassnameFilters.class);
  if (filtersAnnotation == null) {
    return DEFAULT_CLASSNAME_FILTERS;
  }
  return filtersAnnotation.value();
}
origin: cpsuite/cpsuite

private static String[] getClassnameFilters(Class<?> suiteClass) {
  ClassnameFilters filtersAnnotation = suiteClass.getAnnotation(ClassnameFilters.class);
  if (filtersAnnotation == null) {
    return DEFAULT_CLASSNAME_FILTERS;
  }
  return filtersAnnotation.value();
}
origin: kaaproject/kaa

@RunWith(ClasspathSuite.class)
@ClassnameFilters({"org.kaaproject.kaa.server.common.dao.service.Cassandra.*Test",
  "org.kaaproject.kaa.server.common.nosql.cassandra.dao.*Test"})
public class CassandraTestSuite {

 @ClassRule
 public static CustomCassandraCQLUnit cassandraUnit = new CustomCassandraCQLUnit(new ClassPathCQLDataSet("cassandra.cql", false, false), "cassandra-test.yaml", 4 * 60000L);

}

org.junit.extensions.cpsuiteClasspathSuite$ClassnameFilters

Most used methods

  • <init>
  • value

Popular in Java

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (Timer)
  • getSharedPreferences (Context)
  • setContentView (Activity)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Reference (javax.naming)
  • JLabel (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now