Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for actual_string (0.09 sec)

  1. tensorflow/c/c_api_test.cc

      string expected_serialized;
      expected_op_def->SerializeToString(&expected_serialized);
      string actual_string(reinterpret_cast<const char*>(buffer->data),
                           buffer->length);
      EXPECT_EQ(expected_serialized, actual_string);
    
      TF_GraphGetOpDef(graph, "MyFakeOp", buffer, status);
      EXPECT_EQ(TF_NOT_FOUND, TF_GetCode(status));
      ExpectHasSubstr(TF_Message(status),
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java

            String actualString = smbCom.toString();
    
            // Check for key parts of the string representation
            org.junit.jupiter.api.Assertions.assertTrue(actualString.startsWith("SmbComCreateDirectory["),
                    "String should start with the class name.");
            org.junit.jupiter.api.Assertions.assertTrue(actualString.contains("command=SMB_COM_CREATE_DIRECTORY"),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java

            // A direct string comparison might be brittle, so we check for the class name and brackets.
            String actualString = response.toString();
            assertTrue(actualString.startsWith("Trans2SetFileInformationResponse["),
                    "The string representation should start with the class name.");
            assertTrue(actualString.endsWith("]"), "The string representation should end with a bracket.");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NameQueryRequestTest.java

            NameQueryRequest request = new NameQueryRequest(mockConfig, mockName);
            String expectedStringPrefix = "NameQueryRequest[";
            String actualString = request.toString();
    
            assertTrue(actualString.startsWith(expectedStringPrefix));
            assertTrue(actualString.endsWith("]"));
            // Further verification could involve mocking super.toString() if needed
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

                    "DfsReferral[pathConsumed=20,server=testServer,share=testShare,link=testLink,path=/test/path,ttl=300,expiration=1234567890,resolveHashes=true]";
            String actualString = referral.toString();
    
            // Then
            assertEquals(expectedString, actualString, "The toString method should return the expected string representation.");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top