Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 811 - 820 of 1,147 for SetUp (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/io/CloserTest.java

    /**
     * Tests for {@link Closer}.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CloserTest extends TestCase {
    
      private TestSuppressor suppressor;
    
      @Override
      protected void setUp() throws Exception {
        suppressor = new TestSuppressor();
      }
    
      public void testNoExceptionsThrown() throws IOException {
        Closer closer = new Closer(suppressor);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

         */
        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        ArrayMap<String, String> map;
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            map = new ArrayMap<String, String>();
            map.put(null, null);
            map.put("1", "test");
            map.put("2", "test2");
        }
    
        /**
         * @throws Exception
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/util/transport/Transport.java

                return;
            } finally {
                synchronized (run_thread) {
                    if (run_thread != thread) {
                        /* Thread no longer the one setup for this transport --
                         * doConnect returned too late, just ignore.
                         */
                        if ((ex0 != null) && (LogStream.level >= 2)) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  4. internal/config/errors.go

    package config
    
    // UI errors
    var (
    	ErrInvalidXLValue = newErrFn(
    		"Invalid drive path",
    		"Please provide a fresh drive for single drive MinIO setup",
    		"MinIO only supports fresh drive paths",
    	)
    
    	ErrInvalidBrowserValue = newErrFn(
    		"Invalid console value",
    		"Please check the passed value",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

      private static final String KEY = "puppies";
    
      ConcurrentMap<String, AtomicInteger> backingMap;
      ConcurrentHashMultiset<String> multiset;
    
      @SuppressWarnings("unchecked")
      @Override
      protected void setUp() {
        backingMap = mock(ConcurrentMap.class);
        when(backingMap.isEmpty()).thenReturn(true);
    
        multiset = ConcurrentHashMultiset.create(backingMap);
      }
    
      public void testCount_elementPresent() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/io/ByteSourceTest.java

        }
        suite.addTestSuite(ByteSourceTest.class);
        return suite;
      }
    
      private static final byte[] bytes = newPreFilledByteArray(10000);
    
      private TestByteSource source;
    
      @Override
      protected void setUp() throws Exception {
        source = new TestByteSource(bytes);
      }
    
      public void testOpenBufferedStream() throws IOException {
        InputStream in = source.openBufferedStream();
        assertTrue(source.wasStreamOpened());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

     */
    @DisplayName("Smb2TreeConnectResponse Tests")
    class Smb2TreeConnectResponseTest extends BaseTest {
    
        private Configuration mockConfig;
        private Smb2TreeConnectResponse response;
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            response = new Smb2TreeConnectResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Should create response with configuration")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

        private static final int SACL_SECURITY_INFORMATION = 0x00000008;
        private static final int ALL_SECURITY_INFORMATION = 0x0000000F;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.getTransactionBufferSize()).thenReturn(65535);
        }
    
        @Test
        @DisplayName("Test constructor initialization with basic parameters")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

        @Mock
        private Smb2SigningDigest mockDigest;
    
        @Mock
        private ServerMessageBlock2Response mockResponse;
    
        private TestServerMessageBlock2Request testRequest;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            testRequest = new TestServerMessageBlock2Request(mockConfig);
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

    import org.junit.Before;
    import org.junit.Test;
    
    public class ReadingConverterTest {
    
        private ReadingConverter converter;
        private TestReadingConverter testConverter;
    
        @Before
        public void setUp() {
            testConverter = new TestReadingConverter();
            converter = testConverter;
        }
    
        @Test
        public void testGetMaxReadingNum() {
            // Test default max reading num
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
Back to Top