Skip to content

Commit

Permalink
Merge pull request #4 from mmurdoch/master
Browse files Browse the repository at this point in the history
Integration with ArduinoUnit 1.5
  • Loading branch information
jeroendoggen committed Jan 4, 2013
2 parents 9a41ca0 + 2cd0839 commit 7f0a1bf
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
3 changes: 2 additions & 1 deletion arduino_testsuite/examples/buildErrorTest/buildErrorTest.ino
Expand Up @@ -5,6 +5,7 @@ TestSuite suite ("Simple Tests");

void setup()
{
Serial.begin(9600);
}

test(Passing)
Expand All @@ -21,4 +22,4 @@ void loop()
{
// Run test suite, printing results to the serial port
suite.run();
}
}
1 change: 1 addition & 0 deletions arduino_testsuite/examples/floatingPin/floatingPin.ino
Expand Up @@ -11,6 +11,7 @@ test(floatingInputPin)

void setup()
{
Serial.begin(9600);
}

void loop()
Expand Down
1 change: 1 addition & 0 deletions arduino_testsuite/examples/inInterval/inInterval.ino
Expand Up @@ -6,6 +6,7 @@ TestHelper helper;

void setup()
{
Serial.begin(9600);
}

test(interval)
Expand Down
3 changes: 2 additions & 1 deletion arduino_testsuite/examples/simpleTest/simpleTest.ino
Expand Up @@ -4,6 +4,7 @@ TestSuite suite ("Simple Tests");

void setup()
{
Serial.begin(9600);
}

test(Passing)
Expand All @@ -20,4 +21,4 @@ void loop()
{
// Run test suite, printing results to the serial port
suite.run();
}
}
3 changes: 2 additions & 1 deletion arduino_testsuite/examples/slowTest/slowTest.ino
Expand Up @@ -4,6 +4,7 @@ TestSuite suite ("Slow test (with a 10s delay)");

void setup()
{
Serial.begin(9600);
}

test(Passing)
Expand All @@ -21,4 +22,4 @@ void loop()
delay(10000);
// Run test suite, printing results to the serial port
suite.run();
}
}
3 changes: 2 additions & 1 deletion arduino_testsuite/examples/verySlowTest/verySlowTest.ino
Expand Up @@ -4,6 +4,7 @@ TestSuite suite ("Very slow test (with a 20s delay)");

void setup()
{
Serial.begin(9600);
}

test(Passing)
Expand All @@ -21,4 +22,4 @@ void loop()
delay(20000);
// Run test suite, printing results to the serial port
suite.run();
}
}

0 comments on commit 7f0a1bf

Please sign in to comment.