1
0
Fork 0

Passes JSLint

This commit is contained in:
Lucas Dohmen 2012-04-18 13:19:15 +02:00
parent d7c4bb0cc8
commit 4117c80a5f
1 changed files with 18 additions and 23 deletions

View File

@ -1,5 +1,10 @@
/*jslint indent: 2,
nomen: true,
maxlen: 80 */
/*global require, db, assertEqual */
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
/// @brief test the document interface /// @brief test the graph class
/// ///
/// @file /// @file
/// ///
@ -21,7 +26,7 @@
/// ///
/// Copyright holder is triAGENS GmbH, Cologne, Germany /// Copyright holder is triAGENS GmbH, Cologne, Germany
/// ///
/// @author Dr. Frank Celler /// @author Dr. Frank Celler, Lucas Dohmen
/// @author Copyright 2012, triAGENS GmbH, Cologne, Germany /// @author Copyright 2012, triAGENS GmbH, Cologne, Germany
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
@ -31,21 +36,17 @@ var jsunity = require("jsunity");
// --SECTION-- collection methods // --SECTION-- collection methods
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// --SECTION-- main
// -----------------------------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
/// @brief test suite: error handling /// @brief test suite: Graph Basics
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
function graphBasicsSuite () { function graphBasicsSuite() {
var ERRORS = require("internal").errors; "use strict";
var Graph = require("graph").Graph; //var ERRORS = require("internal").errors;
var Graph = require("graph").Graph,
var vertex = "UnitTestsCollectionVertex"; vertex = "UnitTestsCollectionVertex",
var edge = "UnitTestsCollectionEdge"; edge = "UnitTestsCollectionEdge",
var graph = null; graph = null;
return { return {
@ -70,7 +71,7 @@ function graphBasicsSuite () {
}, },
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
/// @brief bad handle /// @brief create a vertex
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
testCreateVertex : function () { testCreateVertex : function () {
@ -81,7 +82,7 @@ function graphBasicsSuite () {
}, },
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
/// @brief bad handle /// @brief change a property
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
testChangeProperty : function () { testChangeProperty : function () {
@ -103,10 +104,4 @@ function graphBasicsSuite () {
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
jsunity.run(graphBasicsSuite); jsunity.run(graphBasicsSuite);
jsunity.done();
return jsunity.done();
// Local Variables:
// mode: outline-minor
// outline-regexp: "^\\(/// @brief\\|/// @addtogroup\\|// --SECTION--\\|/// @page\\|/// @}\\)"
// End: