Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 3,261 for avoid (0.05 sec)

  1. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        @Mock
        private CommonServerMessageBlock serverMessageBlock;
    
        @Mock
        private Response response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Test isValid returns true for valid negotiation")
        void testIsValidReturnsTrue() {
            // Arrange
            when(negotiationResponse.isValid(cifsContext, negotiationRequest)).thenReturn(true);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/BaseConfigurationTest.java

     */
    class BaseConfigurationTest {
    
        private BaseConfiguration config;
    
        @BeforeEach
        void setUp() throws CIFSException {
            config = new BaseConfiguration(false);
        }
    
        @Test
        @DisplayName("Test constructor with initDefaults true")
        void testConstructorWithInitDefaults() throws CIFSException {
            BaseConfiguration configWithDefaults = new BaseConfiguration(true);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

          new Runnable() {
            @Override
            public void run() {
              try {
                MILLISECONDS.sleep(DELAY_MS);
              } catch (InterruptedException e) {
                throw new RuntimeException(e);
              }
            }
          };
      private static final Runnable BAD_RUNNABLE =
          new Runnable() {
            @Override
            public void run() {
              try {
                MILLISECONDS.sleep(DELAY_MS);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

        @Before
        public void setUp() {
            testConverter = new TestReadingConverter();
            converter = testConverter;
        }
    
        @Test
        public void testGetMaxReadingNum() {
            // Test default max reading num
            assertEquals(10, converter.getMaxReadingNum());
        }
    
        @Test
        public void testInitNormal() throws IOException {
            // Test normal initialization
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            void testSmb2HeaderLength() {
                assertEquals(64, Smb2Constants.SMB2_HEADER_LENGTH, "SMB2 header must be exactly 64 bytes");
            }
        }
    
        @Nested
        @DisplayName("Negotiation Constants")
        class NegotiationConstants {
    
            @Test
            @DisplayName("Signing enabled flag should be 0x0001")
            void testSigningEnabledFlag() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

                .createTestSuite());
        suite.addTestSuite(ImmutableListMultimapTest.class);
        return suite;
      }
    
      public void testBuilderWithExpectedKeysNegative() {
        assertThrows(
            IllegalArgumentException.class, () -> ImmutableListMultimap.builderWithExpectedKeys(-1));
      }
    
      public void testBuilderWithExpectedKeysZero() {
        ImmutableListMultimap.Builder<String, String> builder =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FilesTest.java

        suite.addTestSuite(FilesTest.class);
        return suite;
      }
    
      public void testRoundTripSources() throws Exception {
        File asciiFile = getTestFile("ascii.txt");
        ByteSource byteSource = Files.asByteSource(asciiFile);
        assertSame(byteSource, byteSource.asCharSource(UTF_8).asByteSource(UTF_8));
      }
    
      public void testToByteArray() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

            void testInterfaceImplementation() {
                CreateContextResponse response = mock(CreateContextResponse.class);
                assertNotNull(response);
                assertTrue(response instanceof CreateContextResponse);
            }
    
            @Test
            @DisplayName("getName() should return expected byte array")
            void testGetNameMethod() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

        private static final int TEST_TYPE = 0x00000000; // Standard share type
    
        @BeforeEach
        void setUp() {
            shareInfo = new SmbShareInfo();
        }
    
        @Test
        @DisplayName("Test default constructor")
        void testDefaultConstructor() {
            // Verify default values
            assertNull(shareInfo.getName());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

    class Smb2LockTest {
    
        private Smb2Lock lock;
        private byte[] buffer;
    
        @BeforeEach
        void setUp() {
            buffer = new byte[128];
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create lock with valid parameters")
            void testConstructorWithValidParameters() {
                long offset = 1024L;
                long length = 2048L;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top