- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 854 for Assert (0.29 sec)
-
src/test/java/org/codelibs/core/collection/LruHashMapTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.collection; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.nullValue; import static org.junit.Assert.assertThat; import java.util.Iterator; import org.junit.Test; /** * @author taichi */ public class LruHashMapTest { /** * @throws Exception */ @TestRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java
// Create an instance of the class to be tested MsrpcGetMembersInAlias request = new MsrpcGetMembersInAlias(aliasHandle, sids); // Assert that the public 'sids' field is initialized as expected assertEquals(sids, request.sids, "The 'sids' field should be initialized by the constructor.");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
import static com.google.common.truth.Truth.assertThat; import static com.google.common.truth.TruthJUnit.assume; import static org.junit.Assert.assertThrows; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import com.google.common.collect.ImmutableSet; import java.util.Collections; import java.util.Set; import org.jspecify.annotations.NullUnmarked;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 20.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java
import static com.google.common.truth.Truth.assertThat; import static com.google.common.truth.TruthJUnit.assume; import static org.junit.Assert.assertThrows; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import com.google.common.collect.ImmutableSet; import java.util.Collections; import java.util.Optional; import java.util.Set;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 21.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
// Assert assertEquals(1234, timeout); } @Test @DisplayName("getResponseTimeout falls back to config for non-SMB requests") void getResponseTimeout_default() { // Arrange Request req = mock(Request.class); when(cfg.getResponseTimeout()).thenReturn(2222); // Act & AssertRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ThreadUtilTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.lang; import static org.junit.Assert.assertTrue; import org.junit.Test; /** * @author shinsuke * */ public class ThreadUtilTest { /** * @throws Exception */ @TestRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.1K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java
// 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) // We can't directly assert these values on the superclass fields without reflection or a testable superclass. // For 100% coverage, we'd need to ensure the superclass constructor is indeed called with these values.Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/MapsTest.java
*/ package org.codelibs.core.collection; import static org.codelibs.core.collection.Maps.map; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import java.util.Map; import org.junit.Test; /** * @author koichik */ public class MapsTest { /** * @throws Exception */ @TestRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
byte[] paramWords = buffer.array(); // Call the method to test int bytesRead = response.readParameterWordsWireFormat(paramWords, 0); // Assert that the correct number of bytes were read assertEquals(34, bytesRead); // Assert that the serverData fields are populated correctly assertEquals(0, response.dialectIndex); assertEquals(0x0F, serverData.securityMode);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java
@SuppressWarnings("UseCorrectAssertInTests") // TODO(b/345814817): Remove or convert assertion. private static BigInteger oldSlowFactorial(int n1, int n2) { assert n1 <= n2; if (IntMath.log2(n2, CEILING) * (n2 - n1) < Long.SIZE - 1) { // the result will definitely fit into a long long result = 1; for (int i = n1 + 1; i <= n2; i++) { result *= i; }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.5K bytes - Viewed (0)