Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 1,947 for result2 (0.05 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java

            OptionalThing<Locale> result1 = provider.findBusinessLocale(null, mockRequestManager);
            OptionalThing<Locale> result2 = provider.findBusinessLocale(null, mockRequestManager);
            OptionalThing<Locale> result3 = provider.findBusinessLocale(null, mockRequestManager);
    
            // Verify all return same result
            assertTrue(result1.isPresent());
            assertTrue(result2.isPresent());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/SmbSessionTest.java

                Configuration mockConfig = mock(Configuration.class);
                when(mockSession.getConfig()).thenReturn(mockConfig);
    
                Configuration result1 = mockSession.getConfig();
                Configuration result2 = mockSession.getConfig();
    
                assertSame(result1, result2, "getConfig() should return consistent values");
                verify(mockSession, times(2)).getConfig();
            }
        }
    
        @Nested
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            User result1 = createTestUser("result1", "Result One");
            User result2 = createTestUser("result2", "Result Two");
    
            chain.loadResult = result1;
            User returnedUser1 = chain.load(user1);
    
            chain.loadResult = result2;
            User returnedUser2 = chain.load(user2);
    
            assertEquals(result1, returnedUser1);
            assertEquals(result2, returnedUser2);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/NotifyResponseTest.java

            List<FileNotifyInformation> result1 = response.getNotifyInformation();
            List<FileNotifyInformation> result2 = response.getNotifyInformation();
            List<FileNotifyInformation> result3 = response.getNotifyInformation();
    
            // Verify all calls return the same content
            assertEquals(result1.size(), result2.size());
            assertEquals(result2.size(), result3.size());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            assertTrue(result1 instanceof MatchAllQueryBuilder);
            assertTrue(result2 instanceof MatchAllQueryBuilder);
    
            // Both should generate the same JSON
            String json1 = result1.toString().replaceAll("[\\s\\n]", "");
            String json2 = result2.toString().replaceAll("[\\s\\n]", "");
            assertEquals(json1, json2);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (0)
  6. tests/serializer_test.go

    	// Verify the record was saved correctly
    	var result ProductWithAny
    	if err := DB.First(&result, product.ID).Error; err != nil {
    		t.Fatalf("failed to query product, got error %v", err)
    	}
    
    	if result.Name != "Product 1 (Updated)" {
    		t.Errorf("expected name to be 'Product 1 (Updated)', got %s", result.Name)
    	}
    
    	if result.Data != nil {
    		t.Errorf("expected Data to be nil, got %v", result.Data)
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Nov 22 03:14:36 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/util/ComponentUtilTest.java

            FessConfig mockConfig = new FessConfig.SimpleImpl();
            ComponentUtil.setFessConfig(mockConfig);
    
            FessConfig result1 = ComponentUtil.getFessConfig();
            FessConfig result2 = ComponentUtil.getFessConfig();
    
            assertSame(result1, result2);
            assertSame(mockConfig, result1);
        }
    
        @Test
        public void test_register_and_getComponent() {
            String testInstance = "test_instance";
    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)
  8. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

            byte[] dst1 = new byte[10];
            byte[] dst2 = new byte[10];
    
            // Act
            int result1 = transWaitNamedPipe.writeSetupWireFormat(dst1, 0);
            int result2 = transWaitNamedPipe.writeSetupWireFormat(dst2, 0);
    
            // Assert
            assertEquals(result1, result2);
            assertArrayEquals(dst1, dst2);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  9. tests/scanner_valuer_test.go

    		t.Errorf("Should not raise any error, but got %v", err)
    	}
    
    	if result.Age.Int64 != 18 {
    		t.Errorf("should update age to 18")
    	}
    
    	var result2 ScannerValuerStruct
    	if err := DB.First(&result2, result.ID).Error; err != nil {
    		t.Errorf("got error %v when query with %v", err, result.ID)
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed Jun 07 07:02:07 GMT 2023
    - 10.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                // Test at buffer start
                int result1 = request.encode(buffer, 0);
                assertTrue(result1 > 0);
    
                // Test at buffer middle
                int result2 = request.encode(buffer, 128);
                assertTrue(result2 > 0);
    
                // Test near buffer end (should still fit)
                request.setEncodedSize(16);
                int result3 = request.encode(buffer, 240);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
Back to Top