提交 f618f2cc 编写于 作者: G gaoxi785

isLastPart

Signed-off-by: Ngaoxi785 <gaoxi785@huawei.com>
上级 0db11e41
......@@ -12,6 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import sms from '@ohos.telephony.sms';
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
export default function SmsMmsErrorTest() {
......@@ -126,6 +127,7 @@ describe('SmsMmsErrorTest', function () {
it('Telephony_SmsMms_sendMessage_Promise_0100', 0, async function (done) {
try {
let sendCallback = function (err, data) {
expect(data.isLastPart !== '').assertTrue();
console.log(`sendCallback: err->${JSON.stringify(err)}, data->${JSON.stringify(data)}`);
}
let deliveryCallback = function (err, data) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册