Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 265 for 123Z (0.01 sec)

  1. src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java

            // Setup is handled by MockitoExtension
        }
    
        @Test
        void constructor_shouldOpenPolicySuccessfully() throws IOException {
            // Arrange
            String server = "testServer";
            int access = 123;
    
            // Mock the behavior of sendrecv for MsrpcLsarOpenPolicy2
            doAnswer(invocation -> {
                MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0);
                rpc.retval = 0; // Simulate success
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java

                if (throwOnEncode) {
                    throw new NdrException("Failed to encode");
                }
                // Simulate some encoding activity on the buffer
                dst.enc_ndr_long(123);
            }
    
            @Override
            public void decode(NdrBuffer src) throws NdrException {
                if (throwOnDecode) {
                    throw new NdrException("Failed to decode");
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            tags = PrunedTag.parse("a.link,div#123");
            assertEquals(2, tags.length);
            assertEquals("PrunedTag [tag=a, id=null, css=link, attrName=null, attrValue=null]", tags[0].toString());
            assertEquals("PrunedTag [tag=div, id=123, css=null, attrName=null, attrValue=null]", tags[1].toString());
    
            tags = PrunedTag.parse("a#test-a");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 21K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/Kerb5ContextTest.java

            when(src.export()).thenReturn(buildExportName(new Oid("1.2.3"), "client"));
            when(targ.export()).thenReturn(buildExportName(new Oid("1.2.3"), "service"));
            when(gssContext.getSrcName()).thenReturn(src);
            when(gssContext.getTargName()).thenReturn(targ);
            when(gssContext.getMech()).thenReturn(new Oid("1.2.3"));
    
            assertNull(ctx.searchSessionKey(new javax.security.auth.Subject()));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/ASN1UtilTest.java

            ASN1Integer expected = new ASN1Integer(123);
            vector.add(expected);
            ASN1Integer result = ASN1Util.as(ASN1Integer.class, vector.elements());
            assertSame(expected, result);
        }
    
        @Test
        void testAs_Enumeration_Failure() {
            // Test failed casting from enumeration
            Vector<ASN1Integer> vector = new Vector<>();
            vector.add(new ASN1Integer(123));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java

            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testConstructor_validValue() {
            // Test with a value within the byte range
            NdrSmall ndrSmall = new NdrSmall(123);
            assertEquals(123, ndrSmall.value, "Value should be initialized correctly for valid input.");
        }
    
        @Test
        void testConstructor_maxValue() {
            // Test with the maximum byte value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

        }
    
        /**
         * Edge case – constructor using the winerr flag.
         */
        @Test
        @DisplayName("Winerr code 123 – message equals 123")
        void testConstructorWithWinerr() {
            SmbException ex = new SmbException(123, true);
            assertEquals("123", ex.getMessage());
            assertEquals(123, ex.getNtStatus());
        }
    
        /**
         * Parameterised test covering many error codes.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

            assertEquals(0, response.deviceState);
            assertEquals(0, response.action);
            assertEquals(0, response.serverFid);
        }
    
        @Test
        void testSetFid() {
            response.fid = 123;
            assertEquals(123, response.fid);
        }
    
        @Test
        void testSetFileAttributes() {
            response.fileAttributes = 0x20; // ATTR_ARCHIVE
            assertEquals(0x20, response.fileAttributes);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java

        "46341", "92682", "185364", "370728", "741455", "1482910", "2965821", "5931642"
      })
      private int size;
    
      // "" means no fixed seed
      @Param("1234")
      private SpecialRandom random;
    
      @Param({"ImmutableSetImpl", "HashSetImpl"})
      private SetImpl impl;
    
      // the following must be set during setUp
      private Set<Element> setToTest;
    
      @BeforeExperiment
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

                // When: Creating connect2 message
                samr.SamrConnect2 message = new samr.SamrConnect2("system", 123, mockPolicyHandle);
    
                // Then: Should have correct values
                assertEquals(0x39, message.getOpnum());
                assertEquals("system", message.system_name);
                assertEquals(123, message.access_mask);
                assertEquals(mockPolicyHandle, message.handle);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
Back to top