]> source.dussan.org Git - sonarqube.git/commitdiff
Remove legacy tests
authorStas Vilchik <vilchiks@gmail.com>
Fri, 14 Feb 2014 11:19:34 +0000 (17:19 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Fri, 14 Feb 2014 11:19:45 +0000 (17:19 +0600)
sonar-server/karma.conf.js
sonar-server/src/main/webapp/javascripts/tests/measures.js [deleted file]

index 9619bdfee07b4c50d8987690a8a28c3f49f58367..84533718a3b9d9436b131829d930f0186e89e70d 100644 (file)
@@ -23,17 +23,7 @@ module.exports = function(config) {
 
     // list of files / patterns to load in the browser
     files: [
-        // dependencies
-        'third-party/jquery.min.js',
-        'third-party/underscore.js',
-        'third-party/backbone.js',
-        'third-party/backbone.marionette.js',
-
-        // app
-        'navigator/filters/base-filters.js',
-
-        // tests
-        'tests/measures.js'
+        // nothing here yet
     ],
 
 
diff --git a/sonar-server/src/main/webapp/javascripts/tests/measures.js b/sonar-server/src/main/webapp/javascripts/tests/measures.js
deleted file mode 100644 (file)
index b8b2f23..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-/* jshint undef:false */
-
-test("filter defaults", function() {
-  var filter = new window.SS.Filter();
-  strictEqual(true, filter.get('multiple'), "multiple doesn't equal true");
-  equal(false, filter.get('placeholder'), "placeholder doesn't equal ''");
-});
-
-test("is model.view correctly set", function() {
-  var filter = new window.SS.Filter(),
-      filterView = new window.SS.BaseFilterView({
-        model: filter
-      });
-  strictEqual(filterView, filter.view, "model.view doesn't model's view");
-});
-
-test("is details view set to default", function() {
-  var filter = new window.SS.Filter(),
-      filterView = new window.SS.BaseFilterView({
-        model: filter
-      });
-  ok(filterView.detailsView instanceof window.SS.DetailsFilterView, "");
-});