Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 4,468 for void (0.02 sec)

  1. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

     */
    public class ContentCacheTest {
    
        private File tempFile;
    
        @After
        public void tearDown() {
            if (tempFile != null && tempFile.exists()) {
                tempFile.delete();
            }
        }
    
        @Test
        public void testMemoryBasedCacheConstructor() {
            byte[] data = "Hello, World!".getBytes();
            ContentCache cache = new ContentCache(data);
    
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

        private final long serverTimeZoneOffset = 3600000; // 1 hour in milliseconds
    
        @BeforeEach
        public void setUp() {
            response = new SmbComQueryInformationResponse(serverTimeZoneOffset);
        }
    
        /**
         * Test of constructor, of class SmbComQueryInformationResponse.
         */
        @Test
        public void testConstructor() {
            // The constructor sets the command and serverTimeZoneOffset.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

     */
    public class SimpleCircuitBreakerTest {
    
        private SimpleCircuitBreaker circuitBreaker;
    
        @BeforeEach
        void setUp() {
            circuitBreaker = new SimpleCircuitBreaker("test", 3, 2, 100);
        }
    
        @Test
        @DisplayName("Test initial state is CLOSED")
        void testInitialState() {
            assertEquals(SimpleCircuitBreaker.State.CLOSED, circuitBreaker.getState());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java

    public class NumberConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testConvertNumber_byte() throws Exception {
            assertEquals(Byte.valueOf("1"), NumberConversionUtil.convertNumber(Byte.class, "1"));
        }
    
        /**
         * @throws Exception
         */
        public void testConvertNumber_primitiveWrapper() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

        void testConstructorWithNullFileId() {
            // Should not throw exception
            Smb2CloseRequest requestWithNull = new Smb2CloseRequest(mockConfig, null, testFileName);
            assertNotNull(requestWithNull);
        }
    
        @Test
        @DisplayName("Constructor with null fileName should accept null")
        void testConstructorWithNullFileName() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/SmbNegotiationTest.java

        @Mock
        private SmbNegotiationResponse mockResponse;
    
        private byte[] testRequestBuffer;
        private byte[] testResponseBuffer;
        private SmbNegotiation negotiation;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            testRequestBuffer = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            testResponseBuffer = new byte[] { 0x05, 0x06, 0x07, 0x08 };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        Callable<@Nullable Void> cancelRunnable =
            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() {
                cancellationSuccess.set(currentFuture.get().cancel(true));
                awaitUnchecked(barrier);
                return null;
              }
            };
        Callable<@Nullable Void> setFutureCompleteSuccessfullyRunnable =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/SmbNegotiationRequestTest.java

        private SmbNegotiationRequest customImplementation;
    
        @BeforeEach
        void setUp() {
            // Create a custom implementation for additional testing
            customImplementation = new TestSmbNegotiationRequest(false);
        }
    
        @Test
        @DisplayName("Test isSigningEnforced returns true when signing is enforced")
        void testIsSigningEnforcedReturnsTrue() {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                }
            }
    
            private void visit(PluginManagement pluginManagement) {
                if (pluginManagement != null) {
                    for (Plugin plugin : pluginManagement.getPlugins()) {
                        visit(plugin);
                    }
                }
            }
    
            private void visit(Build build) {
                if (build != null) {
                    String org, val;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 43.1K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        }
    
        public void setPackaging(String packaging) {
            getModel().setPackaging(packaging);
        }
    
        public void setInceptionYear(String inceptionYear) {
            getModel().setInceptionYear(inceptionYear);
        }
    
        public String getInceptionYear() {
            return getModel().getInceptionYear();
        }
    
        public void setUrl(String url) {
            getModel().setUrl(url);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (0)
Back to top