Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 921 - 930 of 4,122 for _shouldn (0.09 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java

    public class ListAddTester<E> extends AbstractListTester<E> {
      @CollectionFeature.Require(SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAdd_supportedPresent() {
        assertTrue("add(present) should return true", getList().add(e0()));
        expectAdded(e0());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/HelpTest.java

            int result = help.execute(context);
    
            assertEquals(0, result, "Help goal should return 0 (success)");
        }
    
        @Test
        void testHelpExecuteDoesNotThrow() throws Exception {
            UpgradeContext context = createMockContext();
    
            // Should not throw any exceptions
            assertDoesNotThrow(() -> help.execute(context));
        }
    
        @Test
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Aug 29 12:46:51 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

          } catch (NoClassDefFoundError fromAggregateFutureStateFallbackAtomicHelperTest) {
            /*
             * AtomicReferenceFieldUpdaterAtomicHelper should always work on the JVM. (I mean, it
             * "should" always work on Android, too, but we know of a Samsung bug there :)) However, in
             * AggregateFutureStateFallbackAtomicHelperTest, we test what happens to AggregateFuture in
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 33.2K bytes
    - Click Count (0)
  4. TESTING.asciidoc

       a given time.
    
    === Bad practices
    
    ==== Use randomized-testing for coverage
    
    In general, randomization should be used for parameters that are not expected
    to affect the behavior of the functionality that is being tested. For instance
    the number of shards should not impact `date_histogram` aggregations, and the
    choice of the `store` type (`niofs` vs `mmapfs`) does not affect the results of
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jun 07 13:55:20 GMT 2021
    - 32.5K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java

    public class ListAddTester<E> extends AbstractListTester<E> {
      @CollectionFeature.Require(SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAdd_supportedPresent() {
        assertTrue("add(present) should return true", getList().add(e0()));
        expectAdded(e0());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  6. tests/named_argument_test.go

    		t.Errorf("should return record not found error, but got %v", err)
    	}
    
    	DB.Delete(&namedUser)
    
    	var result8 NamedUser
    	if err := DB.Where("name1 = @name OR name2 = @name", map[string]interface{}{"name": "jinzhu-new"}).First(&result8).Error; err == nil || !errors.Is(err, gorm.ErrRecordNotFound) {
    		t.Errorf("should return record not found error, but got %v", err)
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Dec 21 11:50:00 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  7. architecture/standards/0001-use-architectural-decision-records.md

    ADRs can be written by any team.
    Like code, they should be reviewed by any other relevant teams.
    The goal is not to *own* a decision, but to *share* it with other teams, and improve the build tool together.
    
    ### Format
    
    The format for ADR should follow this template:
    
    ```markdown
    # ADR-000X - Title
    
    ## Status
    
    - REPLACED by ADR-000X on 20YY-MM-DD
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDocumentationExtension.java

        /**
         * Collection of CSS files to include in generated documentation.
         */
        public abstract ConfigurableFileCollection getCssFiles();
    
        /**
         * The source code to be documented. This should be the "public" APIs.
         */
        public abstract ConfigurableFileCollection getDocumentedSource();
    
        /**
         * Source code root folders. Java, Groovy and Kotlin public API sources, including
         * generated code.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Aug 20 14:11:17 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/escape/EscapersTest.java

      public void testNullEscaper() throws IOException {
        Escaper escaper = Escapers.nullEscaper();
        EscaperAsserts.assertBasic(escaper);
        String s = "\0\n\t\\az09~\uD800\uDC00\uFFFF";
        assertWithMessage("null escaper should have no effect").that(escaper.escape(s)).isEqualTo(s);
      }
    
      public void testBuilderInitialStateNoReplacement() {
        // Unsafe characters aren't modified by default (unsafeReplacement == null).
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  10. cmd/generic-handlers.go

    		// performed at '/' resource should be routed by the muxer,
    		// the assumption is simply such that requests without a bucket
    		// in a federated setup cannot be proxied, so serve them at
    		// current server.
    		if bucket == "" {
    			h.ServeHTTP(w, r)
    			return
    		}
    
    		// MakeBucket requests should be handled at current endpoint
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.7K bytes
    - Click Count (1)
Back to Top