1
0
Fork 0

Activated comments in Foxx Test

This commit is contained in:
Michael Hackstein 2015-03-10 15:04:07 +01:00
parent a3950cf8ba
commit aafd1feb9f
2 changed files with 26 additions and 10 deletions

View File

@ -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
*/
});
}());

View File

@ -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();
}
});
*/
});