Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1051 - 1060 of 3,933 for avoid (0.02 sec)

  1. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

        private ScriptEngine scriptEngine;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            // Create a test implementation of ScriptEngine
            scriptEngine = new TestScriptEngine();
        }
    
        // Test evaluate method with valid template and parameters
        public void test_evaluate_withValidTemplateAndParams() {
            String template = "Hello ${name}";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharSourceTest.java

      private static final ImmutableList<String> SPLIT_LINES =
          ImmutableList.of("foo", "bar", "baz", "something");
    
      private TestCharSource source;
    
      @Override
      public void setUp() {
        source = new TestCharSource(STRING);
      }
    
      public void testOpenBufferedStream() throws IOException {
        BufferedReader reader = source.openBufferedStream();
        assertTrue(source.wasStreamOpened());
        assertFalse(source.wasStreamClosed());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

        @Test
        @DisplayName("Constructor with null file ID should accept null")
        void testConstructorWithNullFileId() {
            // Should not throw exception
            Smb2FlushRequest requestWithNull = new Smb2FlushRequest(mockConfig, null);
            assertNotNull(requestWithNull);
        }
    
        @Test
        @DisplayName("setFileId should update file ID")
        void testSetFileId() throws Exception {
            byte[] newFileId = new byte[16];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/EmptyIteratorTest.java

    @DisplayName("EmptyIterator Tests")
    class EmptyIteratorTest extends BaseTest {
    
        private EmptyIterator emptyIterator;
    
        @BeforeEach
        void setUp() {
            emptyIterator = new EmptyIterator();
        }
    
        @Test
        @DisplayName("EmptyIterator should implement CloseableIterator interface")
        void testInterfaceImplementation() {
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/UniAddressTest.java

        @Test
        void constructorAcceptsNonNullObject() {
            // Arrange : create a dummy address
            InetAddress dummy = mock(InetAddress.class);
            // Act
            UniAddress ua = new UniAddress(dummy);
            // Assert
            assertSame(dummy, ua.getAddress(), "constructor should store the supplied address");
        }
    
        @Test
        void constructorRejectsNull() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

        @BeforeEach
        public void setUp() throws CIFSException {
            MockitoAnnotations.initMocks(this);
            config = new PropertyConfiguration(new Properties());
        }
    
        /**
         * Test constructor initialization with valid configuration
         */
        @Test
        @DisplayName("Test constructor initializes with correct command")
        public void testConstructorWithValidConfig() {
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

        }
    
        public void test_constructor_withNullCause() {
            // Test constructor with null cause
            final JobProcessingException exception = new JobProcessingException((Throwable) null);
    
            assertNotNull(exception);
            assertNull(exception.getCause());
            assertNull(exception.getMessage());
        }
    
        public void test_constructor_withNullMessageAndCause() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

      }
    
      // Unconditional setCount no-ops.
    
      private void assertZeroToZero() {
        assertSetCount(e3(), 0);
      }
    
      private void assertOneToOne() {
        assertSetCount(e0(), 1);
      }
    
      private void assertThreeToThree() {
        initThreeCopies();
        assertSetCount(e0(), 3);
      }
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testSetCount_zeroToZero_addSupported() {
        assertZeroToZero();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

              }
            });
      }
    
      public void testVoidMethodForwarding() {
        tester.testForwarding(
            Runnable.class,
            new Function<Runnable, Runnable>() {
              @Override
              public Runnable apply(Runnable runnable) {
                return new ForwardingRunnable(runnable);
              }
            });
      }
    
      public void testToStringForwarding() {
        tester.testForwarding(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

        public ProcessHelper processHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            processHelper = new ProcessHelper();
        }
    
        @Override
        public void tearDown() throws Exception {
            // Clean up any running processes
            processHelper.destroy();
            super.tearDown();
        }
    
        public void test_isProcessRunning_empty() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top