Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for newpage (0.06 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

            assertEquals("http://localhost/newpage", HcHttpClient.constructRedirectLocation("http://localhost", "newpage"));
            assertEquals("http://localhost/newpage", HcHttpClient.constructRedirectLocation("http://localhost/path/", "../newpage"));
            assertEquals("http://localhost/path/newpage", HcHttpClient.constructRedirectLocation("http://localhost/path/", "./newpage"));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/RequestWithPathTest.java

        void testSetPath() {
            // Test with mock
            String newPath = "/new/path/file.txt";
            doNothing().when(requestWithPath).setPath(newPath);
    
            requestWithPath.setPath(newPath);
            verify(requestWithPath, times(1)).setPath(newPath);
    
            // Test with implementation
            testImplementation.setPath(newPath);
            assertEquals(newPath, testImplementation.getPath());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

        String oldName = Thread.currentThread().getName();
        Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName");
        Callable<@Nullable Void> callable =
            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() throws Exception {
                assertEquals(Thread.currentThread().getName(), newName.get());
                return null;
              }
            };
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            authenticationManager.addChain(chain);
    
            boolean result = authenticationManager.changePassword("testuser", "newpass");
    
            assertTrue(result);
            assertEquals(1, chain.changePasswordCallCount);
            assertEquals("testuser", chain.lastChangePasswordUsername);
            assertEquals("newpass", chain.lastChangePasswordPassword);
        }
    
        // Test changePassword with single chain failure
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            emptyGenerator.setName("testGenerator");
            assertEquals("testGenerator", emptyGenerator.getName());
    
            // Test changing name
            emptyGenerator.setName("newName");
            assertEquals("newName", emptyGenerator.getName());
        }
    
        public void test_addCondition() {
            // Initialize without container
            emptyGenerator = new EmptyGenerator();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

                if (startPage < 1) {
                    startPage = 1;
                }
                int endPage = currentPageNumber + pageRangeSize;
                if (endPage > allPageCount) {
                    endPage = allPageCount;
                }
                final List<Integer> pageNumberList = new ArrayList<>();
                for (int i = startPage; i <= endPage; i++) {
                    pageNumberList.add(i);
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  7. tests/update_test.go

    	// Update a single field of the user and verify that the changed address is not stored.
    	newAge := uint(100)
    	user.Account.Number = "new_account_number"
    	db := DB.Model(&user).UpdateColumns(User{Age: newAge})
    
    	if db.RowsAffected != 1 {
    		t.Errorf("Expected RowsAffected=1 but instead RowsAffected=%v", db.RowsAffected)
    	}
    
    	// Verify that Age now=`newAge`.
    	result := &User{}
    	result.ID = user.ID
    	DB.Preload("Account").First(result)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  8. src/cmd/api/testdata/src/pkg/p4/golden.txt

    pkg p4, func Clone //deprecated
    pkg p4, func Clone[$0 interface{ ~[]$1 }, $1 interface{}]($0) $0
    pkg p4, func NewPair[$0 interface{ M }, $1 interface{ ~int }]($0, $1) Pair[$0, $1]
    pkg p4, method (Pair[$0, $1]) First() $0
    pkg p4, method (Pair[$0, $1]) Second() $1
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jul 24 16:04:17 UTC 2025
    - 329 bytes
    - Viewed (0)
  9. tests/migrate_test.go

    		}
    	}
    
    	type NewColumnStruct struct {
    		gorm.Model
    		Name    string
    		NewName string
    	}
    
    	if err := DB.Table("column_structs").Migrator().AddColumn(&NewColumnStruct{}, "NewName"); err != nil {
    		t.Fatalf("Failed to add column, got %v", err)
    	}
    
    	if !DB.Table("column_structs").Migrator().HasColumn(&NewColumnStruct{}, "NewName") {
    		t.Fatalf("Failed to find added column")
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

            String newPath = path.replace(".", "\\.").replace("?", "\\?").replace("*", ".*");
            if (newPath.charAt(0) != '/') {
                newPath = ".*" + newPath;
            }
            if (!newPath.endsWith("$") && !newPath.endsWith(".*")) {
                newPath = newPath + ".*";
            }
            return newPath.replace(".*.*", ".*");
        }
    
        /*
         * (non-Javadoc)
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
Back to top