tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [02/31] tez git commit: TEZ-3227. Tez UI: Replace UI1 with UI2 (sree)
Date Tue, 26 Apr 2016 10:18:33 GMT
http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/routes/single-am-pollster-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/routes/single-am-pollster-test.js b/tez-ui2/src/main/webapp/tests/unit/routes/single-am-pollster-test.js
deleted file mode 100644
index 69c9457..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/routes/single-am-pollster-test.js
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('route:single-am-pollster', 'Unit | Route | single am pollster', {
-  // Specify the other units that are required for this test.
-  // needs: ['controller:foo']
-});
-
-test('Basic creation test', function(assert) {
-  let route = this.subject();
-
-  assert.ok(route);
-  assert.ok(route.canPoll);
-  assert.ok(route._loadedValueObserver);
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/routes/task-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/routes/task-test.js b/tez-ui2/src/main/webapp/tests/unit/routes/task-test.js
deleted file mode 100644
index 9252a3e..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/routes/task-test.js
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('route:task', 'Unit | Route | task', {
-  // Specify the other units that are required for this test.
-  // needs: ['controller:foo']
-});
-
-test('Basic creation test', function(assert) {
-  let route = this.subject();
-
-  assert.ok(route);
-  assert.ok(route.loaderQueryParams);
-  assert.ok(route.model);
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/routes/task/attempts-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/routes/task/attempts-test.js b/tez-ui2/src/main/webapp/tests/unit/routes/task/attempts-test.js
deleted file mode 100644
index b38cc6f..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/routes/task/attempts-test.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('route:task/attempts', 'Unit | Route | task/attempts', {
-  // Specify the other units that are required for this test.
-  // needs: ['controller:foo']
-});
-
-test('Basic creation test', function(assert) {
-  let route = this.subject();
-
-  assert.ok(route);
-  assert.ok(route.title);
-  assert.ok(route.loaderNamespace);
-  assert.ok(route.setupController);
-  assert.ok(route.load);
-});
-
-test('setupController test', function(assert) {
-  assert.expect(1);
-
-  let route = this.subject({
-    startCrumbBubble: function () {
-      assert.ok(true);
-    }
-  });
-
-  route.setupController({}, {});
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/routes/task/counters-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/routes/task/counters-test.js b/tez-ui2/src/main/webapp/tests/unit/routes/task/counters-test.js
deleted file mode 100644
index 87895aa..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/routes/task/counters-test.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('route:task/counters', 'Unit | Route | task/counters', {
-  // Specify the other units that are required for this test.
-  // needs: ['controller:foo']
-});
-
-test('Basic creation test', function(assert) {
-  let route = this.subject();
-
-  assert.ok(route);
-  assert.ok(route.title);
-  assert.ok(route.loaderNamespace);
-  assert.ok(route.setupController);
-  assert.ok(route.load);
-});
-
-test('setupController test', function(assert) {
-  assert.expect(1);
-
-  let route = this.subject({
-    startCrumbBubble: function () {
-      assert.ok(true);
-    }
-  });
-
-  route.setupController({}, {});
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/routes/task/index-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/routes/task/index-test.js b/tez-ui2/src/main/webapp/tests/unit/routes/task/index-test.js
deleted file mode 100644
index 4d95108..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/routes/task/index-test.js
+++ /dev/null
@@ -1,48 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('route:task/index', 'Unit | Route | task/index', {
-  // Specify the other units that are required for this test.
-  // needs: ['controller:foo']
-});
-
-test('Basic creation test', function(assert) {
-  let route = this.subject();
-
-  assert.ok(route);
-  assert.ok(route.title);
-  assert.ok(route.loaderNamespace);
-  assert.ok(route.setupController);
-  assert.ok(route.load);
-
-  assert.ok(route.loadAttempts);
-});
-
-test('setupController test', function(assert) {
-  assert.expect(1);
-
-  let route = this.subject({
-    startCrumbBubble: function () {
-      assert.ok(true);
-    }
-  });
-
-  route.setupController({}, {});
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/routes/vertex-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/routes/vertex-test.js b/tez-ui2/src/main/webapp/tests/unit/routes/vertex-test.js
deleted file mode 100644
index 79cef72..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/routes/vertex-test.js
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('route:vertex', 'Unit | Route | vertex', {
-  // Specify the other units that are required for this test.
-  // needs: ['controller:foo']
-});
-
-test('Basic creation test', function(assert) {
-  let route = this.subject();
-
-  assert.ok(route);
-  assert.ok(route.loaderQueryParams);
-  assert.ok(route.model);
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/routes/vertex/attempts-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/routes/vertex/attempts-test.js b/tez-ui2/src/main/webapp/tests/unit/routes/vertex/attempts-test.js
deleted file mode 100644
index 250a3b5..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/routes/vertex/attempts-test.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('route:vertex/attempts', 'Unit | Route | vertex/attempts', {
-  // Specify the other units that are required for this test.
-  // needs: ['controller:foo']
-});
-
-test('Basic creation test', function(assert) {
-  let route = this.subject();
-
-  assert.ok(route);
-  assert.ok(route.title);
-  assert.ok(route.loaderNamespace);
-  assert.ok(route.setupController);
-  assert.ok(route.load);
-});
-
-test('setupController test', function(assert) {
-  assert.expect(1);
-
-  let route = this.subject({
-    startCrumbBubble: function () {
-      assert.ok(true);
-    }
-  });
-
-  route.setupController({}, {});
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/routes/vertex/counters-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/routes/vertex/counters-test.js b/tez-ui2/src/main/webapp/tests/unit/routes/vertex/counters-test.js
deleted file mode 100644
index 9c14e8f..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/routes/vertex/counters-test.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('route:vertex/counters', 'Unit | Route | vertex/counters', {
-  // Specify the other units that are required for this test.
-  // needs: ['controller:foo']
-});
-
-test('Basic creation test', function(assert) {
-  let route = this.subject();
-
-  assert.ok(route);
-  assert.ok(route.title);
-  assert.ok(route.loaderNamespace);
-  assert.ok(route.setupController);
-  assert.ok(route.load);
-});
-
-test('setupController test', function(assert) {
-  assert.expect(1);
-
-  let route = this.subject({
-    startCrumbBubble: function () {
-      assert.ok(true);
-    }
-  });
-
-  route.setupController({}, {});
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/routes/vertex/index-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/routes/vertex/index-test.js b/tez-ui2/src/main/webapp/tests/unit/routes/vertex/index-test.js
deleted file mode 100644
index bab59b6..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/routes/vertex/index-test.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('route:vertex/index', 'Unit | Route | vertex/index', {
-  // Specify the other units that are required for this test.
-  // needs: ['controller:foo']
-});
-
-test('Basic creation test', function(assert) {
-  let route = this.subject();
-
-  assert.ok(route);
-  assert.ok(route.title);
-  assert.ok(route.loaderNamespace);
-  assert.ok(route.setupController);
-  assert.ok(route.load);
-});
-
-test('setupController test', function(assert) {
-  assert.expect(1);
-
-  let route = this.subject({
-    startCrumbBubble: function () {
-      assert.ok(true);
-    }
-  });
-
-  route.setupController({}, {});
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/routes/vertex/tasks-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/routes/vertex/tasks-test.js b/tez-ui2/src/main/webapp/tests/unit/routes/vertex/tasks-test.js
deleted file mode 100644
index ee983d8..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/routes/vertex/tasks-test.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import Ember from 'ember';
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('route:vertex/tasks', 'Unit | Route | vertex/tasks', {
-  // Specify the other units that are required for this test.
-  // needs: ['controller:foo']
-});
-
-test('Basic creation test', function(assert) {
-  let route = this.subject({
-    initVisibleColumns: Ember.K,
-    getCounterColumns: Ember.K
-  });
-
-  assert.ok(route);
-  assert.ok(route.title);
-  assert.ok(route.loaderNamespace);
-  assert.ok(route.setupController);
-  assert.ok(route.load);
-});
-
-test('setupController test', function(assert) {
-  assert.expect(1);
-
-  let route = this.subject({
-    startCrumbBubble: function () {
-      assert.ok(true);
-    }
-  });
-
-  route.setupController({}, {});
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/serializers/ahs-app-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/serializers/ahs-app-test.js b/tez-ui2/src/main/webapp/tests/unit/serializers/ahs-app-test.js
deleted file mode 100644
index 8e44179..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/serializers/ahs-app-test.js
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('serializer:ahs-app', 'Unit | Serializer | ahs app', {
-  // Specify the other units that are required for this test.
-  // needs: ['serializer:timeline']
-});
-
-test('Basic creation test', function(assert) {
-  let serializer = this.subject();
-
-  assert.ok(serializer);
-  assert.ok(serializer.primaryKey);
-  assert.ok(serializer.extractArrayPayload);
-
-  assert.ok(serializer.maps);
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/serializers/am-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/serializers/am-test.js b/tez-ui2/src/main/webapp/tests/unit/serializers/am-test.js
deleted file mode 100644
index d9476ad..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/serializers/am-test.js
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('serializer:am', 'Unit | Serializer | am', {
-  // Specify the other units that are required for this test.
-  // needs: ['serializer:foo']
-});
-
-test('Basic creation test', function(assert) {
-  let serializer = this.subject();
-
-  assert.ok(serializer);
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/serializers/app-rm-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/serializers/app-rm-test.js b/tez-ui2/src/main/webapp/tests/unit/serializers/app-rm-test.js
deleted file mode 100644
index 01051cf..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/serializers/app-rm-test.js
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('serializer:app-rm', 'Unit | Serializer | app rm', {
-  // Specify the other units that are required for this test.
-  // needs: ['serializer:foo']
-});
-
-test('Basic creation test', function(assert) {
-  let serializer = this.subject();
-
-  assert.ok(serializer);
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/serializers/app-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/serializers/app-test.js b/tez-ui2/src/main/webapp/tests/unit/serializers/app-test.js
deleted file mode 100644
index ec6b6b4..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/serializers/app-test.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('serializer:app', 'Unit | Serializer | app', {
-  // Specify the other units that are required for this test.
-  // needs: ['serializer:task']
-});
-
-test('Basic creation test', function(assert) {
-  let serializer = this.subject();
-
-  assert.ok(serializer);
-  assert.ok(serializer.maps);
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/serializers/attempt-am-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/serializers/attempt-am-test.js b/tez-ui2/src/main/webapp/tests/unit/serializers/attempt-am-test.js
deleted file mode 100644
index 6fd9e57..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/serializers/attempt-am-test.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('serializer:attempt-am', 'Unit | Serializer | attempt am', {
-  // Specify the other units that are required for this test.
-  // needs: ['serializer:foo']
-});
-
-test('Basic creation test', function(assert) {
-  let serializer = this.subject();
-
-  assert.ok(serializer);
-  assert.ok(serializer.payloadNamespace);
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/serializers/attempt-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/serializers/attempt-test.js b/tez-ui2/src/main/webapp/tests/unit/serializers/attempt-test.js
deleted file mode 100644
index aaeab62..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/serializers/attempt-test.js
+++ /dev/null
@@ -1,48 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('serializer:attempt', 'Unit | Serializer | attempt', {
-  // Specify the other units that are required for this test.
-  // needs: ['serializer:attempt']
-});
-
-test('Basic creation test', function(assert) {
-  let serializer = this.subject();
-
-  assert.ok(serializer);
-  assert.ok(serializer.maps.logURL);
-});
-
-test('logURL test', function(assert) {
-  let serializer = this.subject({
-    env: {
-      app: {
-        yarnProtocol: "ptcl"
-      }
-    }
-  });
-
-  assert.equal(serializer.maps.logURL.call(serializer, {
-    entity: "id_1",
-    otherinfo: {
-      inProgressLogsURL: "abc.com/test/link",
-    }
-  }), "ptcl://abc.com/test/link/syslog_id_1");
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/serializers/dag-am-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/serializers/dag-am-test.js b/tez-ui2/src/main/webapp/tests/unit/serializers/dag-am-test.js
deleted file mode 100644
index be68f98..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/serializers/dag-am-test.js
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('serializer:dag-am', 'Unit | Serializer | dag am', {
-  // Specify the other units that are required for this test.
-  // needs: ['serializer:foo']
-});
-
-test('Basic creation test', function(assert) {
-  let serializer = this.subject();
-
-  assert.ok(serializer);
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/serializers/dag-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/serializers/dag-test.js b/tez-ui2/src/main/webapp/tests/unit/serializers/dag-test.js
deleted file mode 100644
index eb39508..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/serializers/dag-test.js
+++ /dev/null
@@ -1,131 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('serializer:dag', 'Unit | Serializer | dag', {
-  // Specify the other units that are required for this test.
-  // needs: ['serializer:dag']
-});
-
-test('Basic creation test', function(assert) {
-  let serializer = this.subject();
-
-  assert.ok(serializer);
-  assert.ok(serializer.maps.atsStatus);
-  assert.ok(serializer.maps.startTime);
-  assert.ok(serializer.maps.endTime);
-  assert.ok(serializer.maps.containerLogs);
-  assert.ok(serializer.maps.vertexIdNameMap);
-});
-
-test('atsStatus test', function(assert) {
-  let serializer = this.subject(),
-      mapper = serializer.maps.atsStatus;
-
-  assert.equal(mapper({
-    events: [{eventtype: "SOME_EVENT"}]
-  }), undefined);
-
-  assert.equal(mapper({
-    events: [{eventtype: "DAG_STARTED"}]
-  }), "RUNNING");
-
-  assert.equal(mapper({
-    otherinfo: {status: "STATUS1"},
-    primaryfilters: {status: ["STATUS2"]},
-    events: [{eventtype: "DAG_STARTED"}]
-  }), "STATUS1");
-
-  assert.equal(mapper({
-    primaryfilters: {status: ["STATUS2"]},
-    events: [{eventtype: "DAG_STARTED"}]
-  }), "STATUS2");
-});
-
-test('startTime test', function(assert) {
-  let serializer = this.subject(),
-      mapper = serializer.maps.startTime,
-      testTimestamp = Date.now();
-
-  assert.equal(mapper({
-    events: [{eventtype: "SOME_EVENT"}]
-  }), undefined);
-
-  assert.equal(mapper({
-    events: [{eventtype: "DAG_STARTED", timestamp: testTimestamp}]
-  }), testTimestamp);
-
-  assert.equal(mapper({
-    otherinfo: {startTime: testTimestamp},
-    events: [{eventtype: "DAG_STARTED"}]
-  }), testTimestamp);
-});
-
-test('endTime test', function(assert) {
-  let serializer = this.subject(),
-      mapper = serializer.maps.endTime,
-      testTimestamp = Date.now();
-
-  assert.equal(mapper({
-    events: [{eventtype: "SOME_EVENT"}]
-  }), undefined);
-
-  assert.equal(mapper({
-    events: [{eventtype: "DAG_FINISHED", timestamp: testTimestamp}]
-  }), testTimestamp);
-
-  assert.equal(mapper({
-    otherinfo: {endTime: testTimestamp},
-    events: [{eventtype: "DAG_FINISHED"}]
-  }), testTimestamp);
-});
-
-test('containerLogs test', function(assert) {
-  let serializer = this.subject(),
-      mapper = serializer.maps.containerLogs;
-
-  assert.deepEqual(mapper({
-    otherinfo: {},
-  }), [], "No logs");
-
-  assert.deepEqual(mapper({
-    otherinfo: {inProgressLogsURL_1: "foo", inProgressLogsURL_2: "bar"},
-  }), [{text: "1", href: "http://foo"}, {text: "2", href: "http://bar"}], "2 logs");
-});
-
-test('vertexIdNameMap test', function(assert) {
-  let serializer = this.subject(),
-      mapper = serializer.maps.vertexIdNameMap;
-
-  let nameIdMap = {
-    otherinfo: {
-      vertexNameIdMapping: {
-        name1: "ID1",
-        name2: "ID2",
-        name3: "ID3",
-      }
-    }
-  };
-
-  assert.deepEqual(mapper(nameIdMap), {
-    ID1: "name1",
-    ID2: "name2",
-    ID3: "name3",
-  });
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/serializers/loader-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/serializers/loader-test.js b/tez-ui2/src/main/webapp/tests/unit/serializers/loader-test.js
deleted file mode 100644
index 5add84a..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/serializers/loader-test.js
+++ /dev/null
@@ -1,193 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import Ember from 'ember';
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('serializer:loader', 'Unit | Serializer | loader', {
-  // Specify the other units that are required for this test.
-  // needs: ['serializer:loader']
-});
-
-test('Basic creation test', function(assert) {
-  let serializer = this.subject();
-
-  assert.ok(serializer);
-  assert.ok(serializer._isLoader);
-
-  assert.ok(serializer.extractId);
-  assert.ok(serializer.extractAttributes);
-  assert.ok(serializer.extractRelationships);
-
-  assert.ok(serializer.extractSinglePayload);
-  assert.ok(serializer.extractArrayPayload);
-
-  assert.ok(serializer.normalizeSingleResponse);
-  assert.ok(serializer.normalizeArrayResponse);
-});
-
-test('extractId test', function(assert) {
-  let serializer = this.subject(),
-    modelClass = {},
-    resourceHash = {
-      nameSpace: "ns",
-      data: {
-        id: 1,
-        entityID: 3
-      }
-    };
-
-  assert.equal(serializer.extractId(modelClass, resourceHash), "ns:1", "With name-space");
-  assert.equal(serializer.extractId(modelClass, { data: {id: 2} }), 2, "Without name-space");
-
-  serializer.primaryKey = "entityID";
-  assert.equal(serializer.extractId(modelClass, resourceHash), "ns:3", "Different primary key");
-});
-
-test('extractAttributes test', function(assert) {
-  let serializer = this.subject(),
-    modelClass = {
-      eachAttribute: function (callback) {
-        callback("id", {type: "string"});
-        callback("appID", {type: "string"});
-        callback("status", {type: "string"});
-      }
-    },
-    resourceHash = {
-      nameSpace: "ns",
-      data: {
-        id: 1,
-        appID: 2,
-        applicationID: 3,
-        info: {
-          status: "SUCCESS"
-        }
-      }
-    };
-
-  assert.deepEqual(serializer.extractAttributes(modelClass, resourceHash), {
-    id: 1,
-    appID: 2
-  });
-
-  serializer.maps = {
-    id: "id",
-    appID: "applicationID",
-    status: "info.status"
-  };
-
-  assert.deepEqual(serializer.extractAttributes(modelClass, resourceHash), {
-    id: 1,
-    appID: 3,
-    status: "SUCCESS"
-  });
-});
-
-test('extractRelationships test', function(assert) {
-  let serializer = this.subject(),
-    modelClass = {
-      eachAttribute: Ember.K,
-      eachRelationship: function (callback) {
-        callback("app", {
-          key: "app",
-          kind: "belongsTo",
-          options: {},
-          parentType: "parent",
-          type: "app"
-        });
-      },
-      eachTransformedAttribute: Ember.K
-    },
-    resourceHash = {
-      nameSpace: "ns",
-      data: {
-        id: 1,
-        app: "",
-      }
-    };
-
-  assert.deepEqual(serializer.extractRelationships(modelClass, resourceHash), {
-    app: {
-      data: {
-        id: null,
-        type:"app"
-      }
-    }
-  });
-
-});
-
-test('normalizeSingleResponse test', function(assert) {
-  let serializer = this.subject(),
-    modelClass = {
-      eachAttribute: function (callback) {
-        callback("id", {type: "string"});
-        callback("appID", {type: "string"});
-        callback("status", {type: "string"});
-      },
-      eachRelationship: Ember.K,
-      eachTransformedAttribute: Ember.K
-    },
-    resourceHash = {
-      nameSpace: "ns",
-      data: {
-        id: 1,
-        appID: 2,
-        applicationID: 3,
-        info: {
-          status: "SUCCESS"
-        }
-      }
-    };
-
-  var response = serializer.normalizeSingleResponse({}, modelClass, resourceHash, null, null);
-
-  assert.equal(response.data.id, "ns:1");
-  assert.equal(response.data.attributes.id, 1);
-  assert.equal(response.data.attributes.appID, 2);
-});
-
-test('normalizeArrayResponse test', function(assert) {
-  let serializer = this.subject(),
-    modelClass = {
-      eachAttribute: function (callback) {
-        callback("id", {type: "string"});
-        callback("appID", {type: "string"});
-        callback("status", {type: "string"});
-      },
-      eachRelationship: Ember.K,
-      eachTransformedAttribute: Ember.K
-    },
-    resourceHash = {
-      nameSpace: "ns",
-      data: [{
-        id: 1,
-        appID: 2,
-      },{
-        id: 2,
-        appID: 4,
-      }]
-    };
-
-  var response = serializer.normalizeArrayResponse({}, modelClass, resourceHash, null, null);
-
-  assert.equal(response.data.length, 2);
-  assert.deepEqual(response.data[0].id, "ns:1");
-  assert.deepEqual(response.data[1].id, "ns:2");
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/serializers/rm-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/serializers/rm-test.js b/tez-ui2/src/main/webapp/tests/unit/serializers/rm-test.js
deleted file mode 100644
index 7175d1a..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/serializers/rm-test.js
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('serializer:rm', 'Unit | Serializer | rm', {
-  // Specify the other units that are required for this test.
-  // needs: ['serializer:foo']
-});
-
-test('Basic creation test', function(assert) {
-  let serializer = this.subject();
-
-  assert.ok(serializer);
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/serializers/task-am-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/serializers/task-am-test.js b/tez-ui2/src/main/webapp/tests/unit/serializers/task-am-test.js
deleted file mode 100644
index cdd1b04..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/serializers/task-am-test.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('serializer:task-am', 'Unit | Serializer | task am', {
-  // Specify the other units that are required for this test.
-  // needs: ['serializer:foo']
-});
-
-test('Basic creation test', function(assert) {
-  let serializer = this.subject();
-
-  assert.ok(serializer);
-  assert.ok(serializer.payloadNamespace);
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/serializers/task-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/serializers/task-test.js b/tez-ui2/src/main/webapp/tests/unit/serializers/task-test.js
deleted file mode 100644
index fc79ae9..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/serializers/task-test.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('serializer:task', 'Unit | Serializer | task', {
-  // Specify the other units that are required for this test.
-  // needs: ['serializer:task']
-});
-
-test('Basic creation test', function(assert) {
-  let serializer = this.subject();
-
-  assert.ok(serializer);
-  assert.ok(serializer.maps);
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/serializers/timeline-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/serializers/timeline-test.js b/tez-ui2/src/main/webapp/tests/unit/serializers/timeline-test.js
deleted file mode 100644
index 3c267ad..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/serializers/timeline-test.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('serializer:timeline', 'Unit | Serializer | timeline', {
-  // Specify the other units that are required for this test.
-  // needs: ['serializer:timeline']
-});
-
-test('Basic creation test', function(assert) {
-  let serializer = this.subject();
-
-  assert.ok(serializer);
-  assert.ok(serializer.extractArrayPayload);
-  assert.ok(serializer.maps);
-});
-
-test('extractArrayPayload test', function(assert) {
-  let serializer = this.subject(),
-      testPayload = {
-        entities: []
-      };
-
-  assert.equal(serializer.extractArrayPayload(testPayload), testPayload.entities);
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/serializers/vertex-am-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/serializers/vertex-am-test.js b/tez-ui2/src/main/webapp/tests/unit/serializers/vertex-am-test.js
deleted file mode 100644
index 254ca9f..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/serializers/vertex-am-test.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('serializer:vertex-am', 'Unit | Serializer | vertex am', {
-  // Specify the other units that are required for this test.
-  // needs: ['serializer:foo']
-});
-
-test('Basic creation test', function(assert) {
-  let serializer = this.subject();
-
-  assert.ok(serializer);
-  assert.ok(serializer.payloadNamespace);
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/serializers/vertex-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/serializers/vertex-test.js b/tez-ui2/src/main/webapp/tests/unit/serializers/vertex-test.js
deleted file mode 100644
index 7dfb5da..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/serializers/vertex-test.js
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('serializer:vertex', 'Unit | Serializer | vertex', {
-  // Specify the other units that are required for this test.
-  // needs: ['serializer:vertex']
-});
-
-test('Basic creation test', function(assert) {
-  let serializer = this.subject();
-
-  assert.ok(serializer);
-  assert.ok(serializer.maps);
-  assert.ok(serializer.maps.processorClassName);
-});
-
-test('processorClassName test', function(assert) {
-  let serializer = this.subject(),
-      processorClassName = serializer.maps.processorClassName;
-
-  assert.equal(processorClassName({}), "");
-  assert.equal(processorClassName({
-    otherinfo: {
-      processorClassName: "foo"
-    }
-  }), "foo");
-  assert.equal(processorClassName({
-    otherinfo: {
-      processorClassName: "a.b.foo"
-    }
-  }), "foo");
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/services/env-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/services/env-test.js b/tez-ui2/src/main/webapp/tests/unit/services/env-test.js
deleted file mode 100644
index ca17f85..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/services/env-test.js
+++ /dev/null
@@ -1,80 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-import environment from '../../../config/environment';
-
-moduleFor('service:env', 'Unit | Service | env', {
-  // Specify the other units that are required for this test.
-  // needs: ['service:foo']
-});
-
-test('Basic creation test', function(assert) {
-  let service = this.subject();
-
-  assert.ok(service);
-  assert.ok(service.ENV);
-  assert.ok(service.collateConfigs);
-  assert.ok(service.app);
-  assert.ok(service.setComputedENVs);
-});
-
-test('collateConfigs test', function(assert) {
-  let service = this.subject(),
-      APP = environment.APP;
-
-  APP.a = 11;
-  APP.b = 22;
-  window.ENV = {
-    a: 1
-  };
-
-  service.collateConfigs();
-
-  APP = service.get("app");
-  assert.equal(APP.a, 1, "Test window.ENV merge onto environment.APP");
-  assert.equal(APP.b, 22);
-});
-
-test('app computed property test', function(assert) {
-  let service = this.subject(),
-      ENV = {
-        b: 2
-      };
-
-  window.ENV = ENV;
-  environment.APP.a = 11;
-  service.collateConfigs();
-  assert.equal(service.get("app.a"), environment.APP.a);
-  assert.equal(service.get("app.b"), ENV.b);
-});
-
-test('setComputedENVs test', function(assert) {
-  let service = this.subject();
-
-  assert.equal(service.ENV.isIE, false);
-});
-
-test('Validate config/default-app-conf.js', function(assert) {
-  let service = this.subject();
-
-  assert.equal(service.get("app.hosts.timeline"), "localhost:8188");
-  assert.equal(service.get("app.namespaces.webService.timeline"), "ws/v1/timeline");
-  assert.equal(service.get("app.paths.timeline.dag"), "TEZ_DAG_ID");
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/services/hosts-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/services/hosts-test.js b/tez-ui2/src/main/webapp/tests/unit/services/hosts-test.js
deleted file mode 100644
index 026f21b..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/services/hosts-test.js
+++ /dev/null
@@ -1,77 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('service:hosts', 'Unit | Service | hosts', {
-  // Specify the other units that are required for this test.
-  needs: ['service:env']
-});
-
-test('Test creation', function(assert) {
-  let service = this.subject();
-  assert.ok(service);
-});
-
-test('Test correctProtocol', function(assert) {
-  let service = this.subject();
-
-  //No correction
-  assert.equal(service.correctProtocol("http://localhost:8088"), "http://localhost:8088");
-
-  // Correction
-  assert.equal(service.correctProtocol("localhost:8088"), "http://localhost:8088");
-  assert.equal(service.correctProtocol("https://localhost:8088"), "http://localhost:8088");
-  assert.equal(service.correctProtocol("file://localhost:8088"), "http://localhost:8088");
-
-  assert.equal(service.correctProtocol("localhost:8088", "http:"), "http://localhost:8088");
-  assert.equal(service.correctProtocol("https://localhost:8088", "http:"), "http://localhost:8088");
-  assert.equal(service.correctProtocol("file://localhost:8088", "http:"), "http://localhost:8088");
-
-  assert.equal(service.correctProtocol("localhost:8088", "https:"), "https://localhost:8088");
-  assert.equal(service.correctProtocol("https://localhost:8088", "https:"), "https://localhost:8088");
-  assert.equal(service.correctProtocol("file://localhost:8088", "https:"), "https://localhost:8088");
-});
-
-test('Test correctProtocol with protocol=file:', function(assert) {
-  let service = this.subject();
-
-  assert.equal(service.correctProtocol("file://localhost:8088", "file:"), "file://localhost:8088");
-  assert.equal(service.correctProtocol("http://localhost:8088", "file:"), "http://localhost:8088");
-  assert.equal(service.correctProtocol("https://localhost:8088", "file:"), "https://localhost:8088");
-});
-
-test('Test host URLs', function(assert) {
-  let service = this.subject();
-
-  assert.equal(service.get("timeline"), "http://localhost:8188");
-  assert.equal(service.get("rm"), "http://localhost:8088");
-});
-
-test('Test host URLs with ENV set', function(assert) {
-  let service = this.subject();
-
-  window.ENV = {
-    hosts: {
-      timeline: "https://localhost:3333",
-      rm: "https://localhost:4444"
-    }
-  };
-  assert.equal(service.get("timeline"), "http://localhost:3333");
-  assert.equal(service.get("rm"), "http://localhost:4444");
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/services/loader-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/services/loader-test.js b/tez-ui2/src/main/webapp/tests/unit/services/loader-test.js
deleted file mode 100644
index fc63786..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/services/loader-test.js
+++ /dev/null
@@ -1,311 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import Ember from 'ember';
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('service:loader', 'Unit | Service | loader', {
-  // Specify the other units that are required for this test.
-  // needs: ['service:foo']
-});
-
-test('Basic creation test', function(assert) {
-  let service = this.subject();
-
-  assert.ok(service.cache);
-  assert.ok(service.store);
-  assert.ok(service._setOptions);
-
-  assert.ok(service.checkRequisite);
-
-  assert.ok(service.lookup);
-  assert.ok(service.entityFor);
-
-  assert.ok(service.getCacheKey);
-
-  assert.ok(service.queryRecord);
-  assert.ok(service.query);
-
-  assert.ok(service.unloadAll);
-});
-
-test('_setOptions test', function(assert) {
-  let service = this.subject();
-
-  assert.equal(service.get("nameSpace"), '');
-
-  service._setOptions({
-    nameSpace: "ns"
-  });
-
-  assert.equal(service.get("nameSpace"), 'ns');
-});
-
-test('checkRequisite test', function(assert) {
-  let service = this.subject(),
-      testType = "type";
-
-  assert.expect(3 + 3 + 2);
-
-  // Not found
-  service.store = {
-    adapterFor: function (type) {
-      assert.equal(type, testType);
-    },
-    serializerFor: function (type) {
-      assert.equal(type, testType);
-    }
-  };
-  assert.throws(function () {
-    service.checkRequisite(testType);
-  });
-
-  // Not loader found
-  service.store = {
-    adapterFor: function (type) {
-      assert.equal(type, testType);
-      return {};
-    },
-    serializerFor: function (type) {
-      assert.equal(type, testType);
-      return {};
-    }
-  };
-  assert.throws(function () {
-    service.checkRequisite(testType);
-  });
-
-  service.store = {
-    adapterFor: function (type) {
-      assert.equal(type, testType);
-      return { _isLoader: true };
-    },
-    serializerFor: function (type) {
-      assert.equal(type, testType);
-      return { _isLoader: true };
-    }
-  };
-
-  service.checkRequisite(testType);
-});
-
-test('lookup test', function(assert) {
-  let service = this.subject();
-
-  assert.expect(1);
-
-  service.container.lookup = function (fullName) {
-    assert.equal(fullName, "typ:na-me");
-  };
-
-  service.lookup("typ", "NaMe");
-});
-
-test('entityFor test', function(assert) {
-  let service = this.subject(),
-      testName = "abc",
-      entity;
-
-  assert.expect(3 + 4 + 3);
-
-  // All lookups fail
-  service.lookup = function (type, name) {
-    if(name === testName) {
-      assert.equal(type, "entitie");
-    }
-    if(name === "entity") {
-      assert.equal(type, "entitie");
-    }
-  };
-  assert.throws(function () {
-    service.entityFor(testName);
-  }, "All lookups fail");
-
-  // Default lookups succeeded
-  service.lookup = function (type, name) {
-    if(name === testName) {
-      assert.equal(type, "entitie");
-    }
-    if(name === "entity") {
-      assert.equal(type, "entitie");
-      return Ember.Object.create({
-        actualName: "entity",
-        name: name
-      });
-    }
-  };
-  entity = service.entityFor(testName);
-  assert.equal(entity.actualName, "entity", "Default lookups succeeded");
-  assert.equal(entity.get("name"), testName, "Default lookups succeeded");
-
-  // Primary lookups succeeded
-  service.lookup = function (type, name) {
-    if(name === testName) {
-      assert.equal(type, "entitie");
-      return Ember.Object.create({
-        actualName: name,
-        name: name
-      });
-    }
-    if(name === "entity") {
-      assert.equal(type, "entitie"); // Shouldn't be called
-    }
-  };
-  entity = service.entityFor(testName);
-  assert.equal(entity.get("name"), testName, "Default lookups succeeded");
-  assert.equal(entity.get("name"), testName, "Default lookups succeeded");
-});
-
-test('getCacheKey test', function(assert) {
-  let service = this.subject();
-
-  assert.equal(service.getCacheKey("type"), "type");
-  assert.equal(service.getCacheKey("type", {a:1}), 'type:{"a":1}');
-  assert.equal(service.getCacheKey("type", null, 1), "type:1");
-  assert.equal(service.getCacheKey("type", {a:1}, 1), 'type:1:{"a":1}');
-});
-
-test('queryRecord test', function(assert) {
-  let service = this.subject(),
-      testNameSpace = "ns",
-      testOptions = {opt: 1},
-      testQueryParams = {},
-      testUrlParams = {},
-      testType = "type",
-      testRecord = {},
-      testID = 1,
-      cacheKey = service.getCacheKey(testType, testQueryParams, testID);
-
-  assert.expect(1 + 5 + 3);
-
-  service.nameSpace = testNameSpace;
-  service.checkRequisite = Ember.K;
-  service.entityFor = function (type) {
-    assert.equal(type, testType);
-
-    return {
-      queryRecord: function (loader, id, options, query, urlParams) {
-        assert.equal(loader, service, "Loader");
-        assert.equal(id, testID, "id");
-        assert.equal(options.opt, testOptions.opt, "options");
-        assert.equal(query, testQueryParams, "query");
-        assert.equal(urlParams, testUrlParams, "urlParams");
-
-        return Ember.RSVP.resolve(testRecord);
-      }
-    };
-  };
-
-  service.cache = Ember.Object.create();
-  assert.notOk(service.get("cache").get(cacheKey));
-  service.queryRecord(testType, testID, testOptions, testQueryParams, testUrlParams).then(function (record) {
-    assert.equal(record, testRecord);
-  });
-  assert.ok(service.get("cache").get(cacheKey));
-});
-
-test('query test', function(assert) {
-  let service = this.subject(),
-      testNameSpace = "ns",
-      testOptions = {opt: 1},
-      testQueryParams = {},
-      testUrlParams = {},
-      testType = "type",
-      testRecord = {},
-      testRecords = [testRecord, testRecord],
-      cacheKey = service.getCacheKey(testType, testQueryParams);
-
-  assert.expect(1 + 4 + 3);
-
-  service.nameSpace = testNameSpace;
-  service.checkRequisite = Ember.K;
-  service.entityFor = function (type) {
-    assert.equal(type, testType);
-
-    return {
-      query: function (loader, query, options, urlParams) {
-        assert.equal(loader, service, "Loader");
-        assert.equal(options.opt, testOptions.opt, "options");
-        assert.equal(query, testQueryParams, "query");
-        assert.equal(urlParams, testUrlParams, "urlParams");
-
-        return Ember.RSVP.resolve(testRecords);
-      }
-    };
-  };
-
-  service.cache = Ember.Object.create();
-  assert.notOk(service.get("cache").get(cacheKey));
-  service.query(testType, testQueryParams, testOptions, testUrlParams).then(function (records) {
-    assert.equal(records, testRecords);
-  });
-  assert.ok(service.get("cache").get(cacheKey));
-});
-
-test('unloadAll test', function(assert) {
-  let testType1 = "a",
-      service = this.subject({
-        nameSpace: "ns",
-        store: {
-          peekAll: function (type) {
-            assert.equal(type, testType1);
-            return [Ember.Object.create({
-              id: "ns:id1",
-              entityID: "id1"
-            }), Ember.Object.create({
-              id: "nsX:id1",
-              entityID: "id1"
-            })];
-          },
-          unloadRecord: function (record) {
-            assert.equal(record.get("entityID"), "id1");
-          }
-        }
-      });
-
-  assert.expect(1 + 1);
-
-  service.unloadAll(testType1, "id2");
-});
-
-test('unloadAll skipID test', function(assert) {
-  let testType1 = "q",
-      service = this.subject({
-        nameSpace: "ns",
-        store: {
-          peekAll: function (type) {
-            assert.equal(type, testType1);
-            return [Ember.Object.create({
-              id: "ns:id1",
-              entityID: "id1"
-            }), Ember.Object.create({
-              id: "ns:id2",
-              entityID: "id2"
-            })];
-          },
-          unloadRecord: function (record) {
-            assert.equal(record.get("entityID"), "id2");
-          }
-        }
-      });
-
-  assert.expect(1 + 1);
-
-  service.unloadAll(testType1, "id1");
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/services/local-storage-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/services/local-storage-test.js b/tez-ui2/src/main/webapp/tests/unit/services/local-storage-test.js
deleted file mode 100644
index 6f9a1af..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/services/local-storage-test.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('service:local-storage', 'Unit | Service | local storage', {
-  // Specify the other units that are required for this test.
-  // needs: ['service:foo']
-});
-
-test('Test creation', function(assert) {
-  let service = this.subject();
-  assert.ok(service);
-});
-
-test('getStoreKey test', function(assert) {
-  let service = this.subject();
-
-  assert.equal(service.getStoreKey("abc"), "tez-ui:abc");
-});
-
-test('Set & get test', function(assert) {
-  let service = this.subject();
-
-  service.set("abc", "value");
-  assert.equal(service.get("abc"), "value");
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/services/pollster-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/services/pollster-test.js b/tez-ui2/src/main/webapp/tests/unit/services/pollster-test.js
deleted file mode 100644
index 7687a87..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/services/pollster-test.js
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('service:pollster', 'Unit | Service | pollster', {
-  // Specify the other units that are required for this test.
-  needs: ['service:localStorage']
-});
-
-test('Basic creation test', function(assert) {
-  let service = this.subject();
-  assert.ok(service);
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/transforms/object-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/transforms/object-test.js b/tez-ui2/src/main/webapp/tests/unit/transforms/object-test.js
deleted file mode 100644
index 79b1bde..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/transforms/object-test.js
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { moduleFor, test } from 'ember-qunit';
-
-moduleFor('transform:object', 'Unit | Transform | object', {
-  // Specify the other units that are required for this test.
-  // needs: ['serializer:foo']
-});
-
-// Replace this with your real tests.
-test('it exists', function(assert) {
-  let transform = this.subject();
-  assert.ok(transform);
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/utils/counter-column-definition-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/utils/counter-column-definition-test.js b/tez-ui2/src/main/webapp/tests/unit/utils/counter-column-definition-test.js
deleted file mode 100644
index 9e0476f..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/utils/counter-column-definition-test.js
+++ /dev/null
@@ -1,124 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import CounterColumnDefinition from '../../../utils/counter-column-definition';
-import { module, test } from 'qunit';
-
-module('Unit | Utility | counter column definition');
-
-test('Basic creation test', function(assert) {
-  let definition = CounterColumnDefinition.create();
-
-  assert.ok(definition);
-
-  assert.ok(definition.getCellContent);
-  assert.ok(definition.getSearchValue);
-  assert.ok(definition.getSortValue);
-
-  assert.ok(definition.id);
-  assert.ok(definition.groupDisplayName);
-  assert.ok(definition.headerTitle);
-
-  assert.ok(CounterColumnDefinition.make);
-
-  assert.equal(definition.observePath, true);
-  assert.equal(definition.contentPath, "counterGroupsHash");
-});
-
-test('getCellContent, getSearchValue & getSortValue test', function(assert) {
-  let testGroupName = "t.gn",
-      testCounterName = "cn",
-      testCounterValue = "val",
-      testContent = {},
-      testRow = {
-        counterGroupsHash: testContent
-      };
-
-  testContent[testGroupName] = {};
-  testContent[testGroupName][testCounterName] = testCounterValue;
-  testContent[testGroupName]["anotherName"] = "anotherValue";
-
-  let definition = CounterColumnDefinition.create({
-    counterGroupName: testGroupName,
-    counterName: testCounterName,
-  });
-
-  assert.equal(definition.getCellContent(testRow), testCounterValue);
-  assert.equal(definition.getSearchValue(testRow), testCounterValue);
-  assert.equal(definition.getSortValue(testRow), testCounterValue);
-});
-
-test('id test', function(assert) {
-  let testGroupName = "t.gn",
-      testCounterName = "cn";
-
-  let definition = CounterColumnDefinition.create({
-    counterGroupName: testGroupName,
-    counterName: testCounterName,
-  });
-
-  assert.equal(definition.get("id"), `${testGroupName}/${testCounterName}`);
-});
-
-test('groupDisplayName test', function(assert) {
-  let definition = CounterColumnDefinition.create();
-
-  definition.set("counterGroupName", "foo");
-  assert.equal(definition.get("groupDisplayName"), "foo");
-
-  definition.set("counterGroupName", "foo.bar");
-  assert.equal(definition.get("groupDisplayName"), "bar");
-
-  definition.set("counterGroupName", "org.apache.tez.common.counters.DAGCounter");
-  assert.equal(definition.get("groupDisplayName"), "DAG");
-
-  definition.set("counterGroupName", "org.apache.tez.common.counters.FileSystemCounter");
-  assert.equal(definition.get("groupDisplayName"), "FileSystem");
-
-  definition.set("counterGroupName", "TaskCounter_ireduce1_INPUT_map");
-  assert.equal(definition.get("groupDisplayName"), "Task - ireduce1 to Input-map");
-
-  definition.set("counterGroupName", "TaskCounter_ireduce1_OUTPUT_reduce");
-  assert.equal(definition.get("groupDisplayName"), "Task - ireduce1 to Output-reduce");
-});
-
-test('headerTitle test', function(assert) {
-  let testGroupName = "t.gn",
-      testCounterName = "cn";
-
-  let definition = CounterColumnDefinition.create({
-    counterGroupName: testGroupName,
-    counterName: testCounterName,
-  });
-
-  assert.equal(definition.get("headerTitle"), "gn - cn");
-});
-
-test('CounterColumnDefinition.make test', function(assert) {
-  var definitions = CounterColumnDefinition.make([{
-    counterGroupName: "gn1",
-    counterName: "nm1",
-  }, {
-    counterGroupName: "gn2",
-    counterName: "nm2",
-  }]);
-
-  assert.equal(definitions.length, 2);
-  assert.equal(definitions[0].get("headerTitle"), "gn1 - nm1");
-  assert.equal(definitions[1].get("headerTitle"), "gn2 - nm2");
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/utils/download-dag-zip-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/utils/download-dag-zip-test.js b/tez-ui2/src/main/webapp/tests/unit/utils/download-dag-zip-test.js
deleted file mode 100644
index 0fe8c5f..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/utils/download-dag-zip-test.js
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import downloadDagZip from '../../../utils/download-dag-zip';
-import { module, test } from 'qunit';
-
-module('Unit | Utility | download dag zip');
-
-test('Basic creation test', function(assert) {
-  assert.ok(downloadDagZip);
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/utils/misc-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/utils/misc-test.js b/tez-ui2/src/main/webapp/tests/unit/utils/misc-test.js
deleted file mode 100644
index 7e282cd..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/utils/misc-test.js
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import isIOCounter from '../../../utils/misc';
-import { module, test } from 'qunit';
-
-module('Unit | Utility | misc');
-
-test('Basic creation test', function(assert) {
-  assert.ok(isIOCounter);
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/utils/process-definition-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/utils/process-definition-test.js b/tez-ui2/src/main/webapp/tests/unit/utils/process-definition-test.js
deleted file mode 100644
index 44e952e..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/utils/process-definition-test.js
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import ProcessDefinition from '../../../utils/process-definition';
-import { module, test } from 'qunit';
-
-module('Unit | Utility | process definition');
-
-test('Basic creation test', function(assert) {
-  let definition = ProcessDefinition.create();
-
-  assert.ok(definition);
-
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/utils/process-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/utils/process-test.js b/tez-ui2/src/main/webapp/tests/unit/utils/process-test.js
deleted file mode 100644
index 5eb7a7d..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/utils/process-test.js
+++ /dev/null
@@ -1,165 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import Process from '../../../utils/process';
-import { module, test } from 'qunit';
-
-module('Unit | Utility | process');
-
-test('Basic creation test', function(assert) {
-  let process = Process.create();
-
-  assert.ok(process);
-
-  assert.ok(process.consolidateStartTime);
-  assert.ok(process.consolidateEndTime);
-
-  assert.ok(process.init);
-
-  assert.ok(process.getBarColor);
-  assert.ok(process.getConsolidateColor);
-
-  assert.ok(process.getColor);
-  assert.ok(process.startEvent);
-  assert.ok(process.endEvent);
-  assert.ok(process.getAllBlockers);
-  assert.ok(process.getTooltipContents);
-});
-
-test('_id test', function(assert) {
-  let nextID = parseInt(Process.create().get("_id").split("-")[2]) + 1;
-
-  let process = Process.create();
-  assert.equal(process.get("_id"), "process-id-" + nextID);
-});
-
-
-test('getColor test', function(assert) {
-  let process = Process.create();
-
-  assert.equal(process.getColor(), "#0");
-
-  process.set("color", {
-    h: 10,
-    s: 20,
-    l: 30
-  });
-  assert.equal(process.getColor(), "hsl( 10, 20%, 30% )");
-  assert.equal(process.getColor(0.2), "hsl( 10, 20%, 40% )");
-});
-
-test('startEvent test', function(assert) {
-  let process = Process.create();
-
-  assert.equal(process.get("startEvent"), undefined);
-
-  process.set("events", [{
-    time: 50,
-  }, {
-    time: 70,
-  }, {
-    time: 20,
-  }, {
-    time: 80,
-  }]);
-  assert.equal(process.get("startEvent").time, 20);
-
-  process.set("events", [{
-    time: 50,
-  }, {
-    time: 70,
-  }, {
-    time: 80,
-  }]);
-  assert.equal(process.get("startEvent").time, 50);
-});
-
-test('endEvent test', function(assert) {
-  let process = Process.create();
-
-  assert.equal(process.get("endEvent"), undefined);
-
-  process.set("events", [{
-    time: 50,
-  }, {
-    time: 70,
-  }, {
-    time: 20,
-  }, {
-    time: 80,
-  }]);
-  assert.equal(process.get("endEvent").time, 80);
-
-  process.set("events", [{
-    time: 50,
-  }, {
-    time: 70,
-  }, {
-    time: 20,
-  }]);
-  assert.equal(process.get("endEvent").time, 70);
-});
-
-test('getAllBlockers test', function(assert) {
-  var cyclicProcess = Process.create({
-    name: "p3",
-  });
-  cyclicProcess.blockers = [cyclicProcess];
-
-  var multiLevelCycle1 = Process.create({
-    name: "p5",
-  });
-  var multiLevelCycle2 = Process.create({
-    name: "p6",
-  });
-  multiLevelCycle1.blockers = [multiLevelCycle2];
-  multiLevelCycle2.blockers = [multiLevelCycle1];
-
-  var process = Process.create({
-    blockers: [Process.create({
-      name: "p1"
-    }), Process.create({
-      name: "p2",
-      blockers: [Process.create({
-        name: "p21"
-      }), Process.create({
-        name: "p22",
-        blockers: [Process.create({
-          name: "p221"
-        })]
-      })]
-    }), cyclicProcess, Process.create({
-      name: "p4"
-    }), multiLevelCycle1]
-  });
-
-  var all = process.getAllBlockers();
-
-  assert.equal(all.length, 9);
-
-  assert.equal(all[0].get("name"), "p1");
-  assert.equal(all[1].get("name"), "p2");
-  assert.equal(all[2].get("name"), "p21");
-  assert.equal(all[3].get("name"), "p22");
-  assert.equal(all[4].get("name"), "p221");
-  assert.equal(all[5].get("name"), "p3");
-  assert.equal(all[6].get("name"), "p4");
-  assert.equal(all[7].get("name"), "p5");
-  assert.equal(all[8].get("name"), "p6");
-
-});

http://git-wip-us.apache.org/repos/asf/tez/blob/13132ec7/tez-ui2/src/main/webapp/tests/unit/utils/processor-test.js
----------------------------------------------------------------------
diff --git a/tez-ui2/src/main/webapp/tests/unit/utils/processor-test.js b/tez-ui2/src/main/webapp/tests/unit/utils/processor-test.js
deleted file mode 100644
index b2909b3..0000000
--- a/tez-ui2/src/main/webapp/tests/unit/utils/processor-test.js
+++ /dev/null
@@ -1,68 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import Processor from '../../../utils/processor';
-import { module, test } from 'qunit';
-
-module('Unit | Utility | processor');
-
-test('Basic creation test', function(assert) {
-  let processor = Processor.create();
-
-  assert.ok(processor);
-
-  assert.ok(processor.timeWindow);
-  assert.ok(processor.createProcessColor);
-  assert.ok(processor.timeToPositionPercent);
-});
-
-test('timeWindow test', function(assert) {
-  let processor = Processor.create({
-    startTime: 50,
-    endTime: 80
-  });
-
-  assert.equal(processor.get("timeWindow"), 30);
-
-  processor = Processor.create({
-    startTime: 80,
-    endTime: 50
-  });
-
-  assert.equal(processor.get("timeWindow"), 0);
-});
-
-test('timeWindow test', function(assert) {
-  let processor = Processor.create({
-    processCount: 10
-  }),
-  color = processor.createProcessColor(3);
-
-  assert.equal(color.h, 108);
-  assert.equal(color.s, 70);
-  assert.equal(color.l, 40);
-});
-
-test('timeToPositionPercent test', function(assert) {
-  let processor = Processor.create({
-    startTime: 0,
-    endTime: 10
-  });
-
-  assert.equal(processor.timeToPositionPercent(5), 50);
-});


Mime
View raw message