Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 3,060 for SHOULD (0.07 sec)

  1. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                            timings.add(endTime - startTime);
                            assertFalse(result, "Passwords should not be equal");
                        }
                    });
                }
    
                executor.shutdown();
                assertTrue(executor.awaitTermination(30, TimeUnit.SECONDS), "All threads should complete within timeout");
    
                // Analyze timing consistency across threads
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

                  case 0:
                    return 0;
                  case 1:
                    return 1;
                  case 2:
                    return endOfData();
                  default:
                    throw new AssertionError("Should not have been invoked again");
                }
              }
            };
    
        assertTrue(iter.hasNext());
        assertEquals(0, (int) iter.next());
    
        // verify idempotence of hasNext()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

                fail("All expected public methods should exist: " + e.getMessage());
            }
        }
    
        public void test_utilityClass_pattern() {
            // Verify utility class design pattern compliance
    
            // 1. Class should be final
            assertTrue("Class should be final", java.lang.reflect.Modifier.isFinal(KuromojiCSVUtil.class.getModifiers()));
    
            // 2. Should have exactly one private constructor
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

      public void testPutIfAbsent_supportedAbsent() {
        assertNull("putIfAbsent(notPresent, value) should return null", putIfAbsent(e3()));
        expectAdded(e3());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_supportedPresent() {
        assertEquals(
            "putIfAbsent(present, value) should return existing value",
            v0(),
            getMap().putIfAbsent(k0(), v3()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java

            Object notAShareInfo = new Object();
    
            assertTrue(instance1.equals(instance2)); // Should be equal based on netName
            assertFalse(instance1.equals(instance3)); // Should not be equal
            assertFalse(instance1.equals(notAShareInfo)); // Should not be equal to other types
            assertFalse(instance1.equals(null)); // Should not be equal to null
        }
    
        /**
         * Test of hashCode method, of class SmbShareInfo.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            // First call (odd) should succeed
            String result1 = aggregateLogJob.execute();
            assertEquals("", result1);
    
            // Second call (even) should fail
            String result2 = aggregateLogJob.execute();
            assertTrue(result2.contains("Even call error"));
    
            // Third call (odd) should succeed
            String result3 = aggregateLogJob.execute();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

            protocolHelper.addWebProtocol("http");
            assertEquals(2, protocolHelper.getWebProtocols().length); // Should not increase
    
            protocolHelper.addWebProtocol("https");
            assertEquals(2, protocolHelper.getWebProtocols().length); // Should not increase
        }
    
        public void test_addFileProtocol_newProtocol() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  8. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java

         * <p>
         * This method is called by Maven during initialization to collect all custom enum values
         * that should be registered. The returned collection should contain all the enum values
         * that this provider wants to contribute.
         * <p>
         * The values returned by this method should be created using the appropriate factory methods
         * for the specific enum type, such as {@code language()}, {@code projectScope()}, or
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.util;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  10. tests/query_test.go

    	if result.ID != 0 {
    		t.Errorf("Should not have ID because only selected name, %+v", result.ID)
    	}
    
    	if user.Name != result.Name {
    		t.Errorf("Should have user Name when selected it")
    	}
    
    	var result2 User
    	DB.Where("name = ?", user.Name).Select("name as name").Find(&result2)
    	if result2.ID != 0 {
    		t.Errorf("Should not have ID because only selected name, %+v", result2.ID)
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
Back to top