Permalink
Browse files

rename TrivialConsoleReporter to ConsoleReporter

  • Loading branch information...
1 parent 0b97951 commit e4e9b51544d2bcfcf9b7083e601a97466b818aff Davis W. Frank committed Jun 17, 2011
View
@@ -2471,6 +2471,6 @@ jasmine.version_= {
"major": 1,
"minor": 1,
"build": 0,
- "revision": 1308288659,
+ "revision": 1308288921,
"rc": 1
};
@@ -1,4 +1,4 @@
-describe("TrivialConsoleReporter", function() {
+describe("ConsoleReporter", function() {
//keep these literal. otherwise the test loses value as a test.
function green(str) {
return '\033[32m' + str + '\033[0m';
@@ -107,7 +107,7 @@ describe("TrivialConsoleReporter", function() {
})();
done = false;
- reporter = new jasmine.TrivialConsoleReporter(out.print, function(runner) {
+ reporter = new jasmine.ConsoleReporter(out.print, function(runner) {
done = true
});
});
View
@@ -10,7 +10,7 @@ var jasmineGlobals = require('../lib/jasmine.js');
for (var k in jasmineGlobals) {
global[k] = jasmineGlobals[k];
}
-require('../src/console/TrivialConsoleReporter.js');
+require('../src/console/ConsoleReporter.js');
/*
Pulling in code from jasmine-node.
@@ -37,7 +37,7 @@ jasmine.executeSpecs = function(specs, done, isVerbose, showColors) {
}
var jasmineEnv = jasmine.getEnv();
- var consoleReporter = new jasmine.TrivialConsoleReporter(sys.print, done, showColors);
+ var consoleReporter = new jasmine.ConsoleReporter(sys.print, done, showColors);
jasmineEnv.addReporter(consoleReporter);
jasmineEnv.execute();
View
@@ -16,7 +16,7 @@
<!-- include source files here... -->
<script type="text/javascript" src="../src/html/TrivialReporter.js"></script>
- <script type="text/javascript" src="../src/console/TrivialConsoleReporter.js"></script>
+ <script type="text/javascript" src="../src/console/ConsoleReporter.js"></script>
<!-- include spec files here... -->
<script type="text/javascript" src="../spec/core/BaseSpec.js"></script>
@@ -41,7 +41,7 @@
<script type="text/javascript" src="../spec/html/MatchersHtmlSpec.js"></script>
<script type="text/javascript" src="../spec/html/PrettyPrintHtmlSpec.js"></script>
<script type="text/javascript" src="../spec/html/TrivialReporterSpec.js"></script>
- <script type="text/javascript" src="../spec/console/TrivialConsoleReporterSpec.js"></script>
+ <script type="text/javascript" src="../spec/console/ConsoleReporterSpec.js"></script>
<script type="text/javascript">
(function() {
@@ -1,4 +1,4 @@
-jasmine.TrivialConsoleReporter = function(print, doneCallback, showColors) {
+jasmine.ConsoleReporter = function(print, doneCallback, showColors) {
//inspired by mhevery's jasmine-node reporter
//https://github.com/mhevery/jasmine-node
View
@@ -2,6 +2,6 @@ jasmine.version_= {
"major": 1,
"minor": 1,
"build": 0,
- "revision": 1308288659,
+ "revision": 1308288921,
"rc": 1
};

0 comments on commit e4e9b51

Please sign in to comment.