Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 1,045 for certify (0.07 seconds)

  1. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

            // Verify that data was written (should write 22 bytes based on implementation)
            assertEquals(22, result, "writeParameterWordsWireFormat should write 22 bytes");
        }
    
        @Test
        void testWriteBytesWireFormat() {
            byte[] dst = new byte[1024];
            int result = setupAndX.writeBytesWireFormat(dst, 0);
    
            // Verify that data was written
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

    /**
     * Tests for {@link jcifs.smb1.dcerpc.msrpc.MsrpcSamrConnect2} constructor.
     * <p>
     * The class under test is a simple wrapper around the base class that
     * sets internal fields in its constructor.
     * These tests verify that the constructor accepts various parameters
     * without throwing exceptions.
     */
    @ExtendWith(MockitoExtension.class)
    class MsrpcSamrConnect2Test {
    
        // Helper method to create a minimal SamrPolicyHandle instance.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestTraceTest.java

            RequestTrace level3 = new RequestTrace(level2, "level3-data");
    
            // Verify the chain
            assertNull(root.parent());
            assertEquals(root, level1.parent());
            assertEquals(level1, level2.parent());
            assertEquals(level2, level3.parent());
    
            // Verify context inheritance
            assertEquals("root", root.context());
            assertEquals("level1", level1.context());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  4. cmd/admin-handlers-users_test.go

    		c.Fatalf("policy add error: %v", err)
    	}
    
    	// 2. Verify that policy json is validated by server
    	invalidPolicyBytes := policyBytes[:len(policyBytes)-1]
    	err = s.adm.AddCannedPolicy(ctx, policy1+"invalid", invalidPolicyBytes)
    	if err == nil {
    		c.Fatalf("invalid policy creation success")
    	}
    
    	// 3. Create a user, associate policy and verify access
    	accessKey, secretKey := mustGenerateCredentials(c)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 50.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertFalse(ipc.shouldForceSigning());
    
            // Verify interactions sequence for one call
            InOrder inOrder = inOrder(config, creds);
            ipc = locator("smb://server/IPC$/");
            ipc.shouldForceSigning();
            inOrder.verify(config, atLeastOnce()).isIpcSigningEnforced();
            inOrder.verify(creds, atLeastOnce()).isAnonymous();
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/it/admin/JobLogTests.java

            logger.info("Job logs: {}", logs);
            assertTrue(logs.size() > 0, "Should have at least one job log");
    
            // Verify response structure
            Integer status = JsonPath.from(response).get("response.status");
            assertEquals(0, status);
    
            // Verify log structure
            Map<String, Object> firstLog = logs.get(0);
            assertTrue(firstLog.containsKey("id"), "Log should have id field");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:29:45 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/util/SMBUtilTest.java

            assertEquals(24, SMBUtil.SMB_HEADER.length);
    
            // Verify SMB header signature
            assertEquals((byte) 0xFF, SMBUtil.SMB_HEADER[0]);
            assertEquals((byte) 'S', SMBUtil.SMB_HEADER[1]);
            assertEquals((byte) 'M', SMBUtil.SMB_HEADER[2]);
            assertEquals((byte) 'B', SMBUtil.SMB_HEADER[3]);
    
            // Verify remaining bytes are zeros
            for (int i = 4; i < 24; i++) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            // when proper conditions are not met.
    
            Map<String, Object> docMap = new HashMap<>();
    
            // This will return false because getFessConfig() will fail
            // We verify the method handles the case gracefully
            try {
                emptyGenerator.isTarget(docMap);
            } catch (IllegalStateException e) {
                // Expected when container is not initialized
    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)
  9. src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java

            ScheduledJobException exception = new ScheduledJobException("Stack trace test");
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify the first stack trace element is from this test method
            StackTraceElement firstElement = exception.getStackTrace()[0];
            assertEquals(this.getClass().getName(), firstElement.getClassName());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      /**
       * Override this to verify anything after running a list of Stimuli.
       *
       * <p>For example, verify that calls to remove() actually removed the correct elements.
       *
       * @param elements the expected elements passed to the constructor, as mutated by {@code
       *     remove()}, {@code set()}, and {@code add()} calls
       */
      protected void verify(List<E> elements) {}
    
      /** Executes the test. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 20.8K bytes
    - Click Count (0)
Back to Top