diff --git a/test/bench/node.js b/test/bench/node.js index 23d6b09d53..703f06ebaf 100644 --- a/test/bench/node.js +++ b/test/bench/node.js @@ -1,3 +1,7 @@ +// loaders.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + import '@loaders.gl/polyfills'; import {Bench} from '@probe.gl/bench'; diff --git a/test/common/conformance.ts b/test/common/conformance.ts index 23a1696a72..db1a7335e6 100644 --- a/test/common/conformance.ts +++ b/test/common/conformance.ts @@ -1,3 +1,7 @@ +// loaders.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + export function validateLoader(t, loader, name = '') { t.ok(typeof loader.id === 'string', `Loader ${name} loader.id is not defined`); t.ok(loader, `Loader ${name} defined`); diff --git a/test/render/test-cases/index.js b/test/render/test-cases/index.js index 6d6ae0fd16..6cc15b7462 100644 --- a/test/render/test-cases/index.js +++ b/test/render/test-cases/index.js @@ -1,3 +1,7 @@ +// loaders.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + import meshTestCases from './mesh'; import pointCloudTestCases from './point-cloud'; diff --git a/test/render/test-cases/mesh.js b/test/render/test-cases/mesh.js index 30894016fd..b81e93ebc9 100644 --- a/test/render/test-cases/mesh.js +++ b/test/render/test-cases/mesh.js @@ -1,3 +1,7 @@ +// loaders.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + import {load} from '@loaders.gl/core'; import {PLYLoader} from '@loaders.gl/ply'; import {getModel, drawModelInViewport} from '../test-utils/get-model'; diff --git a/test/render/test-cases/point-cloud.js b/test/render/test-cases/point-cloud.js index b686008364..efc2abd477 100644 --- a/test/render/test-cases/point-cloud.js +++ b/test/render/test-cases/point-cloud.js @@ -1,3 +1,7 @@ +// loaders.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + import {load, fetchFile, parse, encode} from '@loaders.gl/core'; import {DracoWriter, DracoLoader} from '@loaders.gl/draco'; import {LASLoader} from '@loaders.gl/las'; diff --git a/test/render/test-utils/get-model.js b/test/render/test-utils/get-model.js index 3c087a1964..f0425e561b 100644 --- a/test/render/test-utils/get-model.js +++ b/test/render/test-utils/get-model.js @@ -1,3 +1,7 @@ +// loaders.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + import {mat4} from '@math.gl/core'; import {Model, Geometry} from '@luma.gl/engine'; diff --git a/test/render/test-utils/normalize-attributes.js b/test/render/test-utils/normalize-attributes.js index da94359e70..929f2da9d6 100644 --- a/test/render/test-utils/normalize-attributes.js +++ b/test/render/test-utils/normalize-attributes.js @@ -1,3 +1,7 @@ +// loaders.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + const DEFAULT_COLOR = {constant: true, size: 4, value: new Float32Array([0, 0, 0, 255])}; const DEFAULT_NORMAL = {constant: true, size: 3, value: new Float32Array([0, 0, 1])}; const DEFAULT_TEX_COORDS = {constant: true, size: 2, value: new Float32Array([0, 0])};