Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 751 - 760 of 4,636 for should (0.05 seconds)

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

      public void testToString_minimal() {
        assertNotNull("toString() should not return null", collection.toString());
      }
    
      @CollectionSize.Require(ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToString_size0() {
        assertEquals("emptyCollection.toString should return []", "[]", collection.toString());
      }
    
      @CollectionSize.Require(ONE)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/CollectionToStringTester.java

      public void testToString_minimal() {
        assertNotNull("toString() should not return null", collection.toString());
      }
    
      @CollectionSize.Require(ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToString_size0() {
        assertEquals("emptyCollection.toString should return []", "[]", collection.toString());
      }
    
      @CollectionSize.Require(ONE)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

                    this.managedDependencies.add(managedDependency);
                }
                return this;
            }
    
            /**
             * Specifies that the collection should be verbose.
             *
             * @param verbose whether the collection should be verbose or not
             * @return this request for chaining, never {@code null}
             */
            @Nonnull
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 23K bytes
    - Click Count (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Options.java

         */
        @Nonnull
        Optional<String> logFile();
    
        /**
         * Returns whether raw streams should be logged.
         *
         * @return a boolean indicating whether raw streams should be logged
         */
        @Nonnull
        Optional<Boolean> rawStreams();
    
        /**
         * Returns the color setting for console output.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Jan 13 16:14:35 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

            assertWithMessage("char 0x" + Integer.toString(ch, 16) + " should not be escaped")
                .that(escaped)
                .isEqualTo(input);
          }
        }
    
        // Test that 0xFFFE and 0xFFFF are replaced with 0xFFFD
        assertEscaping(xmlEscaper, "\uFFFD", '\uFFFE');
        assertEscaping(xmlEscaper, "\uFFFD", '\uFFFF');
    
        assertWithMessage("0xFFFE is forbidden and should be replaced during escaping")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

            // Check that the path is written after the referral level
            // The path should be written starting at index 2
            // writeString adds null terminator
            assertTrue(len > 2, "Length should include path");
            String writtenPath = extractStringFromBuffer(buffer, 2, len - 2);
            assertTrue(writtenPath.contains("abc"), "Path should be written to buffer");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

                return false
            }
            /* js snippets almost always should be marked with `// CONSOLE`. js
             * snippets that shouldn't be marked `// CONSOLE`, like examples for
             * js client, should always be marked with `// NOTCONSOLE`.
             *
             * `sh` snippets that contain `curl` almost always should be marked
             * with `// CONSOLE`. In the exceptionally rare cases where they are
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

                deliveries.incrementAndGet();
              }
            });
    
        String EVENT = "Hello!";
        bus.post(EVENT);
    
        assertEquals("Only one event should be delivered.", 1, deliveries.get());
        assertWithMessage("Correct string should be delivered.").that(holder.get()).isEqualTo(EVENT);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SSPContextTest.java

                assertArrayEquals(new byte[] { 1, 2, 3 }, ctx.getSigningKey(), "signing key");
                assertTrue(ctx.isEstablished(), "should be established");
    
                byte[] in = new byte[] { 9, 8, 7, 6 };
                assertArrayEquals(new byte[] { 8, 7 }, ctx.initSecContext(in, 1, 2), "slice should match");
    
                assertEquals("NBHOST", ctx.getNetbiosName(), "NetBIOS name");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  10. internal/logger/target/loggertypes/types.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package loggertypes
    
    // TargetType indicates type of the target e.g. console, http, kafka
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 18 21:56:31 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top