Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 878 for verifyCn (0.05 seconds)

  1. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

            ndrLong.decode(mockNdrBuffer);
    
            // Verify that dec_ndr_long was called exactly once
            verify(mockNdrBuffer, times(1)).dec_ndr_long();
            // Verify that the value field was updated correctly
            assertEquals(decodedValue, ndrLong.value, "Decode should correctly assign the value returned by dec_ndr_long.");
            // Verify that no other interactions occurred with the mock buffer
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java

                            .thenReturn(UpgradeResult.empty());
    
                    checkGoal.execute(context);
    
                    // Verify that the Check-specific header is logged
                    verify(context.logger).info("Maven Upgrade Tool - Check");
                } finally {
                    // Clean up - delete all files in the directory first
                    try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. cmd/xl-storage_unix_test.go

    		t.Fatalf("Initializing xlStorage failed with %s.", err)
    	}
    
    	// Attempt to create a volume to verify the permissions later.
    	// MakeVol creates directory with 0777 perms.
    	if err = disk.MakeVol(t.Context(), testCase.volName); err != nil {
    		t.Fatalf("Creating a volume failed with %s expected to pass.", err)
    	}
    
    	// Attempt to create a file to verify the permissions later.
    	// AppendFile creates file with 0666 perms.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/netbios/NameQueryRequestTest.java

            doReturn(10).when((NameServicePacket) request).writeQuestionSectionWireFormat(any(byte[].class), anyInt());
    
            int result = request.writeBodyWireFormat(dst, dstIndex);
    
            // Verify that writeQuestionSectionWireFormat was called
            verify((NameServicePacket) request, times(1)).writeQuestionSectionWireFormat(dst, dstIndex);
            assertEquals(10, result);
        }
    
        @Test
        void testReadBodyWireFormat() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

      }
    
      /**
       * Verify that the listener completes in a reasonable amount of time, and Asserts that the future
       * returns the expected data.
       *
       * @throws Throwable if the listener isn't called or if it resulted in a throwable or if the
       *     result doesn't match the expected value.
       */
      public void assertSuccess(Object expectedData) throws Throwable {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri May 12 18:12:42 GMT 2023
    - 3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/WinErrorTest.java

                handler.handle(WinError.WINERR_CODES[i], WinError.WINERR_MESSAGES[i]);
            }
    
            // Verify the collaborator is invoked exactly N times
            verify(handler, times(WinError.WINERR_CODES.length)).handle(anyInt(), anyString());
    
            // Capture one known interaction to verify argument integrity
            ArgumentCaptor<Integer> codeCap = ArgumentCaptor.forClass(Integer.class);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            // Unregister
            client.unregister(registration).get(5, TimeUnit.SECONDS);
    
            assertEquals(0, client.getActiveRegistrationCount());
    
            verify(mockRpc).register(any(WitnessRegisterRequest.class));
            verify(mockRpc).unregister(any(WitnessUnregisterRequest.class));
    
            client.close();
        }
    
        @Test
        void testGetWitnessServer() throws Exception {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/FileEntryTest.java

            assertEquals(12345L, size);
    
            // Verify precise interactions
            verify(mockEntry, times(1)).getName();
            verify(mockEntry, times(2)).getType();
            verify(mockEntry, times(1)).getAttributes();
            verify(mockEntry, times(1)).createTime();
            verify(mockEntry, times(1)).lastModified();
            verify(mockEntry, times(1)).lastAccess();
            verify(mockEntry, times(1)).length();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10K bytes
    - Click Count (0)
  9. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReaderTest.java

            request.setArtifact(new DefaultArtifact("org.apache.maven.its", "dep-mng5459", "jar", "0.4.0-SNAPSHOT"));
    
            // execute
            reader.readArtifactDescriptor(session, request);
    
            // verify
            verify(eventDispatcher).dispatch(event.capture());
    
            boolean missingArtifactDescriptor = false;
    
            for (RepositoryEvent evt : event.getAllValues()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                byte[] buffer = new byte[100];
    
                assertTrue(testBlock.verifySignature(buffer, 0, 100));
                verify(mockDigest, never()).verify(any(), anyInt(), anyInt(), anyInt(), any());
            }
    
            @Test
            @DisplayName("Test verify signature success")
            void testVerifySignatureSuccess() {
                testBlock.setDigest(mockDigest);
                testBlock.setErrorCode(0);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 36.2K bytes
    - Click Count (0)
Back to Top