Skip to content

Commit

Permalink
chore(test): Add license headers (#3169)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibgreen authored Dec 2, 2024
1 parent ada9b94 commit f1b999c
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/bench/node.js
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
4 changes: 4 additions & 0 deletions test/common/conformance.ts
Original file line number Diff line number Diff line change
@@ -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`);
Expand Down
4 changes: 4 additions & 0 deletions test/render/test-cases/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// loaders.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors

import meshTestCases from './mesh';
import pointCloudTestCases from './point-cloud';

Expand Down
4 changes: 4 additions & 0 deletions test/render/test-cases/mesh.js
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
4 changes: 4 additions & 0 deletions test/render/test-cases/point-cloud.js
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
4 changes: 4 additions & 0 deletions test/render/test-utils/get-model.js
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
4 changes: 4 additions & 0 deletions test/render/test-utils/normalize-attributes.js
Original file line number Diff line number Diff line change
@@ -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])};
Expand Down

0 comments on commit f1b999c

Please sign in to comment.