- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for testOf1 (0.04 sec)
-
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
public void testOf0() { assertThat(ImmutableLongArray.of().asList()).isEmpty(); } public void testOf1() { assertThat(ImmutableLongArray.of(0).asList()).containsExactly(0L); } public void testOf2() { assertThat(ImmutableLongArray.of(0, 1).asList()).containsExactly(0L, 1L).inOrder(); } public void testOf3() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 20.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
public void testOf0() { assertThat(ImmutableDoubleArray.of().asList()).isEmpty(); } public void testOf1() { assertThat(ImmutableDoubleArray.of(0).asList()).containsExactly(0.0); } public void testOf2() { assertThat(ImmutableDoubleArray.of(0, 1).asList()).containsExactly(0.0, 1.0).inOrder(); } public void testOf3() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
public void testOf0() { assertThat(ImmutableLongArray.of().asList()).isEmpty(); } public void testOf1() { assertThat(ImmutableLongArray.of(0).asList()).containsExactly(0L); } public void testOf2() { assertThat(ImmutableLongArray.of(0, 1).asList()).containsExactly(0L, 1L).inOrder(); } public void testOf3() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
private Dfs dfs; private TestDfs testDfs; private MockedStatic<LogStream> logStreamMockedStatic; private MockedStatic<UniAddress> uniAddressMockedStatic; private MockedStatic<SmbTransport> smbTransportMockedStatic; private MockedStatic<Config> configMockedStatic; // Test subclass to control DISABLED flag private static class TestDfs extends Dfs { private boolean disabled;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java
value = "ftp://123.123.123.123:21/test1/test.txt"; ftpInfo = new FtpClient.FtpInfo(value, Constants.UTF_8); assertEquals("ftp://123.123.123.123/test1/test.txt", ftpInfo.toUrl()); assertEquals("123.123.123.123:21", ftpInfo.getCacheKey()); assertEquals("123.123.123.123", ftpInfo.getHost()); assertEquals(21, ftpInfo.getPort()); assertEquals("/test1", ftpInfo.getParent());Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 21.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java
assertNotNull(readings); assertEquals(3, readings.size()); assertEquals("TEST_en", readings.get(0)); assertEquals("TEST_ja", readings.get(1)); assertEquals("TEST_fr", readings.get(2)); } @Test public void testConvertWithNoLanguages() throws IOException { // Test convert with no languages specified converter.init(); String text = "test";Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
SmbTreeImpl tree3 = new SmbTreeImpl(session, "COMM", "COMM"); assertEquals(SmbConstants.TYPE_COMM, tree3.getTreeType()); } // Test case for DFS related methods @Test void testDfs() throws SmbException { SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:"); assertFalse(tree.isDfs()); assertFalse(tree.isInDomainDfs()); tree.markDomainDfs();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/OptionalTest.java
} public void testAbsent() { Optional<String> optionalName = Optional.absent(); assertFalse(optionalName.isPresent()); } public void testOf() { assertEquals("training", Optional.of("training").get()); } public void testOf_null() { assertThrows(NullPointerException.class, () -> Optional.of(null)); } public void testFromNullable() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
return name; } } @Test @DisplayName("Test resource registration and tracking") void testResourceRegistration() { TestResource resource = new TestResource("test1"); String resourceId = resourceManager.registerResource(resource); assertNotNull(resourceId); assertTrue(resourceId.contains("TestResource"));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java
assertTrue(responseData.getUrl().endsWith("test/text1.txt")); final String content = new String(InputStreamUtil.getBytes(responseData.getResponseBody()), "UTF-8"); assertEquals("test1", content.trim()); } public void test_doGet_file_with_space() throws Exception { final File file = ResourceUtil.getResourceAsFile("test/text 3.txt"); String path = file.getAbsolutePath();
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:59:28 UTC 2025 - 11.2K bytes - Viewed (0)