- Sort Score
- Num 10 results
- Language All
Results 751 - 760 of 6,187 for New (0.02 seconds)
-
src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java
SmbComCreateDirectory smbCom = new SmbComCreateDirectory(mockConfig, "testDir"); byte[] buffer = new byte[10]; int result = smbCom.readParameterWordsWireFormat(buffer, 0); assertEquals(0, result); } @Test void testReadBytesWireFormat() { // This method is empty, so it should return 0 SmbComCreateDirectory smbCom = new SmbComCreateDirectory(mockConfig, "testDir");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
// First call throws, second accepts when(filter.accept(any())).thenThrow(new CIFSException("boom")).thenReturn(true); ShareEnumIterator it = new ShareEnumIterator(parent, entries.iterator(), filter); assertTrue(it.hasNext()); SmbResource res = it.next(); assertNotNull(res);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java
try { final Auth auth = new Auth(getSettings(), request, response); final AuthnRequestParams authnRequestParams = new AuthnRequestParams(false, false, true); final String loginUrl = auth.login(null, authnRequestParams, true); request.getSession().setAttribute(SAML_STATE, UuidUtil.create());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 03:13:33 GMT 2026 - 20.2K bytes - Click Count (3) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
// Given SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport); int threadCount = 5; ExecutorService executor = Executors.newFixedThreadPool(threadCount); CountDownLatch startLatch = new CountDownLatch(1); CountDownLatch endLatch = new CountDownLatch(threadCount); AtomicInteger releaseCount = new AtomicInteger(0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java
/** * Test constructor with raw bytes. */ @Test public void testConstructorWithRawBytes() { byte[] rawBytes = new byte[8]; SMBUtil.writeInt8(1234567890L, rawBytes, 0); // Example timestamp AvTimestamp avTimestamp = new AvTimestamp(rawBytes); assertNotNull(avTimestamp); assertEquals(AvPair.MsvAvTimestamp, avTimestamp.getType());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.8K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacSignatureTest.java
ByteArrayOutputStream baos = new ByteArrayOutputStream(); writeLittleEndianInt(baos, PacSignature.KERB_CHECKSUM_HMAC_MD5); // Write only 10 bytes instead of 16 baos.write(new byte[10]); byte[] data = baos.toByteArray(); // Verify that PACDecodingException is thrown assertThrows(PACDecodingException.class, () -> { new PacSignature(data); }); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SearchHelperTest.java
searchHelper = new SearchHelper(); setupMockComponents(); } private void setupMockComponents() { ComponentUtil.setFessConfig(new MockFessConfig()); ComponentUtil.register(new MockSystemHelper(), "systemHelper"); } @Test public void test_serializeParameters() { RequestParameter[] params = new RequestParameter[] { new RequestParameter("q", new String[] { "test" }),
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java
// Setup final String message = "Test SSO error message"; final Exception cause = new RuntimeException("Test cause"); final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsSsoLoginError(UserMessages.GLOBAL_PROPERTY_KEY); // Execute final SsoMessageException exception = new SsoMessageException(messageCode, message, cause); // Verify assertNotNull(exception);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java
private EmptyGenerator emptyGenerator; @Test public void test_generate() { // Initialize without container emptyGenerator = new EmptyGenerator(); // Test that generate always returns false File outputFile = new File("test.jpg"); assertFalse(emptyGenerator.generate("thumbnailId", outputFile)); assertFalse(emptyGenerator.generate(null, outputFile));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
AtomicBoolean interruptedExceptionThrown = new AtomicBoolean(); CountDownLatch enterLatch = new CountDownLatch(1); CountDownLatch exitLatch = new CountDownLatch(1); TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create( () -> { enterLatch.countDown(); try { new CountDownLatch(1).await(); // wait forever
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.5K bytes - Click Count (0)