Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Unified Diff: third_party/pkg/angular/karma-perf.conf.js

Issue 124053002: Adding Angular and dependent packages for testing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/pkg/angular/karma-perf.conf.js
diff --git a/third_party/pkg/angular/karma-perf.conf.js b/third_party/pkg/angular/karma-perf.conf.js
new file mode 100644
index 0000000000000000000000000000000000000000..7e1744b68d64b2a06a61a93cecec8c57bf62fe84
--- /dev/null
+++ b/third_party/pkg/angular/karma-perf.conf.js
@@ -0,0 +1,42 @@
+module.exports = function(config) {
+ config.set({
+ //logLevel: config.LOG_DEBUG,
+ basePath: '.',
+ frameworks: ['dart-unittest'],
+
+ // list of files / patterns to load in the browser
+ // all tests must be 'included', but all other libraries must be 'served' and
+ // optionally 'watched' only.
+ files: [
+ 'perf/dom/*.dart',
+ 'test/config/filter_tests.dart',
+ {pattern: '**/*.dart', watched: true, included: false, served: true},
+ 'packages/browser/dart.js',
+ 'packages/browser/interop.js',
+ ],
+
+ autoWatch: false,
+
+ // If browser does not capture in given timeout [ms], kill it
+ captureTimeout: 5000,
+
+ plugins: [
+ 'karma-dart',
+ 'karma-chrome-launcher',
+ 'karma-script-launcher',
+ 'karma-junit-reporter',
+ '../../../karma-parser-generator',
+ '../../../karma-parser-getter-setter'
+ ],
+
+ preprocessors: {
+ 'test/core/parser/generated_functions.dart': ['parser-generator'],
+ 'test/core/parser/generated_getter_setter.dart': ['parser-getter-setter']
+ },
+
+ junitReporter: {
+ outputFile: 'test_out/unit.xml',
+ suite: 'unit'
+ }
+ });
+};

Powered by Google App Engine
This is Rietveld 408576698