Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 162 for TestSuite (0.09 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        } else {
          throw new IllegalArgumentException("unable to extract method from test: not a TestCase.");
        }
      }
    
      protected TestSuite makeSuiteForTesterClass(Class<? extends AbstractTester<?>> testerClass) {
        TestSuite candidateTests = new TestSuite(testerClass);
        TestSuite suite = filterSuite(candidateTests);
    
        Enumeration<?> allTests = suite.tests();
        while (allTests.hasMoreElements()) {
    Registered: 2024-11-01 12:43
    - Last Modified: 2024-10-30 16:15
    - 10.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

        builder.usingGenerator(generator);
        return builder;
      }
    
      @Override
      protected List<TestSuite> createDerivedSuites(
          FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>>
              parentBuilder) {
        List<TestSuite> derivedSuites = new ArrayList<>(super.createDerivedSuites(parentBuilder));
    
        if (!parentBuilder.getFeatures().contains(SUBSET_VIEW)) {
    Registered: 2024-11-01 12:43
    - Last Modified: 2024-10-30 16:15
    - 6.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/ResourcesTest.java

    import java.util.List;
    import junit.framework.TestSuite;
    
    /**
     * Unit test for {@link Resources}.
     *
     * @author Chris Nokleberg
     */
    
    public class ResourcesTest extends IoTestCase {
    
      @AndroidIncompatible // wouldn't run anyway, but strip the source entirely because of b/230620681
      public static TestSuite suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
            ByteSourceTester.tests(
    Registered: 2024-11-01 12:43
    - Last Modified: 2024-07-23 14:22
    - 6.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

        // covered by CollectionRemoveAllTester.
        return testers;
      }
    
      @Override
      protected List<TestSuite> createDerivedSuites(
          FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>>
              parentBuilder) {
        List<TestSuite> derivedSuites = new ArrayList<>(super.createDerivedSuites(parentBuilder));
    
        if (parentBuilder.getFeatures().contains(SERIALIZABLE)) {
    Registered: 2024-11-01 12:43
    - Last Modified: 2024-10-30 16:15
    - 4.7K bytes
    - Viewed (0)
  5. ci/official/utilities/extract_resultstore_links.py

      date_time = datetime.datetime
      attrib = {'name': 'Bazel Invocations', 'time': '0.0',
                'timestamp': date_time.isoformat(date_time.utcnow())}
      testsuites = ElemTree.Element('testsuites')
      testsuite = ElemTree.SubElement(testsuites, 'testsuite')
      for url, invocation_results in result_store_dict.items():
        invocation_id = url.rsplit('/')[-1]
        if verbose:
          print(f'Creating testcase for invocation {invocation_id}')
    Registered: 2024-11-05 12:39
    - Last Modified: 2023-11-08 17:50
    - 10.9K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/AutobahnTester.kt

    import java.util.concurrent.atomic.AtomicReference
    import okhttp3.internal.USER_AGENT
    import okio.ByteString
    
    /**
     * Exercises the web socket implementation against the
     * [Autobahn Testsuite](http://autobahn.ws/testsuite/).
     */
    class AutobahnTester {
      val client = OkHttpClient()
    
      private fun newWebSocket(
        path: String,
        listener: WebSocketListener,
      ): WebSocket {
        val request =
    Registered: 2024-11-01 11:42
    - Last Modified: 2024-01-08 01:13
    - 4.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

                  .suppressing(oneSizeSuppressedTests);
          TestSuite oneSizeSuite = oneSizeBuilder.createTestSuite();
          suite.addTest(oneSizeSuite);
    
          for (TestSuite derivedSuite : createDerivedSuites(oneSizeBuilder)) {
            oneSizeSuite.addTest(derivedSuite);
          }
        }
        return suite;
      }
    
      protected List<TestSuite> createDerivedSuites(
    Registered: 2024-11-01 12:43
    - Last Modified: 2024-10-30 16:15
    - 5.4K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/collect/testing/OpenJdk6Tests.java

    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Suite of tests for OpenJdk 6 tests. The existence of this class is a hack because the
     * suitebuilder won't pick up the suites directly in the other classes because they don't extend
     * TestCase. Ergh.
     *
     * @author Kevin Bourrillion
     */
    public class OpenJdk6Tests extends TestCase {
      public static Test suite() {
        TestSuite suite = new TestSuite();
    Registered: 2024-11-01 12:43
    - Last Modified: 2017-12-04 17:37
    - 1.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/CharSourceTester.java

      private static final ImmutableList<Method> testMethods = getTestMethods(CharSourceTester.class);
    
      static TestSuite tests(String name, CharSourceFactory factory, boolean testAsByteSource) {
        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          if (testAsByteSource) {
            suite.addTest(
    Registered: 2024-11-01 12:43
    - Last Modified: 2024-07-23 14:22
    - 7.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/ByteSourceTester.java

      private static final ImmutableList<Method> testMethods = getTestMethods(ByteSourceTester.class);
    
      static TestSuite tests(String name, ByteSourceFactory factory, boolean testAsCharSource) {
        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          if (testAsCharSource) {
    Registered: 2024-11-01 12:43
    - Last Modified: 2024-07-23 14:22
    - 8.6K bytes
    - Viewed (0)
Back to top