-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add basic integration test for JSDoc generation
- Loading branch information
1 parent
1f45379
commit 3e6b5a4
Showing
8 changed files
with
122 additions
and
1 deletion.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
test/expected/build/library.j/dest/resources/library/j/.library
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<library xmlns="http://www.sap.com/sap.ui.library.xsd" > | ||
|
||
<name>library.j</name> | ||
<vendor>SAP SE</vendor> | ||
<copyright>Some fancy copyright</copyright> | ||
<version>${version}</version> | ||
|
||
<documentation>Library J</documentation> | ||
|
||
</library> |
16 changes: 16 additions & 0 deletions
16
test/expected/build/library.j/dest/resources/library/j/some.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/*! | ||
* ${copyright} | ||
*/ | ||
|
||
sap.ui.define([], | ||
function() { | ||
"use strict"; | ||
|
||
/** | ||
* @alias library.j | ||
* @namespace | ||
* @public | ||
*/ | ||
var SomeFunction = function() {}; | ||
|
||
}, /* bExport= */ true); |
1 change: 1 addition & 0 deletions
1
test/expected/build/library.j/dest/test-resources/library/j/designtime/api.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"$schema-ref":"http://schemas.sap.com/sapui5/designtime/api.json/1.0","version":"1.0.0","symbols":[{"kind":"namespace","name":"library.j","basename":"j","resource":"library/j/some.js","module":"library/j/some","static":true,"visibility":"public"}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<library xmlns="http://www.sap.com/sap.ui.library.xsd" > | ||
|
||
<name>library.j</name> | ||
<vendor>SAP SE</vendor> | ||
<copyright>Some fancy copyright</copyright> | ||
<version>${version}</version> | ||
|
||
<documentation>Library J</documentation> | ||
|
||
</library> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/*! | ||
* ${copyright} | ||
*/ | ||
|
||
sap.ui.define([], | ||
function() { | ||
"use strict"; | ||
|
||
/** | ||
* @alias library.j | ||
* @namespace | ||
* @public | ||
*/ | ||
var SomeFunction = function() {}; | ||
|
||
}, /* bExport= */ true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "library.j", | ||
"version": "1.0.0", | ||
"description": "Simple SAPUI5 based library for testing JSDoc builds", | ||
"dependencies": {}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
specVersion: "0.1" | ||
type: library | ||
metadata: | ||
name: library.j | ||
resources: | ||
configuration: | ||
paths: | ||
src: main/src | ||
test: main/test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters