- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 2,602 for correct (0.03 sec)
-
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
Throwable[] suppressed = mainException.getSuppressed(); assertEquals(1, suppressed.length); assertEquals(suppressedException, suppressed[0]); } @Test @DisplayName("Should provide correct cause for constructor with cause only") void testCauseOnlyConstructorMessage() { // Given RuntimeException cause = new RuntimeException("Specific cause message"); // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java
+ " but there is no POM in this directory (" + session.getTopDirectory() + ")." + " Please verify you invoked Maven from the correct directory."); } List<TaskSegment> taskSegments = calculateTaskSegments(session); if (taskSegments.isEmpty()) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
assertNotNull(info); assertTrue(info.toString().contains("endOfFile=" + endOfFile)); } @Test @DisplayName("Test getFileInformationLevel returns correct value") void testGetFileInformationLevel() { assertEquals(FileInformation.FILE_ENDOFFILE_INFO, fileInfo.getFileInformationLevel()); // Test with parameterized constructorRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
// Then assertEquals(cause, exception.getCause()); assertEquals(SmbOperationException.ErrorCategory.NETWORK, exception.getErrorCategory()); assertTrue(exception.isRetryable()); } @Test @DisplayName("Should handle retry policy correctly") void testRetryPolicy() { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java
} public void test_temp_file_creation() { // Test that temp file uses correct prefix "StorageClient" not "SmbClient" StorageClient client = new StorageClient() { @Override protected java.io.File createTempFile(String prefix, String suffix, java.io.File directory) { // Verify the prefix is correctRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
@ValueSource(ints = { -1, 0, 13, 15, 99 }) @DisplayName("seq ctor: invalid msgType values throw") void sequenceConstructor_invalidMsgType_throws(int badType) throws Exception { // Arrange: correct version, wrong msg type ASN1EncodableVector v = new ASN1EncodableVector(); v.add(new DERTaggedObject(true, 0, new ASN1Integer(Integer.parseInt(KerberosConstants.KERBEROS_VERSION))));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
handlers.put("http", httpHandler); handlers.put("https", httpsHandler); } @Test void testGetDefaultPort() { // This test verifies that the handler returns the correct default HTTP port. assertEquals(Handler.DEFAULT_HTTP_PORT, handler.getDefaultPort(), "Default port should be 80 for HTTP."); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/dtyp/ACE.java
* * the access check would fail because the direct ACE has an access mask * of <code>0x001200A9</code> which doesn't have the * <code>FILE_WRITE_DATA</code> bit on (bit <code>0x00000002</code>). Actually, this isn't quite correct. If * <code>WNET\alice</code> is in the local <code>Administrators</code> group the access check * will succeed because the inherited ACE allows local <code>Administrators</code>
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java
// Act SamrDomainHandle handle = new SamrDomainHandle(mockDcerpcHandle, mockPolicyHandle, access, mockSid); // Assert assertNotNull(handle); // Verify sendrecv was called once with the correct RPC message verify(mockDcerpcHandle, times(1)).sendrecv(openDomainCaptor.capture()); MsrpcSamrOpenDomain capturedRpc = openDomainCaptor.getValue(); assertNotNull(capturedRpc);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
handle.close(); // Verify close was called verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class)); assertEquals(handle, closeCaptor.getValue().handle); // Verify correct handle is passed } @Test void testClose_AlreadyClosed() throws IOException { // Test case: close() when already closed, should do nothing String server = "testServer";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0)