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() {});
|
controller.get("/c", function() {});
|
||||||
|
|
||||||
/** A comment
|
|
||||||
* inline with controller*/ controller.get("/d", function() {
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
/** A comment
|
/** A comment
|
||||||
Containing 2 * 3 = 5
|
Containing 2 * 3 = 5
|
||||||
*/
|
*/
|
||||||
|
@ -66,4 +61,18 @@
|
||||||
stuff */
|
stuff */
|
||||||
controller.get("/k", function() {});
|
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() {
|
it("checking marvolous comments", function() {
|
||||||
var mount = "unittest/comments";
|
var mount = "/unittest/comments";
|
||||||
|
try {
|
||||||
FoxxManager.uninstall(mount, {force: true});
|
FoxxManager.uninstall(mount, {force: true});
|
||||||
|
} catch (e) {
|
||||||
|
throw e;
|
||||||
|
expect(e).toBeUndefined();
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
FoxxManager.install(fs.join(basePath, "fanciful-comments"), mount);
|
FoxxManager.install(fs.join(basePath, "fanciful-comments"), mount);
|
||||||
expect(true).toBeTruthy();
|
expect(true).toBeTruthy();
|
||||||
|
@ -367,8 +371,11 @@ describe("Foxx Manager install", function() {
|
||||||
expect(true).toBeFalsy("Failed to install app with comments.");
|
expect(true).toBeFalsy("Failed to install app with comments.");
|
||||||
expect(e).toBeUndefined();
|
expect(e).toBeUndefined();
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
FoxxManager.uninstall(mount, {force: true});
|
FoxxManager.uninstall(mount, {force: true});
|
||||||
|
} catch (e) {
|
||||||
|
expect(e).toBeUndefined();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
*/
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue