Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 967 for inrange (0.05 sec)

  1. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            when(tree.acquire()).thenReturn(tree);
        }
    
        @Test
        @DisplayName("Getters return constructor values and acquire is called")
        void gettersAndAcquire() throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
            String wildcard = "*.*";
            int attrs = 123;
            FileEntry initial = entry("first");
            List<FileEntry[]> pages = List.of(new FileEntry[][] { new FileEntry[] {} });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

        @Test
        @DisplayName("Default ctor: null message/cause and success status")
        void defaultConstructor_hasNullMessageAndCause_andDefaultStatus() {
            // Arrange & Act
            SMBSignatureValidationException ex = new SMBSignatureValidationException();
    
            // Assert
            assertNull(ex.getMessage(), "Default ctor should not set a message");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

        }
    
        @Test
        @DisplayName("Default constructor sets the expected message and no cause")
        void defaultConstructor_setsExpectedMessage_andNoCause() {
            // Arrange & Act
            SmbUnsupportedOperationException ex = new SmbUnsupportedOperationException();
    
            // Assert
            assertEquals("Operation is not supported with the negotiated capabilities", ex.getMessage(),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/UniAddressTest.java

         * 1. Basic constructor validation
         * --------------------------------------------------------------------- */
        @Test
        void constructorAcceptsNonNullObject() {
            // Arrange : create a dummy address
            InetAddress dummy = mock(InetAddress.class);
            // Act
            UniAddress ua = new UniAddress(dummy);
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

            closeHandleCaptor = ArgumentCaptor.forClass(MsrpcSamrCloseHandle.class);
        }
    
        @Test
        void constructor_shouldOpenDomainSuccessfully() throws IOException {
            // Arrange
            int access = 0x01; // Example access value
            // Simulate successful RPC call
            doAnswer(invocation -> {
                MsrpcSamrOpenDomain rpc = invocation.getArgument(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. misc/cgo/gmp/gmp.go

    world, because the Go garbage collector is unaware of the memory
    allocated by C.  The most important consideration is not to
    constrain future implementations, so the rule is that Go code can
    hand a Go pointer to C code but must separately arrange for
    Go to hang on to a reference to the pointer until C is done with it.
    */
    package gmp
    
    /*
    #cgo LDFLAGS: -lgmp
    #include <gmp.h>
    #include <stdlib.h>
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbTransportTest.java

        @Mock
        private Address remoteAddress;
    
        @BeforeEach
        void setUp() {
            // Common setup for mocks if needed
        }
    
        @Test
        void testGetContext() {
            // Arrange
            when(smbTransport.getContext()).thenReturn(cifsContext);
    
            // Act
            CIFSContext result = smbTransport.getContext();
    
            // Assert
            assertNotNull(result, "Context should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

        @Test
        @DisplayName("Default constructor yields REQUIRED Krb5 entry with empty options")
        void defaultConstructor_producesRequiredKrb5EntryWithEmptyOptions() {
            // Arrange
            StaticJAASConfiguration cfg = new StaticJAASConfiguration();
    
            // Act
            AppConfigurationEntry[] entries = cfg.getAppConfigurationEntry("ignored");
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. src/archive/tar/reader_test.go

    			{8, "\x00G\x00o\x00G\x00o"},
    			{4, "end\n"},
    		},
    	}}
    
    	for _, v := range vectors {
    		t.Run(path.Base(v.file), func(t *testing.T) {
    			f, err := os.Open(v.file)
    			if err != nil {
    				t.Fatalf("Open() error: %v", err)
    			}
    			defer f.Close()
    
    			tr := NewReader(f)
    			for i, tc := range v.cases {
    				hdr, err := tr.Next()
    				if err != nil || hdr == nil {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

        @Mock
        Throwable mockCause;
    
        @Test
        @DisplayName("No-arg constructor: null message and cause; can be thrown")
        void defaultConstructor_behavesAsExpected() {
            // Arrange & Act
            SMBProtocolDecodingException ex = new SMBProtocolDecodingException();
    
            // Assert state
            assertNull(ex.getMessage(), "Default constructor should have null message");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top