Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 211 for getErr (0.04 sec)

  1. src/test/java/jcifs/spnego/SpnegoTokenTest.java

            assertNull(t.getMechanismToken(), "mechanismToken should default to null");
            assertNull(t.getMechanismListMIC(), "mechanismListMIC should default to null");
        }
    
        @Test
        @DisplayName("Setter and getter for mechanismToken work")
        void setGetMechanismToken() {
            TestSpnegoToken t = new TestSpnegoToken();
            byte[] data = new byte[] { 1, 2, 3 };
            t.setMechanismToken(data);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. cmd/jwt_test.go

    				},
    			},
    			expectedErr: errAuthentication,
    		},
    	}
    
    	for i, testCase := range testCases {
    		_, _, _, gotErr := metricsRequestAuthenticate(testCase.req)
    		if testCase.expectedErr != gotErr {
    			t.Errorf("Test %d, expected err %s, got %s", i+1, testCase.expectedErr, gotErr)
    		}
    	}
    }
    
    func BenchmarkParseJWTStandardClaims(b *testing.B) {
    	ctx, cancel := context.WithCancel(b.Context())
    	defer cancel()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/MavenArtifact.java

        }
    
        @Override
        public String getUrl() {
            return getRepositoryUrl() + getName();
        }
    
        @Override
        public long getContentLength() {
            return resource.getContentLength();
        }
    
        @Override
        public long getTransferStartTime() {
            return transferStartTime;
        }
    
        @Override
        public String toString() {
            return getUrl();
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

            if (childUrlSet != null) {
                // add an url
                try {
                    storeChildUrls(childUrlSet.stream().filter(rd -> StringUtil.isNotBlank(rd.getUrl())).collect(Collectors.toSet()),
                            urlQueue.getUrl(), urlQueue.getDepth() != null ? urlQueue.getDepth() + 1 : 1);
                } catch (final Throwable t) {
                    if (!ComponentUtil.available()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

            final SmbResourceLocator loc = this.getParent().getLocator();
            final String unc = loc.getUNCPath();
            final String p = loc.getURL().getPath();
            if (p.lastIndexOf('/') != p.length() - 1) {
                throw new SmbException(loc.getURL() + " directory must end with '/'");
            }
            if (unc.lastIndexOf('\\') != unc.length() - 1) {
                throw new SmbException(unc + " UNC must end with '\\'");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

                    id = repository.getId();
                }
    
                log.debug("Using mirror: " + mirror.getUrl() + " (id: " + id + ")");
    
                repository = artifactRepositoryFactory.createArtifactRepository(
                        id, mirror.getUrl(), repository.getLayout(), repository.getSnapshots(), repository.getReleases());
            }
            return repository;
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/context/BaseContextTest.java

            assertNotSame(pipe1, pipe2, "Different pipes should be different instances");
    
            assertTrue(resource1.getLocator().getURL().toString().contains("server1"), "First resource should contain server1");
            assertTrue(resource2.getLocator().getURL().toString().contains("server2"), "Second resource should contain server2");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbResourceLocatorTest.java

            // Verify we can retrieve it
            DfsReferralData received = loc.getDfsReferral();
            assertSame(dfs, received);
    
            // Verify that the URL returned by getURL works with SMB handler
            URL returned = loc.getURL();
            if (returned != null) {
                assertEquals(url, returned.toString());
            }
    
            // Test that getAddress returns null for our dummy implementation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

                    Arguments.of(-1, -2L, -3L, -4L, -5L) // negative values
            );
        }
    
        // --- Mockito interaction: verify each getter is invoked and returns stubbed values ---
        @Test
        void mockitoMock_verifiesGetterInteractions() {
            // Arrange: mock and stub each getter with distinct values
            SmbBasicFileInfo mock = Mockito.mock(SmbBasicFileInfo.class);
            Mockito.when(mock.getAttributes()).thenReturn(7);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                        }
                    }
    
                });
            } catch (final Exception e) {
                final CrawlingAccessException rcae = new CrawlingAccessException("Could not get a text from " + responseData.getUrl(), e);
                rcae.setLogLevel(CrawlingAccessException.WARN);
                throw rcae;
            }
            if (content == null) {
                content = StringUtil.EMPTY;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top