Home
last modified time | relevance | path

Searched refs:ExpectText (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/lib/wav/
Dwav_io_test.cc31 Status ExpectText(const string& data, const string& expected_text, int* offset);
240 TEST(WavIO, ExpectText) { in TEST() argument
247 TF_EXPECT_OK(ExpectText(test_string, "Expected", &offset)); in TEST()
251 Status expect_status = ExpectText(test_string, "Unexpected", &offset); in TEST()
255 TF_EXPECT_OK(ExpectText(test_string, "Exp", &offset)); in TEST()
257 TF_EXPECT_OK(ExpectText(test_string, "ected", &offset)); in TEST()
259 expect_status = ExpectText(test_string, "foo", &offset); in TEST()
Dwav_io.cc115 Status ExpectText(const std::string& data, const std::string& expected_text, in ExpectText() function
231 TF_RETURN_IF_ERROR(ExpectText(wav_string, kRiffChunkId, &offset)); in DecodeLin16WaveAsFloatVector()
234 TF_RETURN_IF_ERROR(ExpectText(wav_string, kRiffType, &offset)); in DecodeLin16WaveAsFloatVector()