Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 4,230 for new1 (0.02 sec)

  1. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            FileUtil.writeBytes(propertiesFile.getAbsolutePath(), new byte[0]);
            propertiesFile.deleteOnExit();
            DynamicProperties systemProps = new DynamicProperties(propertiesFile);
            ComponentUtil.register(systemProps, "systemProperties");
            userAgentHelper = new UserAgentHelper();
            ComponentUtil.register(userAgentHelper, "userAgentHelper");
            pathMappingHelper = new PathMappingHelper();
            pathMappingHelper.init();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            problem = new DefaultProblem(null, null, null, -1, Integer.MIN_VALUE, null);
            assertEquals(Integer.MIN_VALUE, problem.getColumnNumber());
        }
    
        @Test
        void testGetException() {
            DefaultProblem problem = new DefaultProblem(null, null, null, -1, -1, null);
            assertNull(problem.getException());
    
            Exception e = new Exception();
            problem = new DefaultProblem(null, null, null, -1, -1, e);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        testRotate(new double[] {1, 2}, -3, new double[] {2, 1});
        testRotate(new double[] {1, 2}, -1, new double[] {2, 1});
        testRotate(new double[] {1, 2}, -2, new double[] {1, 2});
        testRotate(new double[] {1, 2}, 0, new double[] {1, 2});
        testRotate(new double[] {1, 2}, 1, new double[] {2, 1});
        testRotate(new double[] {1, 2}, 2, new double[] {1, 2});
        testRotate(new double[] {1, 2}, 3, new double[] {2, 1});
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/BufferCacheTest.java

            assertDoesNotThrow(() -> {
                cache.getBuffer();
                cache.releaseBuffer(new byte[1024]);
            }, "All BufferCache interface methods should be callable");
        }
    
        @Test
        @DisplayName("getBuffer should return non-null byte array")
        void testGetBufferContract() {
            // Given
            byte[] expectedBuffer = new byte[1024];
            when(mockBufferCache.getBuffer()).thenReturn(expectedBuffer);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/InfoTest.java

        }
    
        @Test
        void testTrans2QueryPathUnsupportedLevel() throws Exception {
            Trans2QueryPathInformationResponse trans = new Trans2QueryPathInformationResponse(9999) {
            };
            assertEquals(0, trans.readDataWireFormat(new byte[10], 0, 10));
            java.lang.reflect.Field infoField = Trans2QueryPathInformationResponse.class.getDeclaredField("info");
            infoField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

            // Test multiple instantiations with different constructors
            SearchQueryException exception1 = new SearchQueryException("Exception 1");
            SearchQueryException exception2 = new SearchQueryException("Exception 2", new Exception("Cause 2"));
            SearchQueryException exception3 = new SearchQueryException(new Exception("Cause 3"));
    
            assertNotSame(exception1, exception2);
            assertNotSame(exception2, exception3);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // Given
            SecureKeyManager keyManager = new SecureKeyManager();
            byte[] encKey = new byte[16];
            byte[] decKey = new byte[16];
            new SecureRandom().nextBytes(encKey);
            new SecureRandom().nextBytes(decKey);
    
            Smb2EncryptionContext context =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java

        @Override
        public Set<K> keySet() {
          return new StandardKeySet();
        }
    
        @Override
        public Collection<V> values() {
          return new StandardValues();
        }
    
        @Override
        public String toString() {
          return standardToString();
        }
    
        @Override
        public Set<Entry<K, V>> entrySet() {
          return new StandardEntrySet() {
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

        void setUp() throws UnknownHostException {
            failover = new ChannelFailover(mockChannelManager);
    
            InetAddress addr = InetAddress.getByName("192.168.1.100");
            NetworkInterfaceInfo localInterface = new NetworkInterfaceInfo(addr, 1000);
            NetworkInterfaceInfo remoteInterface = new NetworkInterfaceInfo(addr, 1000);
    
            failedChannel = new ChannelInfo("failed-channel", mockTransport, localInterface, remoteInterface);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/ThrowablesTest.java

        SomeCheckedException cause = new SomeCheckedException();
        SomeChainingException exception = new SomeChainingException(new SomeChainingException(cause));
        assertSame(cause, getRootCause(exception));
      }
    
      public void testGetRootCause_loop() {
        Exception cause = new Exception();
        Exception exception = new Exception(cause);
        cause.initCause(exception);
        IllegalArgumentException expected =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top