- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 1,400 for Expected (0.06 sec)
-
src/test/java/jcifs/smb1/smb1/DfsReferralTest.java
/** * Tests for the DfsReferral class. * This class tests the functionality of the DfsReferral class, * ensuring that objects are constructed correctly, appended properly, * and that the toString method returns the expected format. */ class DfsReferralTest { /** * Tests the default constructor of the DfsReferral class. * It verifies that a new DfsReferral object is initialized with its 'next'Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java
// Create a buffer large enough to hold the read bytes byte[] buffer = new byte[6]; int bytesRead = packet.readTrailerWireFormat(bais, buffer, 0); // Verify that 6 bytes were read, which is the expected length. assertEquals(6, bytesRead); } @Test void readTrailerWireFormatShouldThrowIOExceptionOnUnexpectedEOF() throws IOException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolutionExceptionTest.java
String type = "jar"; String classifier = "aClassifier"; String downloadUrl = "http://somewhere.com/download"; List<String> path = Arrays.asList("dependency1", "dependency2"); String expected = "Missing artifact" + LS + LS + " Try downloading the file manually from: " + LS + " http://somewhere.com/download" + LS + LS + " Then, install it using the command: " + LS
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
} } void CompareInt32Tensor(const std::vector<int32_t>& expected, TF_Tensor* t) { int32_t* data = static_cast<int32_t*>(TF_TensorData(t)); size_t size = TF_TensorByteSize(t); ASSERT_EQ(expected.size() * sizeof(int32_t), size); for (int i = 0; i < expected.size(); ++i) { ASSERT_EQ(expected[i], data[i]) << "Different data at index " << i; } }
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Mon Nov 17 00:00:38 UTC 2025 - 63.6K bytes - Viewed (1) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
// Only compare the sign of the result of compare(). int expected = Short.compare(x, y); int actual = Shorts.compare(x, y); if (expected == 0) { assertWithMessage("%s, %s", x, y).that(actual).isEqualTo(expected); } else if (expected < 0) { assertWithMessage("%s, %s (expected: %s, actual%s)", x, y, expected, actual) .that(actual < 0) .isTrue();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 27.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
Collection<V> values = multimap().get(k3()); if (values.size() == 0) { expectUnchanged(); // Be extra thorough in case internal state was corrupted by the expected null. assertEquals(new ArrayList<>(), new ArrayList<>(values)); assertEquals(size, multimap().size()); } else { assertEquals(newArrayList(v3()), new ArrayList<>(values));Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 7.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
File file = new File(dir, filename); if (shouldExist) { assertTrue(file.exists(), "Expected " + file + ".exists() to return true"); } else { assertFalse(file.exists(), "Expected " + file + ".exists() to return false"); } }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 4.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
// d.setScope(Artifact.SCOPE_SYSTEM); File file = new File(getBasedir(), "src/test/repository-system/maven-core-2.1.0.jar"); assertTrue(file.exists(), "Expected " + file + ".exists() to return true"); d.setSystemPath(file.getCanonicalPath()); artifact = repositorySystem.createDependencyArtifact(d); //Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 13:41:14 UTC 2025 - 11.1K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt
} val client = clientBuilder.addInterceptor(interceptor).build() try { client.newCall(request).execute() } catch (uhe: UnknownHostException) { // expected } val logs = ShadowLog.getLogsForTag(AndroidPlatform.Tag) assertThat(logs.map { it.type }).containsOnly(Log.INFO) assertThat( logs.map { it.msg.replace( "\\d+".toRegex(),Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToStringTester.java
@CollectionSize.Require(SEVERAL) @CollectionFeature.Require(value = KNOWN_ORDER, absent = NON_STANDARD_TOSTRING) public void testToString_sizeSeveral() { String expected = copyToList(getOrderedElements()).toString(); assertEquals("collection.toString() incorrect", expected, collection.toString()); } @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require(ALLOWS_NULL_VALUES) public void testToString_null() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.1K bytes - Viewed (0)