Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 814 for assertequal (0.09 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

          assertEquals(0, startUpCalled);
          assertEquals(0, shutDownCalled);
          startUpCalled++;
          assertEquals(State.STARTING, state());
        }
    
        @Override
        protected void shutDown() throws Exception {
          assertEquals(1, startUpCalled);
          assertEquals(0, shutDownCalled);
          shutDownCalled++;
          assertEquals(State.STOPPING, state());
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java

            assertEquals("a1", itemList.get(0).getInputs()[0]);
            assertEquals("A1", itemList.get(0).getOutputs()[0]);
            assertFalse(itemList.get(0).isUpdated());
    
            assertEquals(2, itemList.get(1).getInputs().length);
            assertEquals(1, itemList.get(1).getOutputs().length);
            assertEquals("b1", itemList.get(1).getInputs()[0]);
            assertEquals("b2", itemList.get(1).getInputs()[1]);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/StopwatchTest.java

        ticker.advance(2);
        assertEquals(0, stopwatch.elapsed(NANOSECONDS));
        stopwatch.start();
        ticker.advance(3);
        assertEquals(3, stopwatch.elapsed(NANOSECONDS));
      }
    
      public void testReset_whileRunning() {
        ticker.advance(1);
        stopwatch.start();
        assertEquals(0, stopwatch.elapsed(NANOSECONDS));
        ticker.advance(2);
        assertEquals(2, stopwatch.elapsed(NANOSECONDS));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/query/parser/QueryParserTest.java

            assertEquals(TermQuery.class, clauses.get(0).getQuery().getClass());
            assertEquals("_default:fess", clauses.get(0).getQuery().toString());
            assertEquals(Occur.SHOULD, clauses.get(0).getOccur());
            assertEquals(TermQuery.class, clauses.get(1).getQuery().getClass());
            assertEquals("_default:codelibs", clauses.get(1).getQuery().toString());
            assertEquals(Occur.SHOULD, clauses.get(1).getOccur());
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

            ldapManager.init();
    
            assertEquals("_", ldapManager.replaceWithUnderscores("/"));
            assertEquals("_", ldapManager.replaceWithUnderscores("\\"));
            assertEquals("_", ldapManager.replaceWithUnderscores("["));
            assertEquals("_", ldapManager.replaceWithUnderscores("]"));
            assertEquals("_", ldapManager.replaceWithUnderscores(":"));
            assertEquals("_", ldapManager.replaceWithUnderscores(";"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

            assertEquals(2, pd.getMojos().size());
            assertEquals(1, pd.getDependencies().size());
    
            MojoDescriptor md = pd.getMojos().get(0);
    
            assertEquals("jar", md.getGoal());
            assertEquals("mojo-description", md.getDescription());
            assertEquals("runtime", md.getDependencyResolutionRequired());
            assertEquals("test", md.getDependencyCollectionRequired());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        mmHeap.add(3);
        mmHeap.add(2);
        assertEquals(1, (int) mmHeap.peek());
        assertEquals(1, (int) mmHeap.poll());
        assertEquals(3, (int) mmHeap.peekLast());
        assertEquals(2, (int) mmHeap.peek());
        assertEquals(2, (int) mmHeap.poll());
        assertEquals(3, (int) mmHeap.peekLast());
        assertEquals(3, (int) mmHeap.peek());
        assertEquals(3, (int) mmHeap.poll());
        assertNull(mmHeap.peekLast());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

        resetWithHole();
        assertEquals(null, navigableSet.lower(a));
        assertEquals(a, navigableSet.lower(b));
        assertEquals(a, navigableSet.lower(c));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFloorHole() {
        resetWithHole();
        assertEquals(a, navigableSet.floor(a));
        assertEquals(a, navigableSet.floor(b));
        assertEquals(c, navigableSet.floor(c));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

            assertEquals("\"aaa bbb\"", getAsQuery(Collections.singletonMap(k, new String[] { "aaa bbb" })));
            assertEquals("\"aaa bbb\" \"ccc\"", getAsQuery(Collections.singletonMap(k, new String[] { "aaa bbb", "ccc" })));
            assertEquals("\"a\\\"aa\"", getAsQuery(Collections.singletonMap(k, new String[] { "a\"aa" })));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            roleSet = buildByParameter(roleQueryHelperImpl, getMockRequest());
            assertEquals(0, roleSet.size());
    
            roleQueryHelperImpl.parameterKey = "fess1";
    
            getMockRequest().setParameter("aaa", "bbb");
            roleSet = buildByParameter(roleQueryHelperImpl, getMockRequest());
            assertEquals(0, roleSet.size());
    
            roleQueryHelperImpl.encryptedParameterValue = false;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top