Commit aa8d1e4a authored by Noel Gordon's avatar Noel Gordon Committed by Commit Bot

Integration tests restore_geometry.js: document

Document these tests, and remove redundant "State" from then end of a
the geometry maximized test.

No-Presubmit: true
Bug: 836254
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: I261dc8083e19eae5b6252916b6abecb64eef57e1
Reviewed-on: https://chromium-review.googlesource.com/1056749
Commit-Queue: Noel Gordon <noel@chromium.org>
Reviewed-by: default avatarLuciano Pacheco (SYD) <lucmult@chromium.org>
Cr-Commit-Position: refs/heads/master@{#558195}
parent 36d0cc24
......@@ -282,7 +282,7 @@ WRAPPED_INSTANTIATE_TEST_CASE_P(
::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "restoreGeometry"),
TestParameter(IN_GUEST_MODE, "restoreGeometry"),
TestParameter(NOT_IN_GUEST_MODE,
"restoreGeometryMaximizedState")));
"restoreGeometryMaximized")));
WRAPPED_INSTANTIATE_TEST_CASE_P(
Traverse,
......
......@@ -5,7 +5,7 @@
'use strict';
/**
* Tests restoring geometry of the Files app.
* Tests restoring window geometry of the Files app.
*/
testcase.restoreGeometry = function() {
var appId;
......@@ -50,7 +50,10 @@ testcase.restoreGeometry = function() {
]);
};
testcase.restoreGeometryMaximizedState = function() {
/**
* Tests restoring a maximized Files app window.
*/
testcase.restoreGeometryMaximized = function() {
var appId;
var appId2;
var caller = getCaller();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment