@eclipse-glsp/graph 2.8.0-next.5 → 2.8.0-next.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -7
- package/lib/galignable.spec.d.ts +0 -2
- package/lib/galignable.spec.d.ts.map +0 -1
- package/lib/galignable.spec.js +0 -68
- package/lib/galignable.spec.js.map +0 -1
- package/lib/gbounds-aware.spec.d.ts +0 -2
- package/lib/gbounds-aware.spec.d.ts.map +0 -1
- package/lib/gbounds-aware.spec.js +0 -94
- package/lib/gbounds-aware.spec.js.map +0 -1
- package/lib/index.spec.d.ts +0 -16
- package/lib/index.spec.d.ts.map +0 -1
- package/lib/index.spec.js +0 -27
- package/lib/index.spec.js.map +0 -1
- package/src/galignable.spec.ts +0 -74
- package/src/gbounds-aware.spec.ts +0 -105
- package/src/index.spec.ts +0 -27
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclipse-glsp/graph",
|
|
3
|
-
"version": "2.8.0-next.
|
|
3
|
+
"version": "2.8.0-next.7",
|
|
4
4
|
"description": "The typescript implementation of the GLSP graphical model (GModel)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eclipse",
|
|
@@ -36,7 +36,9 @@
|
|
|
36
36
|
"types": "lib/index",
|
|
37
37
|
"files": [
|
|
38
38
|
"lib",
|
|
39
|
-
"src"
|
|
39
|
+
"src",
|
|
40
|
+
"!**/*.spec.ts",
|
|
41
|
+
"!**/*.spec.tsx"
|
|
40
42
|
],
|
|
41
43
|
"dependencies": {
|
|
42
44
|
"@eclipse-glsp/protocol": "next"
|
|
@@ -46,11 +48,8 @@
|
|
|
46
48
|
},
|
|
47
49
|
"scripts": {
|
|
48
50
|
"build": "tsc -b",
|
|
49
|
-
"clean": "rimraf lib *.tsbuildinfo coverage
|
|
51
|
+
"clean": "rimraf lib *.tsbuildinfo coverage",
|
|
50
52
|
"generate:index": "glsp generateIndex src -f -s",
|
|
51
|
-
"lint": "eslint ./src"
|
|
52
|
-
"test": "mocha --config ../../.mocharc \"./src/**/*.spec.?(ts|tsx)\"",
|
|
53
|
-
"test:ci": "pnpm test --reporter mocha-ctrf-json-reporter",
|
|
54
|
-
"test:coverage": "nyc pnpm test"
|
|
53
|
+
"lint": "eslint ./src"
|
|
55
54
|
}
|
|
56
55
|
}
|
package/lib/galignable.spec.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"galignable.spec.d.ts","sourceRoot":"","sources":["../src/galignable.spec.ts"],"names":[],"mappings":""}
|
package/lib/galignable.spec.js
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
/********************************************************************************
|
|
4
|
-
* Copyright (c) 2024 EclipseSource and others.
|
|
5
|
-
*
|
|
6
|
-
* This program and the accompanying materials are made available under the
|
|
7
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
8
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
9
|
-
*
|
|
10
|
-
* This Source Code may also be made available under the following Secondary
|
|
11
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
12
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
13
|
-
* with the GNU Classpath Exception which is available at
|
|
14
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
15
|
-
*
|
|
16
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
17
|
-
********************************************************************************/
|
|
18
|
-
const protocol_1 = require("@eclipse-glsp/protocol");
|
|
19
|
-
const chai_1 = require("chai");
|
|
20
|
-
const galignable_1 = require("./galignable");
|
|
21
|
-
const glabel_1 = require("./glabel");
|
|
22
|
-
const gnode_1 = require("./gnode");
|
|
23
|
-
describe('GAlignable Tests', () => {
|
|
24
|
-
describe('isGAlignable function', () => {
|
|
25
|
-
it('should return true for a GAlignable element', () => {
|
|
26
|
-
const gLabelElement = new glabel_1.GLabelBuilder(glabel_1.GLabel) //
|
|
27
|
-
.type(protocol_1.DefaultTypes.LABEL) //
|
|
28
|
-
.build();
|
|
29
|
-
const result = (0, galignable_1.isGAlignable)(gLabelElement);
|
|
30
|
-
(0, chai_1.expect)(result).to.be.true;
|
|
31
|
-
});
|
|
32
|
-
it('should return false for a non-GAlignable element', () => {
|
|
33
|
-
const gNodeElement = new gnode_1.GNodeBuilder(gnode_1.GNode) //
|
|
34
|
-
.position(100, 50) //
|
|
35
|
-
.size(50, 15) //
|
|
36
|
-
.type(protocol_1.DefaultTypes.NODE) //
|
|
37
|
-
.build();
|
|
38
|
-
const result = (0, galignable_1.isGAlignable)(gNodeElement);
|
|
39
|
-
(0, chai_1.expect)(result).to.be.false;
|
|
40
|
-
});
|
|
41
|
-
});
|
|
42
|
-
describe('GAlignableBuilder alignment function', () => {
|
|
43
|
-
it('should set alignment using a point object', () => {
|
|
44
|
-
const builder = new glabel_1.GLabelBuilder(glabel_1.GLabel);
|
|
45
|
-
galignable_1.GAlignableBuilder.alignment(builder, { x: 45, y: 90 });
|
|
46
|
-
(0, chai_1.expect)(builder['proxy'].alignment).to.deep.equal({ x: 45, y: 90 });
|
|
47
|
-
});
|
|
48
|
-
it('should set alignment using x and y parameters', () => {
|
|
49
|
-
let builder = new glabel_1.GLabelBuilder(glabel_1.GLabel);
|
|
50
|
-
galignable_1.GAlignableBuilder.alignment(builder, 8, 16);
|
|
51
|
-
(0, chai_1.expect)(builder['proxy'].alignment).to.deep.equal({ x: 8, y: 16 });
|
|
52
|
-
builder = new glabel_1.GLabelBuilder(glabel_1.GLabel);
|
|
53
|
-
galignable_1.GAlignableBuilder.alignment(builder, 12, 0);
|
|
54
|
-
(0, chai_1.expect)(builder['proxy'].alignment).to.deep.equal({ x: 12, y: 0 });
|
|
55
|
-
});
|
|
56
|
-
it('should set alignment from point object if y is provided too', () => {
|
|
57
|
-
const builder = new glabel_1.GLabelBuilder(glabel_1.GLabel);
|
|
58
|
-
galignable_1.GAlignableBuilder.alignment(builder, { x: 17, y: 71 }, 15);
|
|
59
|
-
(0, chai_1.expect)(builder['proxy'].alignment).to.deep.equal({ x: 17, y: 71 });
|
|
60
|
-
});
|
|
61
|
-
it('should default y to 0 if y is not provided', () => {
|
|
62
|
-
const builder = new glabel_1.GLabelBuilder(glabel_1.GLabel);
|
|
63
|
-
galignable_1.GAlignableBuilder.alignment(builder, 77);
|
|
64
|
-
(0, chai_1.expect)(builder['proxy'].alignment).to.deep.equal({ x: 77, y: 0 });
|
|
65
|
-
});
|
|
66
|
-
});
|
|
67
|
-
});
|
|
68
|
-
//# sourceMappingURL=galignable.spec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"galignable.spec.js","sourceRoot":"","sources":["../src/galignable.spec.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,qDAAsD;AACtD,+BAA8B;AAC9B,6CAA+D;AAC/D,qCAAiD;AACjD,mCAA8C;AAE9C,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;IAC9B,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;QACnC,EAAE,CAAC,6CAA6C,EAAE,GAAG,EAAE;YACnD,MAAM,aAAa,GAAG,IAAI,sBAAa,CAAC,eAAM,CAAC,CAAC,EAAE;iBAC7C,IAAI,CAAC,uBAAY,CAAC,KAAK,CAAC,CAAC,EAAE;iBAC3B,KAAK,EAAE,CAAC;YAEb,MAAM,MAAM,GAAG,IAAA,yBAAY,EAAC,aAAa,CAAC,CAAC;YAC3C,IAAA,aAAM,EAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC;QAC9B,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,kDAAkD,EAAE,GAAG,EAAE;YACxD,MAAM,YAAY,GAAG,IAAI,oBAAY,CAAC,aAAK,CAAC,CAAC,EAAE;iBAC1C,QA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ec.ts"],"names":[],"mappings":""}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
/********************************************************************************
|
|
4
|
-
* Copyright (c) 2024 EclipseSource and others.
|
|
5
|
-
*
|
|
6
|
-
* This program and the accompanying materials are made available under the
|
|
7
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
8
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
9
|
-
*
|
|
10
|
-
* This Source Code may also be made available under the following Secondary
|
|
11
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
12
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
13
|
-
* with the GNU Classpath Exception which is available at
|
|
14
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
15
|
-
*
|
|
16
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
17
|
-
********************************************************************************/
|
|
18
|
-
const protocol_1 = require("@eclipse-glsp/protocol");
|
|
19
|
-
const chai_1 = require("chai");
|
|
20
|
-
const gbounds_aware_1 = require("./gbounds-aware");
|
|
21
|
-
const gedge_1 = require("./gedge");
|
|
22
|
-
const gnode_1 = require("./gnode");
|
|
23
|
-
const gshape_element_1 = require("./gshape-element");
|
|
24
|
-
describe('GBoundsAware Tests', () => {
|
|
25
|
-
describe('isGBoundsAware function', () => {
|
|
26
|
-
it('should return true for a GBoundsAware element', () => {
|
|
27
|
-
const gNodeElement = new gnode_1.GNodeBuilder(gnode_1.GNode) //
|
|
28
|
-
.position(100, 50) //
|
|
29
|
-
.size(50, 15) //
|
|
30
|
-
.type(protocol_1.DefaultTypes.NODE) //
|
|
31
|
-
.build();
|
|
32
|
-
const result = (0, gbounds_aware_1.isGBoundsAware)(gNodeElement);
|
|
33
|
-
(0, chai_1.expect)(result).to.be.true;
|
|
34
|
-
});
|
|
35
|
-
it('should return false for a non-GBoundsAware element', () => {
|
|
36
|
-
const gEdgeElement = new gedge_1.GEdgeBuilder(gedge_1.GEdge) //
|
|
37
|
-
.type(protocol_1.DefaultTypes.EDGE) //
|
|
38
|
-
.build();
|
|
39
|
-
const result = (0, gbounds_aware_1.isGBoundsAware)(gEdgeElement);
|
|
40
|
-
(0, chai_1.expect)(result).to.be.false;
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
describe('GBoundsAwareBuilder position function', () => {
|
|
44
|
-
it('should set position using a point object', () => {
|
|
45
|
-
const builder = new gshape_element_1.GShapeElementBuilder(gnode_1.GNode);
|
|
46
|
-
gbounds_aware_1.GBoundsAwareBuilder.position(builder, { x: 5, y: 10 });
|
|
47
|
-
(0, chai_1.expect)(builder['proxy'].position).to.deep.equal({ x: 5, y: 10 });
|
|
48
|
-
});
|
|
49
|
-
it('should set position using x and y parameters', () => {
|
|
50
|
-
let builder = new gshape_element_1.GShapeElementBuilder(gnode_1.GNode);
|
|
51
|
-
gbounds_aware_1.GBoundsAwareBuilder.position(builder, 5, 10);
|
|
52
|
-
(0, chai_1.expect)(builder['proxy'].position).to.deep.equal({ x: 5, y: 10 });
|
|
53
|
-
builder = new gshape_element_1.GShapeElementBuilder(gnode_1.GNode);
|
|
54
|
-
gbounds_aware_1.GBoundsAwareBuilder.position(builder, 5, 0);
|
|
55
|
-
(0, chai_1.expect)(builder['proxy'].position).to.deep.equal({ x: 5, y: 0 });
|
|
56
|
-
});
|
|
57
|
-
it('should set position from point object if y is provided too', () => {
|
|
58
|
-
const builder = new gshape_element_1.GShapeElementBuilder(gnode_1.GNode);
|
|
59
|
-
gbounds_aware_1.GBoundsAwareBuilder.position(builder, { x: 17, y: 71 }, 15);
|
|
60
|
-
(0, chai_1.expect)(builder['proxy'].position).to.deep.equal({ x: 17, y: 71 });
|
|
61
|
-
});
|
|
62
|
-
it('should default y to 0 if y is not provided', () => {
|
|
63
|
-
const builder = new gshape_element_1.GShapeElementBuilder(gnode_1.GNode);
|
|
64
|
-
gbounds_aware_1.GBoundsAwareBuilder.position(builder, 35);
|
|
65
|
-
(0, chai_1.expect)(builder['proxy'].position).to.deep.equal({ x: 35, y: 0 });
|
|
66
|
-
});
|
|
67
|
-
});
|
|
68
|
-
describe('GBoundsAwareBuilder size function', () => {
|
|
69
|
-
it('should set size using a dimension object', () => {
|
|
70
|
-
const builder = new gshape_element_1.GShapeElementBuilder(gnode_1.GNode);
|
|
71
|
-
gbounds_aware_1.GBoundsAwareBuilder.size(builder, { width: 55, height: 15 });
|
|
72
|
-
(0, chai_1.expect)(builder['proxy'].size).to.deep.equal({ width: 55, height: 15 });
|
|
73
|
-
});
|
|
74
|
-
it('should set size using width and height parameters', () => {
|
|
75
|
-
let builder = new gshape_element_1.GShapeElementBuilder(gnode_1.GNode);
|
|
76
|
-
gbounds_aware_1.GBoundsAwareBuilder.size(builder, 50, 35);
|
|
77
|
-
(0, chai_1.expect)(builder['proxy'].size).to.deep.equal({ width: 50, height: 35 });
|
|
78
|
-
builder = new gshape_element_1.GShapeElementBuilder(gnode_1.GNode);
|
|
79
|
-
gbounds_aware_1.GBoundsAwareBuilder.size(builder, 70, 0);
|
|
80
|
-
(0, chai_1.expect)(builder['proxy'].size).to.deep.equal({ width: 70, height: 0 });
|
|
81
|
-
});
|
|
82
|
-
it('should set size from dimension object if height is provided too', () => {
|
|
83
|
-
const builder = new gshape_element_1.GShapeElementBuilder(gnode_1.GNode);
|
|
84
|
-
gbounds_aware_1.GBoundsAwareBuilder.size(builder, { width: 11, height: 33 }, 15);
|
|
85
|
-
(0, chai_1.expect)(builder['proxy'].size).to.deep.equal({ width: 11, height: 33 });
|
|
86
|
-
});
|
|
87
|
-
it('should default height to 0 if height is not provided', () => {
|
|
88
|
-
const builder = new gshape_element_1.GShapeElementBuilder(gnode_1.GNode);
|
|
89
|
-
gbounds_aware_1.GBoundsAwareBuilder.size(builder, 60);
|
|
90
|
-
(0, chai_1.expect)(builder['proxy'].size).to.deep.equal({ width: 60, height: 0 });
|
|
91
|
-
});
|
|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C,CAAC;YAChD,mCAAmB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;YACtC,IAAA,aAAM,EAAC,OAAO,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;QAC1E,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
package/lib/index.spec.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2022 STMicroelectronics and others.
|
|
3
|
-
*
|
|
4
|
-
* This program and the accompanying materials are made available under the
|
|
5
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
*
|
|
8
|
-
* This Source Code may also be made available under the following Secondary
|
|
9
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
-
* with the GNU Classpath Exception which is available at
|
|
12
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
-
*
|
|
14
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
-
********************************************************************************/
|
|
16
|
-
//# sourceMappingURL=index.spec.d.ts.map
|
package/lib/index.spec.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.spec.d.ts","sourceRoot":"","sources":["../src/index.spec.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF"}
|
package/lib/index.spec.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/********************************************************************************
|
|
3
|
-
* Copyright (c) 2022 STMicroelectronics and others.
|
|
4
|
-
*
|
|
5
|
-
* This program and the accompanying materials are made available under the
|
|
6
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
7
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
8
|
-
*
|
|
9
|
-
* This Source Code may also be made available under the following Secondary
|
|
10
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
11
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
12
|
-
* with the GNU Classpath Exception which is available at
|
|
13
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
14
|
-
*
|
|
15
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
16
|
-
********************************************************************************/
|
|
17
|
-
/* note: this bogus test file is required so that
|
|
18
|
-
we are able to run mocha unit tests on this
|
|
19
|
-
package, without having any actual unit tests in it.
|
|
20
|
-
This way a coverage report will be generated,
|
|
21
|
-
showing 0% coverage, instead of no report.
|
|
22
|
-
This file can be removed once we have real unit
|
|
23
|
-
tests in place. */
|
|
24
|
-
describe('graph package', () => {
|
|
25
|
-
it('should support code coverage statistics', () => true);
|
|
26
|
-
});
|
|
27
|
-
//# sourceMappingURL=index.spec.js.map
|
package/lib/index.spec.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../src/index.spec.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;AAElF;;;;;;qBAMqB;AAErB,QAAQ,CAAC,eAAe,EAAE,GAAG,EAAE;IAC3B,EAAE,CAAC,yCAAyC,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC;AAC9D,CAAC,CAAC,CAAC"}
|
package/src/galignable.spec.ts
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2024 EclipseSource and others.
|
|
3
|
-
*
|
|
4
|
-
* This program and the accompanying materials are made available under the
|
|
5
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
*
|
|
8
|
-
* This Source Code may also be made available under the following Secondary
|
|
9
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
-
* with the GNU Classpath Exception which is available at
|
|
12
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
-
*
|
|
14
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
-
********************************************************************************/
|
|
16
|
-
import { DefaultTypes } from '@eclipse-glsp/protocol';
|
|
17
|
-
import { expect } from 'chai';
|
|
18
|
-
import { GAlignableBuilder, isGAlignable } from './galignable';
|
|
19
|
-
import { GLabel, GLabelBuilder } from './glabel';
|
|
20
|
-
import { GNode, GNodeBuilder } from './gnode';
|
|
21
|
-
|
|
22
|
-
describe('GAlignable Tests', () => {
|
|
23
|
-
describe('isGAlignable function', () => {
|
|
24
|
-
it('should return true for a GAlignable element', () => {
|
|
25
|
-
const gLabelElement = new GLabelBuilder(GLabel) //
|
|
26
|
-
.type(DefaultTypes.LABEL) //
|
|
27
|
-
.build();
|
|
28
|
-
|
|
29
|
-
const result = isGAlignable(gLabelElement);
|
|
30
|
-
expect(result).to.be.true;
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
it('should return false for a non-GAlignable element', () => {
|
|
34
|
-
const gNodeElement = new GNodeBuilder(GNode) //
|
|
35
|
-
.position(100, 50) //
|
|
36
|
-
.size(50, 15) //
|
|
37
|
-
.type(DefaultTypes.NODE) //
|
|
38
|
-
.build();
|
|
39
|
-
|
|
40
|
-
const result = isGAlignable(gNodeElement);
|
|
41
|
-
expect(result).to.be.false;
|
|
42
|
-
});
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
describe('GAlignableBuilder alignment function', () => {
|
|
46
|
-
it('should set alignment using a point object', () => {
|
|
47
|
-
const builder = new GLabelBuilder(GLabel);
|
|
48
|
-
GAlignableBuilder.alignment(builder, { x: 45, y: 90 });
|
|
49
|
-
expect(builder['proxy'].alignment).to.deep.equal({ x: 45, y: 90 });
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
it('should set alignment using x and y parameters', () => {
|
|
53
|
-
let builder = new GLabelBuilder(GLabel);
|
|
54
|
-
GAlignableBuilder.alignment(builder, 8, 16);
|
|
55
|
-
expect(builder['proxy'].alignment).to.deep.equal({ x: 8, y: 16 });
|
|
56
|
-
|
|
57
|
-
builder = new GLabelBuilder(GLabel);
|
|
58
|
-
GAlignableBuilder.alignment(builder, 12, 0);
|
|
59
|
-
expect(builder['proxy'].alignment).to.deep.equal({ x: 12, y: 0 });
|
|
60
|
-
});
|
|
61
|
-
|
|
62
|
-
it('should set alignment from point object if y is provided too', () => {
|
|
63
|
-
const builder = new GLabelBuilder(GLabel);
|
|
64
|
-
GAlignableBuilder.alignment(builder, { x: 17, y: 71 }, 15);
|
|
65
|
-
expect(builder['proxy'].alignment).to.deep.equal({ x: 17, y: 71 });
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
it('should default y to 0 if y is not provided', () => {
|
|
69
|
-
const builder = new GLabelBuilder(GLabel);
|
|
70
|
-
GAlignableBuilder.alignment(builder, 77);
|
|
71
|
-
expect(builder['proxy'].alignment).to.deep.equal({ x: 77, y: 0 });
|
|
72
|
-
});
|
|
73
|
-
});
|
|
74
|
-
});
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2024 EclipseSource and others.
|
|
3
|
-
*
|
|
4
|
-
* This program and the accompanying materials are made available under the
|
|
5
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
*
|
|
8
|
-
* This Source Code may also be made available under the following Secondary
|
|
9
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
-
* with the GNU Classpath Exception which is available at
|
|
12
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
-
*
|
|
14
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
-
********************************************************************************/
|
|
16
|
-
import { DefaultTypes } from '@eclipse-glsp/protocol';
|
|
17
|
-
import { expect } from 'chai';
|
|
18
|
-
import { GBoundsAwareBuilder, isGBoundsAware } from './gbounds-aware';
|
|
19
|
-
import { GEdge, GEdgeBuilder } from './gedge';
|
|
20
|
-
import { GNode, GNodeBuilder } from './gnode';
|
|
21
|
-
import { GShapeElementBuilder } from './gshape-element';
|
|
22
|
-
|
|
23
|
-
describe('GBoundsAware Tests', () => {
|
|
24
|
-
describe('isGBoundsAware function', () => {
|
|
25
|
-
it('should return true for a GBoundsAware element', () => {
|
|
26
|
-
const gNodeElement = new GNodeBuilder(GNode) //
|
|
27
|
-
.position(100, 50) //
|
|
28
|
-
.size(50, 15) //
|
|
29
|
-
.type(DefaultTypes.NODE) //
|
|
30
|
-
.build();
|
|
31
|
-
|
|
32
|
-
const result = isGBoundsAware(gNodeElement);
|
|
33
|
-
expect(result).to.be.true;
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
it('should return false for a non-GBoundsAware element', () => {
|
|
37
|
-
const gEdgeElement = new GEdgeBuilder(GEdge) //
|
|
38
|
-
.type(DefaultTypes.EDGE) //
|
|
39
|
-
.build();
|
|
40
|
-
|
|
41
|
-
const result = isGBoundsAware(gEdgeElement);
|
|
42
|
-
expect(result).to.be.false;
|
|
43
|
-
});
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
describe('GBoundsAwareBuilder position function', () => {
|
|
47
|
-
it('should set position using a point object', () => {
|
|
48
|
-
const builder = new GShapeElementBuilder(GNode);
|
|
49
|
-
GBoundsAwareBuilder.position(builder, { x: 5, y: 10 });
|
|
50
|
-
expect(builder['proxy'].position).to.deep.equal({ x: 5, y: 10 });
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
it('should set position using x and y parameters', () => {
|
|
54
|
-
let builder = new GShapeElementBuilder(GNode);
|
|
55
|
-
GBoundsAwareBuilder.position(builder, 5, 10);
|
|
56
|
-
expect(builder['proxy'].position).to.deep.equal({ x: 5, y: 10 });
|
|
57
|
-
|
|
58
|
-
builder = new GShapeElementBuilder(GNode);
|
|
59
|
-
GBoundsAwareBuilder.position(builder, 5, 0);
|
|
60
|
-
expect(builder['proxy'].position).to.deep.equal({ x: 5, y: 0 });
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
it('should set position from point object if y is provided too', () => {
|
|
64
|
-
const builder = new GShapeElementBuilder(GNode);
|
|
65
|
-
GBoundsAwareBuilder.position(builder, { x: 17, y: 71 }, 15);
|
|
66
|
-
expect(builder['proxy'].position).to.deep.equal({ x: 17, y: 71 });
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
it('should default y to 0 if y is not provided', () => {
|
|
70
|
-
const builder = new GShapeElementBuilder(GNode);
|
|
71
|
-
GBoundsAwareBuilder.position(builder, 35);
|
|
72
|
-
expect(builder['proxy'].position).to.deep.equal({ x: 35, y: 0 });
|
|
73
|
-
});
|
|
74
|
-
});
|
|
75
|
-
|
|
76
|
-
describe('GBoundsAwareBuilder size function', () => {
|
|
77
|
-
it('should set size using a dimension object', () => {
|
|
78
|
-
const builder = new GShapeElementBuilder(GNode);
|
|
79
|
-
GBoundsAwareBuilder.size(builder, { width: 55, height: 15 });
|
|
80
|
-
expect(builder['proxy'].size).to.deep.equal({ width: 55, height: 15 });
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
it('should set size using width and height parameters', () => {
|
|
84
|
-
let builder = new GShapeElementBuilder(GNode);
|
|
85
|
-
GBoundsAwareBuilder.size(builder, 50, 35);
|
|
86
|
-
expect(builder['proxy'].size).to.deep.equal({ width: 50, height: 35 });
|
|
87
|
-
|
|
88
|
-
builder = new GShapeElementBuilder(GNode);
|
|
89
|
-
GBoundsAwareBuilder.size(builder, 70, 0);
|
|
90
|
-
expect(builder['proxy'].size).to.deep.equal({ width: 70, height: 0 });
|
|
91
|
-
});
|
|
92
|
-
|
|
93
|
-
it('should set size from dimension object if height is provided too', () => {
|
|
94
|
-
const builder = new GShapeElementBuilder(GNode);
|
|
95
|
-
GBoundsAwareBuilder.size(builder, { width: 11, height: 33 }, 15);
|
|
96
|
-
expect(builder['proxy'].size).to.deep.equal({ width: 11, height: 33 });
|
|
97
|
-
});
|
|
98
|
-
|
|
99
|
-
it('should default height to 0 if height is not provided', () => {
|
|
100
|
-
const builder = new GShapeElementBuilder(GNode);
|
|
101
|
-
GBoundsAwareBuilder.size(builder, 60);
|
|
102
|
-
expect(builder['proxy'].size).to.deep.equal({ width: 60, height: 0 });
|
|
103
|
-
});
|
|
104
|
-
});
|
|
105
|
-
});
|
package/src/index.spec.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2022 STMicroelectronics and others.
|
|
3
|
-
*
|
|
4
|
-
* This program and the accompanying materials are made available under the
|
|
5
|
-
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
6
|
-
* http://www.eclipse.org/legal/epl-2.0.
|
|
7
|
-
*
|
|
8
|
-
* This Source Code may also be made available under the following Secondary
|
|
9
|
-
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
10
|
-
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
11
|
-
* with the GNU Classpath Exception which is available at
|
|
12
|
-
* https://www.gnu.org/software/classpath/license.html.
|
|
13
|
-
*
|
|
14
|
-
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
|
-
********************************************************************************/
|
|
16
|
-
|
|
17
|
-
/* note: this bogus test file is required so that
|
|
18
|
-
we are able to run mocha unit tests on this
|
|
19
|
-
package, without having any actual unit tests in it.
|
|
20
|
-
This way a coverage report will be generated,
|
|
21
|
-
showing 0% coverage, instead of no report.
|
|
22
|
-
This file can be removed once we have real unit
|
|
23
|
-
tests in place. */
|
|
24
|
-
|
|
25
|
-
describe('graph package', () => {
|
|
26
|
-
it('should support code coverage statistics', () => true);
|
|
27
|
-
});
|