Search Options

Results per page
Sort
Preferred Languages
Advance

Results 981 - 990 of 1,187 for setOut (0.14 sec)

  1. src/test/java/jcifs/SidResolverTest.java

        private SID mockSid2;
    
        @Mock
        private SID mockSid3;
    
        @Mock
        private SID mockDomainSid;
    
        private String testServerName;
        private SID[] testSids;
    
        @BeforeEach
        void setUp() {
            testServerName = "test-server.domain.com";
            testSids = new SID[] { mockSid1, mockSid2, mockSid3 };
        }
    
        // Test resolveSids with array
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

        private static final long TEST_CHANGE_TIME = System.currentTimeMillis() - 4000;
        private static final int TEST_ATTRIBUTES = 0x20; // FILE_ATTRIBUTE_ARCHIVE
    
        @BeforeEach
        void setUp() {
            fileBasicInfo = new FileBasicInfo();
        }
    
        @Test
        @DisplayName("Test interface mock behavior")
        void testInterfaceMock() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

            }
        }
    
        @Nested
        @DisplayName("Encode Method Tests")
        class EncodeTests {
    
            private byte[] buffer;
            private int startIndex;
    
            @BeforeEach
            void setUp() {
                buffer = new byte[100];
                startIndex = 10;
            }
    
            @Test
            @DisplayName("Should encode basic values correctly")
            void testEncodeBasicValues() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

     */
    class Trans2QueryPathInformationResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private Trans2QueryPathInformationResponse response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Test constructor with FILE_BASIC_INFO level")
        void testConstructorWithFileBasicInfo() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt

        clientTestRule
          .newClientBuilder()
          .dns { throw UnknownHostException() }
          .dispatcher(dispatcher)
          .eventListenerFactory(clientTestRule.wrap(listener))
          .build()
    
      @BeforeEach
      fun setUp() {
        dispatcher.maxRequests = 20
        dispatcher.maxRequestsPerHost = 10
        listener.forbidLock(dispatcher)
      }
    
      @Test
      fun maxRequestsZero() {
        assertFailsWith<IllegalArgumentException> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

      private final Runnable listener =
          new Runnable() {
            @Override
            public void run() {
              listenerLatch.countDown();
            }
          };
    
      @BeforeExperiment
      void setUp() throws Exception {
        executorService =
            new ThreadPoolExecutor(
                NUM_THREADS,
                NUM_THREADS,
                Long.MAX_VALUE,
                SECONDS,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

    import jcifs.internal.util.SMBUtil;
    
    class Smb2LockResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private Smb2LockResponse response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            response = new Smb2LockResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Constructor should initialize with Configuration")
        void testConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/PathValidatorTest.java

    /**
     * Test cases for PathValidator
     */
    public class PathValidatorTest {
    
        private PathValidator validator;
        private PathValidator strictValidator;
    
        @BeforeEach
        public void setUp() {
            validator = new PathValidator();
            strictValidator = new PathValidator(260, 255, true, true);
        }
    
        @Test
        public void testValidPath() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/SecureKeyManagerTest.java

    /**
     * Test class for SecureKeyManager
     */
    public class SecureKeyManagerTest {
    
        private SecureKeyManager keyManager;
        private byte[] testKey;
    
        @BeforeEach
        public void setUp() {
            keyManager = new SecureKeyManager();
            testKey = new byte[16];
            new SecureRandom().nextBytes(testKey);
        }
    
        @AfterEach
        public void tearDown() {
            if (keyManager != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

        class TestImplementationTests {
    
            private TestCreateContextRequest testRequest;
            private byte[] testName;
            private byte[] testBuffer;
    
            @BeforeEach
            void setUp() {
                testName = "CREATE_REQUEST_TEST".getBytes(StandardCharsets.UTF_8);
                testRequest = new TestCreateContextRequest(testName);
                testBuffer = new byte[256];
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top