Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1111 - 1120 of 3,662 for Void (0.02 sec)

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

      @CollectionSize.Require(absent = ZERO)
      public void testReplace_supportedPresent() {
        try {
          assertEquals(v0(), getMap().replace(k0(), v3()));
          expectReplacement(entry(k0(), v3()));
        } catch (ClassCastException tolerated) { // for ClassToInstanceMap
          expectUnchanged();
        }
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplace_supportedPresentNoChange() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/log/JulLoggerAdapter.java

        public void info(final String message) {
            logger.logp(Level.INFO, sourceClass, null, message);
        }
    
        @Override
        public void info(final String message, final Throwable t) {
            logger.logp(Level.INFO, sourceClass, null, message, t);
        }
    
        @Override
        public boolean isDebugEnabled() {
            return logger.isLoggable(Level.FINE);
        }
    
        @Override
        public void debug(final String message) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/FunnelsTest.java

    public class FunnelsTest extends TestCase {
      public void testForBytes() {
        PrimitiveSink primitiveSink = mock(PrimitiveSink.class);
        Funnels.byteArrayFunnel().funnel(new byte[] {4, 3, 2, 1}, primitiveSink);
        verify(primitiveSink).putBytes(new byte[] {4, 3, 2, 1});
      }
    
      public void testForBytes_null() {
        assertNullsThrowException(Funnels.byteArrayFunnel());
      }
    
      public void testForStrings() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NetworkExplorerTest.java

        @BeforeEach
        void setUp() throws Exception {
            // Setup response writers
            stringWriter = new StringWriter();
            printWriter = new PrintWriter(stringWriter);
            outputStream = new ByteArrayOutputStream();
    
            servletOutputStream = new ServletOutputStream() {
                @Override
                public void write(int b) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

        private Smb2WriteResponse response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            response = new Smb2WriteResponse(mockConfig);
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create response with configuration")
            void testConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dfs/ReferralTest.java

     */
    public class ReferralTest {
    
        private Referral referral;
        private byte[] testBuffer;
    
        @BeforeEach
        public void setUp() {
            referral = new Referral();
            testBuffer = new byte[512];
        }
    
        // Version 3 Referral Tests
    
        @Test
        public void testDecodeVersion3WithoutNameList() {
            // Prepare test data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/HandlerTest.java

        @DisplayName("getDefaultPort returns SMB default port 445")
        void testGetDefaultPort() {
            // Act
            int port = handler.getDefaultPort();
    
            // Assert
            assertEquals(445, port);
            assertEquals(SmbConstants.DEFAULT_PORT, port);
        }
    
        @Test
        @DisplayName("openConnection creates SmbFile for valid URL")
        void testOpenConnectionWithValidUrl() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java

    class SourcesTest {
        @TempDir
        Path tempDir;
    
        @Test
        void testFromPath() {
            Path path = Paths.get("/tmp");
            Source source = Sources.fromPath(path);
    
            assertNotNull(source);
            assertInstanceOf(Sources.PathSource.class, source);
            assertEquals(path.normalize(), source.getPath());
        }
    
        @Test
        void testBuildSource() {
            Path path = Paths.get("/tmp");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

       * which are not generally applicable to every instance of Map.
       *
       * @param map the map whose additional invariants to check.
       */
      protected void assertMoreInvariants(Map<K, V> map) {}
    
      public void testClear() {
        Map<K, V> map;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
    
        if (supportsClear) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/HashTestUtils.java

      static final Funnel<Object> BAD_FUNNEL =
          new Funnel<Object>() {
            @Override
            public void funnel(Object object, PrimitiveSink bytePrimitiveSink) {
              bytePrimitiveSink.putInt(object.hashCode());
            }
          };
    
      enum RandomHasherAction {
        PUT_BOOLEAN() {
          @Override
          void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) {
            boolean value = random.nextBoolean();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top