- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 1,100 for correctly (0.07 seconds)
-
tests/embedded_struct_test.go
t.Errorf("no error should happen when query with embedded struct, but got %v", err) } else if news.Title != "hn_news" { t.Errorf("embedded struct's value should be scanned correctly") } DB.Save(&EngadgetPost{BasePost: BasePost{Title: "engadget_news"}, Author: &Author{Name: "Edward"}}) DB.Save(&EngadgetPost{BasePost: BasePost{Title: "engadget_article"}, Author: &Author{Name: "George"}})
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed May 08 04:07:58 GMT 2024 - 7.3K bytes - Click Count (0) -
src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java
// Although we cannot directly verify the super constructor call with Mockito for a real class, // we can infer its correct behavior if the object is successfully constructed and its own fields are correct. // The super constructor is called with (domainHandle, 0, acct_flags, null, 0)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java
import org.jspecify.annotations.Nullable; /** * Abstract base class for tests that EventBus finds the correct subscribers. * * <p>The actual tests are distributed among the other classes in this package based on whether they * are annotated or abstract in the superclass. * * <p>This test must be outside the c.g.c.eventbus package to test correctly. * * @author Louis Wasserman */ abstract class AbstractEventBusTest<H> extends TestCase {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.6K bytes - Click Count (0) -
build-logic/src/main/kotlin/JavaModules.kt
// not needed when compiling with recent JDKs, e.g. 17 options.compilerArgs.add("-Xlint:-requires-transitive-automatic") // Patch the compileKotlinJvm output classes into the compilation so exporting packages works correctly. options.compilerArgs.addAll( listOf( "--patch-module", "$moduleName=${compileKotlinTask.destinationDirectory.get().asFile}", ), ) classpath = compileKotlinTask.librariesCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Feb 05 22:47:58 GMT 2026 - 2.3K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/TransportTest.java
} } @Nested @DisplayName("State management tests") class StateManagementTests { @Test @DisplayName("should correctly identify disconnected states") void shouldIdentifyDisconnectedStates() { // States: 0=not connected, 1=connecting, 2=run connected, 3=connected, // 4=error, 5=disconnecting, 6=disconnected/invalidCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
*/ @TestInstance(TestInstance.Lifecycle.PER_CLASS) class FileInformationTest { /** * Test that interface constants are correctly defined */ @Test @DisplayName("Test FileInformation constants are correctly defined") void testInterfaceConstants() { // Verify all constants have expected values assertEquals((byte) 20, FileInformation.FILE_ENDOFFILE_INFO);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
assertNotNull(emptyConfig); // Hostname may be null when not provided in properties // This is expected behavior } @Test @DisplayName("Should parse integer properties correctly") void testIntegerProperties() throws CIFSException { // Given Properties props = new Properties(); props.setProperty("jcifs.smb.client.connTimeout", "30000");
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) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
} @Test @DisplayName("Should handle offset correctly") void testSignWithOffset() { byte[] largeData = new byte[256]; int offset = 64; Arrays.fill(largeData, (byte) 0x00); digest.sign(largeData, offset, 128, request, response); // Verify signature is placed at correct locationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 43.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java
// Test constructor @Test public void test_constructor_withValidParameters() { // Test normal construction assertNotNull(securityResourceProvider); // Verify fields are set correctly InvertibleCryptographer providedInvertible = securityResourceProvider.providePrimaryInvertibleCryptographer(); OneWayCryptographer providedOneWay = securityResourceProvider.providePrimaryOneWayCryptographer();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java
sids = mock(LsarSidArray.class); } /** * Test method for {@link jcifs.dcerpc.msrpc.MsrpcGetMembersInAlias#MsrpcGetMembersInAlias(SamrAliasHandle, LsarSidArray)}. * Verifies that the constructor correctly initializes the object's fields using reflection for protected members. */ @Test void testConstructor() throws NoSuchFieldException, IllegalAccessException { // Create an instance of the class to be tested
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.1K bytes - Click Count (0)