yzt
2023-05-08 24e1c6a1c3d5331b5a4f1111dcbae3ef148eda1a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import { Cesium3DTileContent } from "../../Source/Cesium.js";
 
describe("Scene/Cesium3DTileContent", function () {
  it("throws", function () {
    var content = new Cesium3DTileContent();
    expect(function () {
      return content.featuresLength;
    }).toThrowDeveloperError();
    expect(function () {
      return content.pointsLength;
    }).toThrowDeveloperError();
    expect(function () {
      return content.trianglesLength;
    }).toThrowDeveloperError();
    expect(function () {
      return content.geometryByteLength;
    }).toThrowDeveloperError();
    expect(function () {
      return content.texturesByteLength;
    }).toThrowDeveloperError();
    expect(function () {
      return content.batchTableByteLength;
    }).toThrowDeveloperError();
    expect(function () {
      return content.innerContents;
    }).toThrowDeveloperError();
    expect(function () {
      return content.readyPromise;
    }).toThrowDeveloperError();
    expect(function () {
      return content.tileset;
    }).toThrowDeveloperError();
    expect(function () {
      return content.tile;
    }).toThrowDeveloperError();
    expect(function () {
      return content.url;
    }).toThrowDeveloperError();
    expect(function () {
      return content.batchTable;
    }).toThrowDeveloperError();
    expect(function () {
      return content.groupMetadata;
    }).toThrowDeveloperError();
    expect(function () {
      content.groupMetadata = {};
    }).toThrowDeveloperError();
    expect(function () {
      return content.hasProperty(0, "height");
    }).toThrowDeveloperError();
    expect(function () {
      return content.getFeature(0);
    }).toThrowDeveloperError();
    expect(function () {
      content.applyDebugSettings();
    }).toThrowDeveloperError();
    expect(function () {
      content.applyStyle();
    }).toThrowDeveloperError();
    expect(function () {
      content.update();
    }).toThrowDeveloperError();
    expect(function () {
      content.isDestroyed();
    }).toThrowDeveloperError();
    expect(function () {
      content.destroy();
    }).toThrowDeveloperError();
  });
});