Permalink
Browse files

Add some new tests with proper CALL results handling, refs #108

  • Loading branch information...
1 parent 06eb84f commit d10bdfb57fdec0baf4e4e1616bda9571dac2e082 @Sannis committed Mar 31, 2012
Showing with 317 additions and 71 deletions.
  1. +6 −1 Makefile
  2. +3 −0 nodelint.conf
  3. +2 −3 package.json
  4. +305 −55 tests/complex/test-call-stored-procedure.js
  5. +1 −12 wscript
View
@@ -42,6 +42,11 @@ test-profile: devdependencies
/usr/bin/env node --prof ./node_modules/.bin/nodeunit tests/simple tests/complex tests/issues
/usr/bin/env linux-tick-processor v8.log > v8.processed.log
+#lint: devdependencies
+ #cpplint ./src/*.h ./src/*.cc
+ #./node_modules/.bin/nodelint --config ./nodelint.conf ./package.json ./mysql-libmysqlclient.js ./doc ./tools/*.js
+ #./node_modules/.bin/nodelint --config ./nodelint.conf ./tests
+
inspector: devdependencies
${NI} --web-port=${NI_WEB_PORT} &
${WEB_BROWSER} http://127.0.0.1:${NI_WEB_PORT}/debug?port=${NI_DEBUG_PORT}
@@ -55,4 +60,4 @@ devdependencies-stamp:
touch devdependencies-stamp
npm install --dev .
-.PHONY: all waf gyp clean clean-all test test-all test-profile inspector mlf
+.PHONY: all waf gyp clean clean-all test test-all test-profile lint inspector mlf
View
@@ -0,0 +1,3 @@
+var options = {
+ maxlen: 120
+};
View
@@ -52,8 +52,7 @@
}
, "engines" : { "node" : "0.4.x || 0.5.x || 0.6.x" }
, "devDependencies" :
- { "nodeunit" : "*"
- , "nodelint" : "*"
- , "node-inspector" : "*"
+ { "nodeunit" : ">= 0.7"
+ , "nodelint" : ">= 0.6"
}
}
Oops, something went wrong.

0 comments on commit d10bdfb

Please sign in to comment.