Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 814 for assertequal (0.14 sec)

  1. guava-tests/test/com/google/common/net/InetAddressesTest.java

            if (isNumeric) {
              assertEquals(Integer.parseInt(scopeId), parsed.getScopeId());
            } else {
              assertEquals(scopeId, parsed.getScopedInterface().getName());
            }
            Inet6Address reparsed =
                (Inet6Address) InetAddresses.forString(InetAddresses.toAddrString(parsed));
            assertEquals(reparsed, parsed);
            assertEquals(reparsed.getScopeId(), parsed.getScopeId());
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(216, webSafeColors.size());
        Integer[] webSafeColorArray = webSafeColors.toArray(new Integer[webSafeColors.size()]);
        assertEquals(0x000000, (int) webSafeColorArray[0]);
        assertEquals(0x000033, (int) webSafeColorArray[1]);
        assertEquals(0x000066, (int) webSafeColorArray[2]);
        assertEquals(0x003300, (int) webSafeColorArray[6]);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/CertificatesJavaTest.java

     * limitations under the License.
     */
    package okhttp3.tls;
    
    import java.security.cert.X509Certificate;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    public class CertificatesJavaTest {
      @Test
      public void testRoundtrip() {
        String certificateString = ""
          + "-----BEGIN CERTIFICATE-----\n"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Nov 20 02:23:18 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        eventBus.post(EVENT);
    
        assertEquals("Cause should be available.", exception, handler.exception);
        assertEquals("EventBus should be available.", eventBus, handler.context.getEventBus());
        assertEquals("Event should be available.", EVENT, handler.context.getEvent());
        assertEquals("Subscriber should be available.", subscriber, handler.context.getSubscriber());
        assertEquals(
            "Method should be available.",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

            activityHelper.login(OptionalThing.empty());
            assertEquals("action:LOGIN\tuser:-\tpermissions:-", localLogMsg.get());
    
            activityHelper.login(createUser("testuser", new String[0]));
            assertEquals("action:LOGIN\tuser:testuser\tpermissions:-", localLogMsg.get());
    
            activityHelper.login(createUser("testuser", new String[] { "111", "222" }));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/sso/aad/AzureAdAuthenticatorTest.java

            assertEquals(1, list.size());
            assertEquals("test", list.get(0));
    
            list.clear();
            authenticator.addGroupOrRoleName(list, "test", false);
            assertEquals(1, list.size());
            assertEquals("test", list.get(0));
    
            list.clear();
            authenticator.addGroupOrRoleName(list, "******@****.***", true);
            assertEquals(2, list.size());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(Object.class, TypeToken.of(Object[].class).getComponentType().getType());
        assertEquals(Object[].class, TypeToken.of(Object[][].class).getComponentType().getType());
        assertEquals(char.class, TypeToken.of(char[].class).getComponentType().getType());
        assertEquals(char[].class, TypeToken.of(char[][].class).getComponentType().getType());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

            QueryContext queryContext = assertQueryBuilder(null, null, text);
            List<SortBuilder<?>> sortBuilders = queryContext.sortBuilders();
            assertEquals(1, sortBuilders.size());
            logger.info("{} => {}", text, sortBuilders.get(0).toString());
            assertEquals(expect, sortBuilders.get(0).toString().replaceAll("[\s\n]", ""));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            assertNotNull(result.getEffectiveToolchains());
            assertEquals(1, result.getEffectiveToolchains().getToolchains().size());
            assertEquals(
                    "TYPE", result.getEffectiveToolchains().getToolchains().get(0).getType());
            assertEquals(
                    "user_value",
                    result.getEffectiveToolchains()
                            .getToolchains()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertNull(map.putInstance(int.class, 0));
        assertNull(map.putInstance(Integer.class, 1));
        assertEquals(2, map.size());
    
        assertEquals(0, (int) map.getInstance(int.class));
        assertEquals(1, (int) map.getInstance(Integer.class));
    
        assertEquals(0, (int) map.putInstance(int.class, null));
        assertEquals(1, (int) map.putInstance(Integer.class, null));
    
        assertNull(map.getInstance(int.class));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top