Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testBrowse (0.08 sec)

  1. src/test/java/jcifs/tests/EnumTest.java

        }
    
    
        @Ignore ( "This causes a connection to whatever local master browser is available, config may be incompatible with it" )
        @Test
        public void testBrowse () throws MalformedURLException, CIFSException {
            CIFSContext ctx = withAnonymousCredentials();
            try ( SmbFile smbFile = new SmbFile("smb://", ctx) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  2. test-site/test/IntegrationTest.java

         */
        @Test
        public void test() {
            running(testServer(3333, fakeApplication(inMemoryDatabase())), HTMLUNIT, new Callback<TestBrowser>() {
                public void invoke(TestBrowser browser) {
                    browser.goTo("http://localhost:3333");
                    assertThat(browser.pageSource()).contains("Your new application is ready.");
                }
            });
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 773 bytes
    - Viewed (0)
  3. tests/sql_builder_test.go

    	if err := row.Scan(&age); err != nil {
    		t.Fatalf("Failed to scan age, got %v", err)
    	}
    
    	if age != 20 {
    		t.Errorf("Scan with Row, age expects: %v, got %v", user2.Age, age)
    	}
    }
    
    func TestRows(t *testing.T) {
    	user1 := User{Name: "RowsUser1", Age: 1}
    	user2 := User{Name: "RowsUser2", Age: 10}
    	user3 := User{Name: "RowsUser3", Age: 20}
    	DB.Save(&user1).Save(&user2).Save(&user3)
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top