- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for testOf1 (0.63 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.5K 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 Sep 05 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/ImmutableIntArrayTest.java
public void testOf0() { assertThat(ImmutableIntArray.of().asList()).isEmpty(); } public void testOf1() { assertThat(ImmutableIntArray.of(0).asList()).containsExactly(0); } public void testOf2() { assertThat(ImmutableIntArray.of(0, 1).asList()).containsExactly(0, 1).inOrder(); } public void testOf3() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.2K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
// Setup mock notify information when(mockNotifyInfo1.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_ADDED); when(mockNotifyInfo1.getFileName()).thenReturn("test1.txt"); when(mockNotifyInfo2.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_MODIFIED); when(mockNotifyInfo2.getFileName()).thenReturn("test2.txt"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
// Add first document - should trigger indexing because cache size is 1 Map<String, Object> dataMap1 = new HashMap<>(); dataMap1.put("url", "http://example.com/test1"); indexUpdateCallback.store(paramMap, dataMap1); assertEquals(1, indexingHelper.sendDocumentsCalled); // Add second document - should trigger indexing again
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
void testDecodeBytesConsumed() throws SMBProtocolDecodingException { // Prepare test data String filename = "testfile.txt"; byte[] buffer = createValidBuffer(filename, "TESTFI~1.TXT", true); // Decode and check return value int bytesConsumed = fileBothDirectoryInfo.decode(buffer, 0, buffer.length); // Verify bytes consumed matches the actual data size
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0)