mirror of
https://github.com/openharmony/third_party_jsframework.git
synced 2026-07-19 22:43:32 -04:00
@@ -15,6 +15,13 @@
|
||||
|
||||
import {paramMock} from "../utils"
|
||||
|
||||
export const DataType = {
|
||||
TYPE_NULL: 0,
|
||||
TYPE_LONG: 1,
|
||||
TYPE_DOUBLE: 2,
|
||||
TYPE_STRING: 3,
|
||||
TYPE_BLOB: 4
|
||||
};
|
||||
export const DataShareResultSetMock = {
|
||||
columnNames: "[PC Preview] unknow columnNames",
|
||||
columnCount: "[PC Preview] unknow columnCount",
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
import { paramMock } from "../utils"
|
||||
export function mockDataSharePredicates() {
|
||||
const DataSharePredicatesClass = class DataSharePredicate {
|
||||
const DataSharePredicatesClass = class DataSharePredicates {
|
||||
constructor() {
|
||||
this.equalTo = function (...args) {
|
||||
console.warn("DataSharePredicates.equalTo interface mocked in the Previewer. How this interface works on the" +
|
||||
|
||||
Reference in New Issue
Block a user