Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 825 for assertequal (0.06 sec)

  1. src/test/java/org/codelibs/fess/query/QueryCommandTest.java

        }
    
        private void assertQueryBuilder(String field, String value, Class<?> clazz) {
            QueryBuilder queryBuilder = queryCommand.buildMatchPhraseQuery(field, value);
            assertEquals(clazz, queryBuilder.getClass());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/TestLogHandler.java

     *         SomeClass.logger.removeHandler(handler);
     *       }
     *     });
     *   }
     *
     *   public void test() {
     *     SomeClass.foo();
     *     LogRecord firstRecord = handler.getStoredLogRecords().get(0);
     *     assertEquals("some message", firstRecord.getMessage());
     *   }
     * </pre>
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class TestLogHandler extends Handler {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 20:53:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/CollectionSizeTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionSizeTester<E> extends AbstractCollectionTester<E> {
      public void testSize() {
        assertEquals("size():", getNumElements(), collection.size());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/escape/CharEscaperBuilderTest.java

      public void testAddEscapes() {
        char[] cs = {'a', 'b', 'c'};
        CharEscaperBuilder builder = new CharEscaperBuilder().addEscapes(cs, "Z");
        Escaper escaper = builder.toEscaper();
        assertEquals("ZZZdef", escaper.escape("abcdef"));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 975 bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/PACTest.java

                KerberosEncData ed = tok.getTicket().getEncData();
                Assert.assertEquals(1, ed.getUserAuthorizations().size());
    
                KerberosPacAuthData pacData = (KerberosPacAuthData) ed.getUserAuthorizations().get(0);
                Pac pac = pacData.getPac();
                PacLogonInfo li = pac.getLogonInfo();
                Assert.assertEquals("test1", li.getUserName());
            } finally {
                Files.deleteIfExists(p);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

              @Override
              protected void finalize() {
                latch.countDown();
              }
            };
        unused = null; // Hint to the JIT that unused is unreachable
        GcFinalization.await(latch);
        assertEquals(0, latch.getCount());
      }
    
      public void testAwaitDone_future() {
        final SettableFuture<@Nullable Void> future = SettableFuture.create();
        Object unused =
            new Object() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/NamingTest.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.tests;
    
    
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertTrue;
    
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.UnknownHostException;
    import java.nio.ByteBuffer;
    import java.nio.charset.Charset;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 06 10:48:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

        setCountCheckReturnValue(element, count);
    
        assertEquals(
            "multiset.count() should return the value passed to setCount()",
            count,
            getMultiset().count(element));
    
        int size = 0;
        for (Multiset.Entry<E> entry : getMultiset().entrySet()) {
          size += entry.getCount();
        }
        assertEquals(
            "multiset.size() should be the sum of the counts of all entries",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

              }
            };
        Future<Integer> future =
            TestingExecutors.sameThreadScheduledExecutor().schedule(task, 10000, MILLISECONDS);
        assertTrue("Should run callable immediately", taskDone);
        assertEquals(6, (int) future.get());
      }
    
      public void testSameThreadScheduledExecutorWithException() throws InterruptedException {
        Runnable runnable =
            new Runnable() {
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

        new EqualsTester()
            .addEqualityGroup(multimap())
            .addEqualityGroup(getSubjectGenerator().create())
            .testEquals();
      }
    
      public void testHashCodeMatchesAsMap() {
        assertEquals(multimap().asMap().hashCode(), multimap().hashCode());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top