aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tensorboard/components/tf-graph-common
diff options
context:
space:
mode:
authorGravatar Dan Smilkov <dsmilkov@gmail.com>2016-03-07 16:29:41 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-03-08 17:16:52 -0800
commit16f2a29fda4d9efc9d169e443edbcc326a20e162 (patch)
treecc96e3fcc42a9d671a8b031335e34bae7afbd0c9 /tensorflow/tensorboard/components/tf-graph-common
parent4e00949e5b7469b66505b37f965f36b66b7a41fc (diff)
Fix (and cleanup) tests in TensorBoard and simplified build process.
Fixed things: - The internal testing was not testing lib/js/node-radar and components/tf-categorizer. - The external testing (gulp test) was not running any tests in lib/js/*, and also components/tf-categorizer. - Now both systems test everything. Cleaned things: - Unified the html test files for external (gulp test) and internal testing into one file. - running `wct` or `gulp test` (both commands are equivalent) runs the tests - When debugging tests, run `wct -p -l chrome` to open a persistent chrome browser, where you can tweak code and immediately refresh the browser to see the new test results. - Removed the unnecessary /// <reference path="" in ts files, since the typings are linked via tsconfig.json - Reused the <tf-tensoboard-demo> in the existing demo page (tf-tensorboard/demo/index.html) Change: 116601367
Diffstat (limited to 'tensorflow/tensorboard/components/tf-graph-common')
-rw-r--r--tensorflow/tensorboard/components/tf-graph-common/lib/graph.ts2
-rw-r--r--tensorflow/tensorboard/components/tf-graph-common/lib/hierarchy.ts4
-rw-r--r--tensorflow/tensorboard/components/tf-graph-common/lib/layout.ts4
-rw-r--r--tensorflow/tensorboard/components/tf-graph-common/lib/parser.ts2
-rw-r--r--tensorflow/tensorboard/components/tf-graph-common/lib/render.ts5
-rw-r--r--tensorflow/tensorboard/components/tf-graph-common/lib/scene/annotation.ts7
-rw-r--r--tensorflow/tensorboard/components/tf-graph-common/lib/scene/edge.ts5
-rw-r--r--tensorflow/tensorboard/components/tf-graph-common/lib/scene/minimap.ts3
-rw-r--r--tensorflow/tensorboard/components/tf-graph-common/lib/scene/node.ts6
-rw-r--r--tensorflow/tensorboard/components/tf-graph-common/lib/scene/scene.ts6
-rw-r--r--tensorflow/tensorboard/components/tf-graph-common/lib/template.ts4
11 files changed, 0 insertions, 48 deletions
diff --git a/tensorflow/tensorboard/components/tf-graph-common/lib/graph.ts b/tensorflow/tensorboard/components/tf-graph-common/lib/graph.ts
index ed89706b45..b2f6d21598 100644
--- a/tensorflow/tensorboard/components/tf-graph-common/lib/graph.ts
+++ b/tensorflow/tensorboard/components/tf-graph-common/lib/graph.ts
@@ -12,8 +12,6 @@ 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.
==============================================================================*/
-
-/// <reference path="common.ts" />
module tf.graph {
/** Delimiter used in node names to denote namespaces. */
diff --git a/tensorflow/tensorboard/components/tf-graph-common/lib/hierarchy.ts b/tensorflow/tensorboard/components/tf-graph-common/lib/hierarchy.ts
index 98f34bdd3f..af5c1e97b6 100644
--- a/tensorflow/tensorboard/components/tf-graph-common/lib/hierarchy.ts
+++ b/tensorflow/tensorboard/components/tf-graph-common/lib/hierarchy.ts
@@ -12,10 +12,6 @@ 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.
==============================================================================*/
-
-/// <reference path="graph.ts" />
-/// <reference path="template.ts" />
-
/**
* Package for the Graph Hierarchy for TensorFlow graph.
*/
diff --git a/tensorflow/tensorboard/components/tf-graph-common/lib/layout.ts b/tensorflow/tensorboard/components/tf-graph-common/lib/layout.ts
index 0e7b1d17d5..0d9e5b53bf 100644
--- a/tensorflow/tensorboard/components/tf-graph-common/lib/layout.ts
+++ b/tensorflow/tensorboard/components/tf-graph-common/lib/layout.ts
@@ -12,10 +12,6 @@ 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.
==============================================================================*/
-
-/// <reference path="graph.ts" />
-/// <reference path="render.ts" />
-
module tf.graph.layout {
/** Set of parameters that define the look and feel of the graph. */
diff --git a/tensorflow/tensorboard/components/tf-graph-common/lib/parser.ts b/tensorflow/tensorboard/components/tf-graph-common/lib/parser.ts
index f88da0dd33..6d1aa875ee 100644
--- a/tensorflow/tensorboard/components/tf-graph-common/lib/parser.ts
+++ b/tensorflow/tensorboard/components/tf-graph-common/lib/parser.ts
@@ -12,8 +12,6 @@ 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.
==============================================================================*/
-
-/// <reference path="common.ts" />
module tf.graph.parser {
/**
diff --git a/tensorflow/tensorboard/components/tf-graph-common/lib/render.ts b/tensorflow/tensorboard/components/tf-graph-common/lib/render.ts
index 8d2cd098a3..96d485b0ed 100644
--- a/tensorflow/tensorboard/components/tf-graph-common/lib/render.ts
+++ b/tensorflow/tensorboard/components/tf-graph-common/lib/render.ts
@@ -12,14 +12,9 @@ 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.
==============================================================================*/
-
-/// <reference path="graph.ts" />
-/// <reference path="hierarchy.ts" />
-
/**
* Package for the Render Hierarchy for TensorFlow graph.
*/
-
module tf.graph.render {
export type Point = {x: number, y: number};
diff --git a/tensorflow/tensorboard/components/tf-graph-common/lib/scene/annotation.ts b/tensorflow/tensorboard/components/tf-graph-common/lib/scene/annotation.ts
index 4301acc8d9..b601ee84a9 100644
--- a/tensorflow/tensorboard/components/tf-graph-common/lib/scene/annotation.ts
+++ b/tensorflow/tensorboard/components/tf-graph-common/lib/scene/annotation.ts
@@ -12,13 +12,6 @@ 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.
==============================================================================*/
-
-/// <reference path="../graph.ts" />
-/// <reference path="../render.ts" />
-/// <reference path="scene.ts" />
-/// <reference path="edge.ts" />
-/// <reference path="contextmenu.ts" />
-
module tf.graph.scene.annotation {
/**
diff --git a/tensorflow/tensorboard/components/tf-graph-common/lib/scene/edge.ts b/tensorflow/tensorboard/components/tf-graph-common/lib/scene/edge.ts
index d0f1e8fad6..2938aa3f1d 100644
--- a/tensorflow/tensorboard/components/tf-graph-common/lib/scene/edge.ts
+++ b/tensorflow/tensorboard/components/tf-graph-common/lib/scene/edge.ts
@@ -12,11 +12,6 @@ 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.
==============================================================================*/
-
-/// <reference path="../graph.ts" />
-/// <reference path="../render.ts" />
-/// <reference path="scene.ts" />
-
module tf.graph.scene.edge {
/** Delimiter between dimensions when showing sizes of tensors. */
diff --git a/tensorflow/tensorboard/components/tf-graph-common/lib/scene/minimap.ts b/tensorflow/tensorboard/components/tf-graph-common/lib/scene/minimap.ts
index 72464c69c4..bd8917929f 100644
--- a/tensorflow/tensorboard/components/tf-graph-common/lib/scene/minimap.ts
+++ b/tensorflow/tensorboard/components/tf-graph-common/lib/scene/minimap.ts
@@ -12,9 +12,6 @@ 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.
==============================================================================*/
-
-/// <reference path="../common.ts" />
-
module tf.scene {
/** Show minimap when the viewpoint area is less than X% of the whole area. */
diff --git a/tensorflow/tensorboard/components/tf-graph-common/lib/scene/node.ts b/tensorflow/tensorboard/components/tf-graph-common/lib/scene/node.ts
index 6d467c348a..a08613d615 100644
--- a/tensorflow/tensorboard/components/tf-graph-common/lib/scene/node.ts
+++ b/tensorflow/tensorboard/components/tf-graph-common/lib/scene/node.ts
@@ -12,12 +12,6 @@ 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.
==============================================================================*/
-
-/// <reference path="../graph.ts" />
-/// <reference path="scene.ts" />
-/// <reference path="annotation.ts" />
-/// <reference path="contextmenu.ts" />
-
module tf.graph.scene.node {
/**
diff --git a/tensorflow/tensorboard/components/tf-graph-common/lib/scene/scene.ts b/tensorflow/tensorboard/components/tf-graph-common/lib/scene/scene.ts
index 685ad646f7..b6eb3f7d81 100644
--- a/tensorflow/tensorboard/components/tf-graph-common/lib/scene/scene.ts
+++ b/tensorflow/tensorboard/components/tf-graph-common/lib/scene/scene.ts
@@ -12,12 +12,6 @@ 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.
==============================================================================*/
-
-/// <reference path="../graph.ts" />
-/// <reference path="edge.ts" />
-/// <reference path="node.ts" />
-/// <reference path="../layout.ts" />
-
module tf.graph.scene {
/** Enums element class of objects in the scene */
diff --git a/tensorflow/tensorboard/components/tf-graph-common/lib/template.ts b/tensorflow/tensorboard/components/tf-graph-common/lib/template.ts
index 0423e1c863..93d1540939 100644
--- a/tensorflow/tensorboard/components/tf-graph-common/lib/template.ts
+++ b/tensorflow/tensorboard/components/tf-graph-common/lib/template.ts
@@ -12,10 +12,6 @@ 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.
==============================================================================*/
-
-/// <reference path="graph.ts" />
-/// <reference path="hierarchy.ts" />
-
module tf.graph.template {
/**