Home
last modified time | relevance | path

Searched refs:IsOk (Results 1 – 25 of 150) sorted by relevance

123456

/third_party/mindspore/tests/ut/cpp/dataset/
Drandom_data_op_test.cc75 EXPECT_TRUE(rc.IsOk()); in TEST_F()
78 EXPECT_TRUE(rc.IsOk()); in TEST_F()
86 EXPECT_TRUE(rc.IsOk()); in TEST_F()
88 EXPECT_TRUE(rc.IsOk()); in TEST_F()
94 EXPECT_TRUE(rc.IsOk()); in TEST_F()
101 EXPECT_TRUE(rc.IsOk()); in TEST_F()
128 EXPECT_TRUE(rc.IsOk()); in TEST_F()
131 EXPECT_TRUE(rc.IsOk()); in TEST_F()
154 EXPECT_TRUE(rc.IsOk()); in TEST_F()
162 EXPECT_TRUE(rc.IsOk()); in TEST_F()
[all …]
Dcache_op_test.cc69 ASSERT_TRUE(rc.IsOk()); in TEST_F()
75 ASSERT_TRUE(rc.IsOk()); in TEST_F()
78 ASSERT_TRUE(rc.IsOk()); in TEST_F()
98 ASSERT_TRUE(rc.IsOk()); in TEST_F()
102 ASSERT_TRUE(rc.IsOk()); in TEST_F()
119 ASSERT_TRUE(rc.IsOk()); in TEST_F()
123 ASSERT_TRUE(rc.IsOk()); in TEST_F()
129 ASSERT_TRUE(rc.IsOk()); in TEST_F()
139 ASSERT_TRUE(rc.IsOk()); in TEST_F()
144 ASSERT_TRUE(rc.IsOk()); in TEST_F()
[all …]
DtfReader_op_test.cc56 ASSERT_TRUE(rc.IsOk()); in TEST_F()
58 ASSERT_TRUE(rc.IsOk()); in TEST_F()
61 ASSERT_TRUE(rc.IsOk()); in TEST_F()
65 ASSERT_TRUE(rc.IsOk()); in TEST_F()
68 ASSERT_TRUE(rc.IsOk()); in TEST_F()
74 ASSERT_TRUE(rc.IsOk()); in TEST_F()
86 ASSERT_TRUE(rc.IsOk()); in TEST_F()
113 ASSERT_TRUE(rc.IsOk()); in TEST_F()
115 ASSERT_TRUE(rc.IsOk()); in TEST_F()
118 ASSERT_TRUE(rc.IsOk()); in TEST_F()
[all …]
Dshuffle_op_test.cc64 EXPECT_TRUE(rc.IsOk()); in TEST_F()
66 EXPECT_TRUE(rc.IsOk()); in TEST_F()
70 EXPECT_TRUE(rc.IsOk()); in TEST_F()
74 EXPECT_TRUE(rc.IsOk()); in TEST_F()
76 EXPECT_TRUE(rc.IsOk()); in TEST_F()
79 EXPECT_TRUE(rc.IsOk()); in TEST_F()
81 EXPECT_TRUE(rc.IsOk()); in TEST_F()
87 EXPECT_TRUE(rc.IsOk()); in TEST_F()
100 EXPECT_TRUE(rc.IsOk()); in TEST_F()
136 EXPECT_TRUE(rc.IsOk()); in TEST_F()
[all …]
Dmap_op_test.cc149 EXPECT_TRUE(rc.IsOk()); in TEST_F()
160 EXPECT_TRUE(rc.IsOk()); in TEST_F()
162 EXPECT_TRUE(rc.IsOk()); in TEST_F()
166 EXPECT_TRUE(rc.IsOk()); in TEST_F()
170 EXPECT_TRUE(rc.IsOk()); in TEST_F()
172 EXPECT_TRUE(rc.IsOk()); in TEST_F()
178 EXPECT_TRUE(rc.IsOk()); in TEST_F()
199 EXPECT_TRUE(rc.IsOk()); in TEST_F()
212 EXPECT_TRUE(rc.IsOk()); in TEST_F()
214 EXPECT_TRUE(rc.IsOk()); in TEST_F()
[all …]
Dzip_op_test.cc65 EXPECT_TRUE(rc.IsOk()); in TEST_F()
67 EXPECT_TRUE(rc.IsOk()); in TEST_F()
73 EXPECT_TRUE(rc.IsOk()); in TEST_F()
75 EXPECT_TRUE(rc.IsOk()); in TEST_F()
81 EXPECT_TRUE(rc.IsOk()); in TEST_F()
83 EXPECT_TRUE(rc.IsOk()); in TEST_F()
85 EXPECT_TRUE(rc.IsOk()); in TEST_F()
87 EXPECT_TRUE(rc.IsOk()); in TEST_F()
89 EXPECT_TRUE(rc.IsOk()); in TEST_F()
94 EXPECT_TRUE(rc.IsOk()); in TEST_F()
[all …]
Dbatch_op_test.cc65 EXPECT_TRUE(rc.IsOk()); in TEST_F()
69 EXPECT_TRUE(rc.IsOk()); in TEST_F()
75 EXPECT_TRUE(rc.IsOk()); in TEST_F()
103 EXPECT_TRUE(rc.IsOk()); in TEST_F()
106 EXPECT_TRUE(rc.IsOk()); in TEST_F()
109 EXPECT_TRUE(rc.IsOk()); in TEST_F()
113 EXPECT_TRUE(rc.IsOk()); in TEST_F()
117 EXPECT_TRUE(rc.IsOk()); in TEST_F()
121 EXPECT_TRUE(rc.IsOk()); in TEST_F()
125 EXPECT_TRUE(rc.IsOk()); in TEST_F()
[all …]
Dqueue_test.cc69 ASSERT_TRUE(rc.IsOk()); in TEST_F()
74 ASSERT_TRUE(rc.IsOk()); in TEST_F()
82 ASSERT_TRUE(rc.IsOk()); in TEST_F()
85 ASSERT_TRUE(rc.IsOk()); in TEST_F()
90 ASSERT_TRUE(rc.IsOk()); in TEST_F()
92 ASSERT_TRUE(rc.IsOk()); in TEST_F()
98 ASSERT_TRUE(rc.IsOk()); in TEST_F()
106 ASSERT_TRUE(rc.IsOk()); in TEST_F()
109 ASSERT_TRUE(rc.IsOk()); in TEST_F()
112 ASSERT_TRUE(rc.IsOk()); in TEST_F()
[all …]
Dgnn_graph_test.cc102 EXPECT_TRUE(s.IsOk()); in TEST_F()
109 EXPECT_TRUE(s.IsOk()); in TEST_F()
117 EXPECT_TRUE(s.IsOk()); in TEST_F()
121 EXPECT_TRUE(s.IsOk()); in TEST_F()
126 EXPECT_TRUE(s.IsOk()); in TEST_F()
136 EXPECT_TRUE(s.IsOk()); in TEST_F()
140 EXPECT_TRUE(s.IsOk()); in TEST_F()
158 EXPECT_TRUE(s.IsOk()); in TEST_F()
162 EXPECT_TRUE(s.IsOk()); in TEST_F()
167 EXPECT_TRUE(s.IsOk()); in TEST_F()
[all …]
Dsentence_piece_vocab_op_test.cc35 EXPECT_TRUE(s.IsOk()); in CheckEqual()
69 ASSERT_TRUE(rc.IsOk()); in TEST_F()
81 ASSERT_TRUE(rc.IsOk()); in TEST_F()
84 ASSERT_TRUE(rc.IsOk()); in TEST_F()
89 ASSERT_TRUE(rc.IsOk()); in TEST_F()
91 ASSERT_TRUE(rc.IsOk()); in TEST_F()
94 ASSERT_TRUE(rc.IsOk()); in TEST_F()
100 ASSERT_TRUE(rc.IsOk()); in TEST_F()
105 ASSERT_TRUE(rc.IsOk()); in TEST_F()
118 ASSERT_TRUE(rc.IsOk()); in TEST_F()
[all …]
Dtokenizer_op_test.cc41 EXPECT_TRUE(s.IsOk()); in CheckEqual()
52 EXPECT_TRUE(s.IsOk()); in TEST_F()
72 EXPECT_TRUE(s.IsOk()); in TEST_F()
86 EXPECT_TRUE(s.IsOk()); in TEST_F()
95 EXPECT_TRUE(s.IsOk()); in TEST_F()
104 EXPECT_TRUE(s.IsOk()); in TEST_F()
114 EXPECT_TRUE(s.IsOk()); in TEST_F()
127 EXPECT_TRUE(s.IsOk()); in TEST_F()
138 EXPECT_TRUE(s.IsOk()); in TEST_F()
147 EXPECT_TRUE(s.IsOk()); in TEST_F()
[all …]
Dskip_op_test.cc49 ASSERT_TRUE(rc.IsOk()); in TEST_F()
51 ASSERT_TRUE(rc.IsOk()); in TEST_F()
56 ASSERT_TRUE(rc.IsOk()); in TEST_F()
60 ASSERT_TRUE(rc.IsOk()); in TEST_F()
62 ASSERT_TRUE(rc.IsOk()); in TEST_F()
67 ASSERT_TRUE(rc.IsOk()); in TEST_F()
70 ASSERT_TRUE(rc.IsOk()); in TEST_F()
76 ASSERT_TRUE(rc.IsOk()); in TEST_F()
90 ASSERT_TRUE(rc.IsOk()); in TEST_F()
Dproject_op_test.cc53 ASSERT_TRUE(rc.IsOk()); in TEST_F()
55 ASSERT_TRUE(rc.IsOk()); in TEST_F()
61 ASSERT_TRUE(rc.IsOk()); in TEST_F()
65 ASSERT_TRUE(rc.IsOk()); in TEST_F()
67 ASSERT_TRUE(rc.IsOk()); in TEST_F()
72 ASSERT_TRUE(rc.IsOk()); in TEST_F()
75 ASSERT_TRUE(rc.IsOk()); in TEST_F()
81 ASSERT_TRUE(rc.IsOk()); in TEST_F()
97 ASSERT_TRUE(rc.IsOk()); in TEST_F()
Drename_op_test.cc64 EXPECT_TRUE(rc.IsOk()); in TEST_F()
66 EXPECT_TRUE(rc.IsOk()); in TEST_F()
75 EXPECT_TRUE(rc.IsOk()); in TEST_F()
77 EXPECT_TRUE(rc.IsOk()); in TEST_F()
79 EXPECT_TRUE(rc.IsOk()); in TEST_F()
81 EXPECT_TRUE(rc.IsOk()); in TEST_F()
86 EXPECT_TRUE(rc.IsOk()); in TEST_F()
94 EXPECT_TRUE(rc.IsOk()); in TEST_F()
107 EXPECT_TRUE(rc.IsOk()); in TEST_F()
Dmind_record_op_test.cc107 ASSERT_TRUE(rc.IsOk()); in TEST_F()
121 ASSERT_TRUE(rc.IsOk()); in TEST_F()
171 ASSERT_TRUE(rc.IsOk()); in TEST_F()
185 ASSERT_TRUE(rc.IsOk()); in TEST_F()
236 ASSERT_TRUE(rc.IsOk()); in TEST_F()
250 ASSERT_TRUE(rc.IsOk()); in TEST_F()
304 ASSERT_TRUE(rc.IsOk()); in TEST_F()
318 ASSERT_TRUE(rc.IsOk()); in TEST_F()
352 EXPECT_TRUE(rc.IsOk()); in TEST_F()
357 EXPECT_TRUE(rc.IsOk()); in TEST_F()
[all …]
Dexecute_test.cc53 EXPECT_TRUE(s01.IsOk()); in TEST_F()
72 EXPECT_FALSE(s01.IsOk()); in TEST_F()
119 EXPECT_TRUE(status.IsOk()); in TEST_F()
139 EXPECT_FALSE(status.IsOk()); in TEST_F()
158 EXPECT_FALSE(status.IsOk()); in TEST_F()
208 EXPECT_TRUE(status.IsOk()); in TEST_F()
221 EXPECT_TRUE(status.IsOk()); in TEST_F()
246 EXPECT_TRUE(status.IsOk()); in TEST_F()
264 EXPECT_FALSE(status.IsOk()); in TEST_F()
269 EXPECT_FALSE(status.IsOk()); in TEST_F()
[all …]
Dconcat_op_test.cc89 EXPECT_TRUE(rc.IsOk()); in TEST_F()
91 EXPECT_TRUE(rc.IsOk()); in TEST_F()
93 EXPECT_TRUE(rc.IsOk()); in TEST_F()
95 EXPECT_TRUE(rc.IsOk()); in TEST_F()
97 EXPECT_TRUE(rc.IsOk()); in TEST_F()
102 EXPECT_TRUE(rc.IsOk()); in TEST_F()
110 EXPECT_TRUE(rc.IsOk()); in TEST_F()
123 EXPECT_TRUE(rc.IsOk()); in TEST_F()
Dtask_manager_test.cc38 ASSERT_TRUE(vg_rc.IsOk() || vg_rc == StatusCode::kMDOutOfMemory); in TEST_F()
39 ASSERT_TRUE(vg.join_all().IsOk()); in TEST_F()
47 if (vg.GetTaskErrorIfAny().IsError() && vg_rc.IsOk()) { in TEST_F()
66 EXPECT_TRUE(rc.IsOk()); in TEST_F()
82 EXPECT_TRUE(rc.IsOk()); in TEST_F()
84 ASSERT_TRUE(vg.join_all(Task::WaitFlag::kNonBlocking).IsOk()); in TEST_F()
Dmask_test.cc46 ASSERT_TRUE(op->Compute(t, &out).IsOk()); in TEST_F()
49 ASSERT_TRUE(op->Compute(t, &out).IsOk()); in TEST_F()
52 ASSERT_TRUE(op->Compute(t, &out).IsOk()); in TEST_F()
55 ASSERT_TRUE(op->Compute(t, &out).IsOk()); in TEST_F()
58 ASSERT_TRUE(op->Compute(t, &out).IsOk()); in TEST_F()
61 ASSERT_TRUE(op->Compute(t, &out).IsOk()); in TEST_F()
Dmemory_pool_test.cc32 ASSERT_TRUE(rc.IsOk()); in SetUp()
43 ASSERT_TRUE(rc.IsOk()); in TEST_F()
51 ASSERT_TRUE(rc.IsOk()); in TEST_F()
81 ASSERT_TRUE(rc.IsOk() || rc == StatusCode::kMDOutOfMemory); in TEST_F()
82 if (rc.IsOk()) { in TEST_F()
Dclue_op_test.cc79 ASSERT_TRUE(rc.IsOk()); in TEST_F()
82 ASSERT_TRUE(rc.IsOk()); in TEST_F()
86 ASSERT_TRUE(rc.IsOk()); in TEST_F()
89 ASSERT_TRUE(rc.IsOk()); in TEST_F()
95 ASSERT_TRUE(rc.IsOk()); in TEST_F()
107 ASSERT_TRUE(rc.IsOk()); in TEST_F()
Dslice_op_test.cc45 EXPECT_TRUE(s.IsOk()); in TEST_F()
72 EXPECT_TRUE(s.IsOk()); in TEST_F()
101 EXPECT_TRUE(s.IsOk()); in TEST_F()
130 EXPECT_TRUE(s.IsOk()); in TEST_F()
159 EXPECT_TRUE(s.IsOk()); in TEST_F()
185 EXPECT_TRUE(s.IsOk()); in TEST_F()
209 EXPECT_TRUE(s.IsOk()); in TEST_F()
233 EXPECT_TRUE(s.IsOk()); in TEST_F()
264 EXPECT_TRUE(s.IsOk()); in TEST_F()
292 EXPECT_TRUE(s.IsOk()); in TEST_F()
[all …]
Dir_tree_adapter_test.cc57 EXPECT_TRUE(rc.IsOk()); in TEST_F()
67 EXPECT_TRUE(rc.IsOk()); in TEST_F()
91 EXPECT_TRUE(rc.IsOk()); in TEST_F()
101 EXPECT_TRUE(rc.IsOk()); in TEST_F()
129 EXPECT_TRUE(rc.IsOk()); in TEST_F()
139 EXPECT_TRUE(rc.IsOk()); in TEST_F()
/third_party/mindspore/tests/ut/cpp/mindrecord/
Dut_shard_segment_test.cc71 EXPECT_TRUE(status.IsOk()); in TEST_F()
73 EXPECT_FALSE(status.IsOk()); in TEST_F()
78 EXPECT_TRUE(status.IsOk()); in TEST_F()
83 EXPECT_TRUE(status.IsOk()); in TEST_F()
92 EXPECT_TRUE(status.IsOk()); in TEST_F()
121 EXPECT_TRUE(status.IsOk()); in TEST_F()
123 EXPECT_FALSE(status.IsOk()); in TEST_F()
127 EXPECT_TRUE(status.IsOk()); in TEST_F()
132 EXPECT_FALSE(status.IsOk()); in TEST_F()
152 EXPECT_TRUE(status.IsOk()); in TEST_F()
[all …]
Dut_shard_header_test.cc83 EXPECT_TRUE(status.IsOk()); in TEST_F()
91 EXPECT_FALSE(status.IsOk()); in TEST_F()
98 EXPECT_FALSE(status.IsOk()); in TEST_F()
105 EXPECT_FALSE(status.IsOk()); in TEST_F()
112 EXPECT_FALSE(status.IsOk()); in TEST_F()
134 EXPECT_FALSE(status.IsOk()); in TEST_F()
140 EXPECT_FALSE(status.IsOk()); in TEST_F()
146 EXPECT_FALSE(status.IsOk()); in TEST_F()
152 EXPECT_TRUE(status.IsOk()); in TEST_F()

123456