Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for testOf2 (0.09 sec)

  1. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            value = "${\\$}";
            assertEquals(value, ResourceUtil.resolve(value));
    
            System.setProperty("test.dir", "c:\\test1\\test2");
    
            value = "${test.dir}";
            assertEquals("c:\\test1\\test2", ResourceUtil.resolve(value));
    
        }
    
        public void test_getAppType() {
            // Test default empty when no env var is set
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/jcifs/internal/NotifyResponseTest.java

            when(mockNotifyInfo1.getFileName()).thenReturn("test1.txt");
    
            when(mockNotifyInfo2.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_MODIFIED);
            when(mockNotifyInfo2.getFileName()).thenReturn("test2.txt");
        }
    
        @Test
        @DisplayName("Test NotifyResponse interface with empty notification list")
        void testNotifyResponseWithEmptyList() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. 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)
  5. tests/joins_test.go

    package tests_test
    
    import (
    	"fmt"
    	"regexp"
    	"sort"
    	"testing"
    
    	"github.com/stretchr/testify/assert"
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestJoins(t *testing.T) {
    	user := *GetUser("joins-1", Config{Company: true, Manager: true, Account: true, NamedPet: false})
    
    	DB.Create(&user)
    
    	var user2 User
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 15K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/ResourceManagerTest.java

        }
    
        @Test
        @DisplayName("Test resource close tracking")
        void testResourceCloseTracking() throws Exception {
            TestResource resource = new TestResource("test2");
            String resourceId = resourceManager.registerResource(resource);
    
            resource.close();
            resourceManager.markClosed(resourceId);
    
            Map<String, Object> stats = resourceManager.getStatistics();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/DocMapTest.java

            Map<String, Object> value = new LinkedHashMap<>();
            DocMap docMap = new DocMap(value);
            assertTrue(docMap.isEmpty());
            value.clear();
    
            List<String> keys = Arrays.asList("test_2", "test_0", "lang", "test_1");
            value.put(keys.get(0), true);
            value.put(keys.get(1), 1000);
            value.put(keys.get(2), "ja");
            value.put(keys.get(3), "str");
            docMap = new DocMap(value);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

        }
    
        public void test_sizeOf_complexNestedStructures() {
            // Complex nested structure
            Map<String, Object> complexMap = new HashMap<>();
            complexMap.put("strings", Arrays.asList("test1", "test2"));
            complexMap.put("numbers", Arrays.asList(1, 2, 3));
            complexMap.put("nested", Maps.map("inner", "value").$());
            complexMap.put("array", new String[] { "array1", "array2" });
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

                    .build())
            .addEqualityGroup(
                ImmutableSetMultimap.<String, Integer>builder().put("bar", 2).put("foo", 3).build())
            .testEquals();
      }
    
      public void testOf() {
        assertMultimapEquals(ImmutableSetMultimap.of("one", 1), "one", 1);
        assertMultimapEquals(ImmutableSetMultimap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMultimapEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        Matcher matcher = pattern.matcher(expected.getMessage());
        assertThat(matcher.matches()).isTrue();
        assertThat(matcher.group(1)).isNotEqualTo(matcher.group(2));
      }
    
      public void testOf() {
        assertMapEquals(ImmutableMap.of("one", 1), "one", 1);
        assertMapEquals(ImmutableMap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMapEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
Back to top