- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 800 for isInvalid (0.04 sec)
-
tests/associations_belongs_to_test.go
AssertAssociationCount(t, user2, "Company", 0, "after clear") AssertAssociationCount(t, user2, "Manager", 0, "after clear") // unexist company id unexistCompanyID := company.ID + 9999999 user = User{Name: "invalid-user-with-invalid-belongs-to-foreign-key", CompanyID: &unexistCompanyID} if err := DB.Create(&user).Error; err == nil { tidbSkip(t, "not support the foreign key feature") t.Errorf("should have gotten foreign key violation error")
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 9.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/AccessTokenService.java
return OptionalEntity.of(permissionSet); }).orElseThrow(() -> new InvalidAccessTokenException("invalid_token", "Invalid token: " + token)); } return OptionalEntity.empty(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
Mockito.verify(mock, Mockito.times(1)).getLastAccessTime(); Mockito.verify(mock, Mockito.times(1)).getSize(); Mockito.verifyNoMoreInteractions(mock); } // --- Invalid/null usage: calling a method on null should throw NPE --- @Test void nullReference_throwsNullPointerException() { // Arrange SmbBasicFileInfo info = null;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
gradlew.bat
goto fail :findJavaFromJavaHome set JAVA_HOME=%JAVA_HOME:"=% set JAVA_EXE=%JAVA_HOME%/bin/java.exe if exist "%JAVA_EXE%" goto execute echo. 1>&2 echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 echo. 1>&2 echo Please set the JAVA_HOME variable in your environment to match the 1>&2 echo location of your Java installation. 1>&2 goto fail :execute @rem Setup the command line
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Apr 26 02:17:22 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
} @Test @DisplayName("Test initResolverOrder with invalid resolver and WINS without server") void testInitResolverOrderWithInvalidResolver() { config.winsServer = new InetAddress[0]; config.initResolverOrder("DNS,INVALID,WINS,LMHOSTS"); List<ResolverType> order = config.getResolveOrder(); assertEquals(2, order.size());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java
} public void test_loadProtocols_invalidPackage() { final ProtocolHelper protocolHelper = new ProtocolHelper(); // Should not throw exception with invalid package protocolHelper.loadProtocols("org.invalid.package.does.not.exist"); // Should have empty arrays initially assertEquals(0, protocolHelper.getWebProtocols().length);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 21.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
/** * Implementation of the actual value retrieval. Will return the value on success, an * exception on failure, a cancellation on cancellation, or an illegal state if the * synchronizer is in an invalid state. */ private V getValue() throws CancellationException, ExecutionException { int state = getState(); switch (state) { case COMPLETED: if (exception != null) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 13.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt
assertThat(frameLog(true, 3, 10000, TYPE_DATA, 0x20)) .isEqualTo("<< 0x00000003 10000 DATA COMPRESSED") } /** * Ensures that valid flag combinations appear visually correct, and invalid show in hex. This * also demonstrates how sparse the lookup table is. */ @Test fun allFormattedFlagsWithValidBits() { val formattedFlags = mutableListOf<String>() // Highest valid flag is 0x20.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java
bufferIndex += 2; final int numAces = ServerMessageBlock.readInt4(buffer, bufferIndex); bufferIndex += 4; if (numAces > 4096) { throw new IOException("Invalid SecurityDescriptor"); } aces = new ACE[numAces]; for (int i = 0; i < numAces; i++) { aces[i] = new ACE();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/DfsImplTest.java
assertDoesNotThrow(() -> dfsImpl.cache(mockContext, "\\\\server\\share\\path", mockReferral)); } @Test void testCache_InvalidPath() { // Scenario: The UNC path provided is invalid. DfsReferralDataInternal mockReferral = mock(DfsReferralDataInternal.class); // Should not throw any exception. assertDoesNotThrow(() -> dfsImpl.cache(mockContext, "invalidpath", mockReferral)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0)