Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1001 - 1010 of 5,228 for avoid (0.03 seconds)

  1. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

    public class CacheBuilderTest extends TestCase {
    
      public void testNewBuilder() {
        CacheLoader<Object, Integer> loader = constantLoader(1);
    
        LoadingCache<String, Integer> cache =
            CacheBuilder.newBuilder().removalListener(countingRemovalListener()).build(loader);
    
        assertThat(cache.getUnchecked("one")).isEqualTo(1);
        assertThat(cache.size()).isEqualTo(1);
      }
    
      public void testInitialCapacity_negative() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

        @Mock
        private SrvCopychunk mockChunk;
    
        @BeforeEach
        void setUp() {
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create instance with source key and single chunk")
            void testConstructorWithSingleChunk() {
                // Given
                byte[] sourceKey = new byte[SOURCE_KEY_SIZE];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

    class NodeStatusRequestTest {
    
        @Mock
        private Configuration mockConfig;
    
        @Mock
        private Name mockName;
    
        private NodeStatusRequest nodeStatusRequest;
    
        @BeforeEach
        void setUp() {
            // Setup default mock behavior
            lenient().when(mockConfig.getNetbiosScope()).thenReturn("DEFAULT.SCOPE");
            lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
    
    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)
  4. src/test/java/jcifs/netbios/NbtAddressTest.java

        private int testAddressInt = 0xC0A80101; // 192.168.1.1
        private byte[] testMacAddress = new byte[] { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55 };
    
        @BeforeEach
        void setUp() {
            // Setup will be done per test as needed
        }
    
        @Test
        void testConstructorWithMinimalParameters() throws UnknownHostException {
            // Test the constructor with minimal parameters
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            mockContext = mock(CIFSContext.class);
            when(mockContext.getConfig()).thenReturn(mockConfig);
            request = new Smb2TreeConnectRequest(mockConfig, TEST_PATH);
        }
    
        @Test
        @DisplayName("Should create request with correct command type and path")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

        private byte[] buffer;
    
        @BeforeEach
        void setUp() {
            buffer = new byte[BUFFER_SIZE];
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create instance with Configuration, hash algorithms and salt")
            void testConstructorWithConfigHashAlgosAndSalt() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 34K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/app/service/FessAppServiceTest.java

        private TestFessAppService service;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            service = new TestFessAppService();
        }
    
        @Test
        public void test_wrapQuery_withoutWildcards() {
            assertEquals("*test*", service.callWrapQuery("test"));
        }
    
        @Test
        public void test_wrapQuery_withLeadingWildcard() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Execution.java

         */
        public void removeGoal(String string) {
            getGoals().remove(string);
        } // -- void removeGoal( String )
    
        /**
         * Set configuration to pass to the goals.
         *
         * @param configuration a configuration object.
         */
        public void setConfiguration(Object configuration) {
            this.configuration = configuration;
        } // -- void setConfiguration( Object )
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/pac/PacDataInputStreamTest.java

        }
    
        @Test
        public void testAvailable() throws IOException {
            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            PacDataInputStream pdis = createInputStream(data);
            assertEquals(4, pdis.available());
            pdis.readByte();
            assertEquals(3, pdis.available());
        }
    
        @Test
        public void testReadFully() throws IOException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/https/HandlerTest.java

    class HandlerTest {
    
        private Handler handler;
    
        @BeforeEach
        void setUp() {
            handler = new Handler();
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create handler with default constructor")
            void testDefaultConstructor() {
                // When
                Handler testHandler = new Handler();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
Back to Top