Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 21 for longname (0.07 seconds)

  1. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

            // Test with a very long component name
            String longName = "com.example.very.long.package.name.with.many.nested.levels.MyVeryLongComponentNameThatExceedsNormalLength";
            ContainerNotAvailableException exception = new ContainerNotAvailableException(longName, null);
    
            assertEquals(longName + " is not available.", exception.getMessage());
            assertEquals(longName, exception.getComponentName());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

            String[] values = { longValue };
            RequestParameter param = new RequestParameter(longName, values);
    
            assertEquals(longName, param.getName());
            assertNotNull(param.getValues());
            assertEquals(1, param.getValues().length);
            assertEquals(longValue, param.getValues()[0]);
        }
    
        @Test
        public void test_getName() {
            // Test getName method explicitly
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  3. src/archive/tar/strconv_test.go

    	medName := strings.Repeat("CD", 50)
    	longName := strings.Repeat("AB", 100)
    
    	vectors := []struct {
    		in      string
    		wantRes string
    		wantKey string
    		wantVal string
    		ok      bool
    	}{
    		{"6 k=v\n\n", "\n", "k", "v", true},
    		{"19 path=/etc/hosts\n", "", "path", "/etc/hosts", true},
    		{"210 path=" + longName + "\nabc", "abc", "path", longName, true},
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Sep 11 17:52:43 GMT 2025
    - 15K bytes
    - Click Count (0)
  4. src/archive/tar/writer_test.go

    				Typeflag: TypeReg,
    				Name:     strings.Repeat("longname/", 15) + "16gig.txt",
    				Size:     16 << 30,
    				Mode:     0644,
    				Uid:      1000,
    				Gid:      1000,
    				Uname:    "guillaume",
    				Gname:    "guillaume",
    				ModTime:  time.Unix(1399583047, 0),
    			}, nil},
    		},
    	}, {
    		// This file was produced using GNU tar v1.17.
    		//	gnutar -b 4 --format=ustar (longname/)*15 + file.txt
    		file: "testdata/ustar.tar",
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 40.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

        public void test_provide_withLongClassificationName() {
            // Test with very long classification name
            StringBuilder longName = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                longName.append("VeryLongClassificationName");
            }
            assertProvideThrowsException(longName.toString());
        }
    
        @Test
        public void test_provide_withUnicodeCharacters() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            // Prepare test data with long filename (255 characters)
            StringBuilder longName = new StringBuilder();
            for (int i = 0; i < 255; i++) {
                longName.append((char) ('a' + (i % 26)));
            }
            String expectedFilename = longName.toString();
            byte[] buffer = createValidBuffer(expectedFilename, "LONGNA~1.TXT", true);
    
            // Decode
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            int offset = 0;
    
            setHeaderStart(response, 64);
    
            // Create a long filename
            StringBuilder longName = new StringBuilder();
            for (int i = 0; i < 100; i++) {
                longName.append("test");
            }
            String fileName = longName.toString();
            byte[] fileNameBytes = fileName.getBytes("UnicodeLittleUnmarked");
    
            // Write structure header
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

        @Test
        @DisplayName("Test with very long filename")
        void testWithVeryLongFilename() {
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 100; i++) {
                sb.append("longname");
            }
            String longFileName = sb.toString() + ".txt";
    
            FileRenameInformation2 info = new FileRenameInformation2(longFileName, false);
    
            int expectedSize = 20 + 2 * longFileName.length();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/netbios/NameTest.java

            assertEquals(0, name.srcHashCode);
        }
    
        @Test
        void constructor_withLongName_shouldTruncateTo15Characters() {
            String longName = "ThisIsAVeryLongNameThatExceeds15Characters";
            Name name = new Name(mockConfig, longName, 0x20, null);
    
            assertEquals("THISISAVERYLONG", name.name);
            assertEquals(15, name.name.length());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

        @Test
        public void test_buildFilePath_longPathComponent() {
            final StringBuilder longName = new StringBuilder();
            for (int i = 0; i < 250; i++) {
                longName.append("a");
            }
            final Path result =
                    indexExportJob.buildFilePath("/export", "https://example.com/" + longName + ".html", new HtmlIndexExportFormatter());
            final String fileName = result.getFileName().toString();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
Back to Top