mirror of https://gitee.com/bigwinds/arangodb
Activated comments in Foxx Test
This commit is contained in:
parent
a3950cf8ba
commit
aafd1feb9f
|
@ -20,11 +20,6 @@
|
|||
*/
|
||||
controller.get("/c", function() {});
|
||||
|
||||
/** A comment
|
||||
* inline with controller*/ controller.get("/d", function() {
|
||||
|
||||
});
|
||||
|
||||
/** A comment
|
||||
Containing 2 * 3 = 5
|
||||
*/
|
||||
|
@ -66,4 +61,18 @@
|
|||
stuff */
|
||||
controller.get("/k", function() {});
|
||||
|
||||
/** This
|
||||
* "is"
|
||||
* With quotation '' marks
|
||||
*/
|
||||
controller.get("/l", function() {});
|
||||
|
||||
/** valid
|
||||
* comment
|
||||
*/
|
||||
controller.get("/m", function() {
|
||||
/** this
|
||||
* shall be ignored
|
||||
*/
|
||||
});
|
||||
}());
|
||||
|
|
|
@ -356,10 +356,14 @@ describe("Foxx Manager install", function() {
|
|||
|
||||
});
|
||||
|
||||
/*
|
||||
it("checking marvolous comments", function() {
|
||||
var mount = "unittest/comments";
|
||||
FoxxManager.uninstall(mount, {force: true});
|
||||
var mount = "/unittest/comments";
|
||||
try {
|
||||
FoxxManager.uninstall(mount, {force: true});
|
||||
} catch (e) {
|
||||
throw e;
|
||||
expect(e).toBeUndefined();
|
||||
}
|
||||
try {
|
||||
FoxxManager.install(fs.join(basePath, "fanciful-comments"), mount);
|
||||
expect(true).toBeTruthy();
|
||||
|
@ -367,8 +371,11 @@ describe("Foxx Manager install", function() {
|
|||
expect(true).toBeFalsy("Failed to install app with comments.");
|
||||
expect(e).toBeUndefined();
|
||||
}
|
||||
FoxxManager.uninstall(mount, {force: true});
|
||||
try {
|
||||
FoxxManager.uninstall(mount, {force: true});
|
||||
} catch (e) {
|
||||
expect(e).toBeUndefined();
|
||||
}
|
||||
});
|
||||
*/
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue