'use strict';

var grunt = require('grunt');

/*
  ======== A Handy Little Nodeunit Reference ========
  https://github.com/caolan/nodeunit

  Test methods:
    test.expect(numAssertions)
    test.done()
  Test assertions:
    test.ok(value, [message])
    test.equal(actual, expected, [message])
    test.notEqual(actual, expected, [message])
    test.deepEqual(actual, expected, [message])
    test.notDeepEqual(actual, expected, [message])
    test.strictEqual(actual, expected, [message])
    test.notStrictEqual(actual, expected, [message])
    test.throws(block, [error], [message])
    test.doesNotThrow(block, [error], [message])
    test.ifError(value)
*/

exports.phonegap_project = {
  setUp: function(done) {
    // setup here if necessary
    done();
  },
  default_options: function(test) {
    test.expect(1);

    var actual = grunt.file.read('tmp/default_options');
    var expected = grunt.file.read('test/expected/default_options');
    test.equal(actual, expected, 'should describe what the default behavior is.');

    test.done();
  },
  custom_options: function(test) {
    test.expect(1);

    var actual = grunt.file.read('tmp/custom_options');
    var expected = grunt.file.read('test/expected/custom_options');
    test.equal(actual, expected, 'should describe what the custom option(s) behavior is.');

    test.done();
  }
};

@@ -688,16 +688,18 @@
 ect = %7B%0A
+  
   setUp:
@@ -747,16 +747,20 @@
 cessary%0A
+    
     done
@@ -765,19 +765,26 @@
 ne();%0A  
-%7D,%0A
+  %7D%0A/*%0A%0A  
   defaul
@@ -807,32 +807,36 @@
 ion(test) %7B%0A    
+   
+ 
 test.expect(1);%0A
@@ -828,32 +828,36 @@
 est.expect(1);%0A%0A
+    
     var actual =
@@ -893,32 +893,36 @@
 _options');%0A    
+   
+ 
 var expected = g
@@ -962,32 +962,36 @@
 ault_options');%0A
+    
     test.equal(a
@@ -1054,32 +1054,36 @@
 ior is.');%0A%0A    
+  
+  
 test.done();%0A  %7D
@@ -1083,13 +1083,17 @@
 ();%0A
+  
   %7D,%0A
+  
   cu
@@ -1123,24 +1123,28 @@
 test) %7B%0A    
+  
+  
 test.expect(
@@ -1144,24 +1144,28 @@
 expect(1);%0A%0A
+    
     var actu
@@ -1208,24 +1208,28 @@
 ions');%0A    
+  
+  
 var expected
@@ -1276,24 +1276,28 @@
 _options');%0A
+    
     test.equ
@@ -1373,24 +1373,28 @@
 ior is.');%0A%0A
+    
     test.don
@@ -1400,13 +1400,18 @@
 ne();%0A  
-%7D
+  %7D%0A*/
 %0A%7D;%0A

test // comment defaulr