OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Browser test for basic Chrome OS file manager functionality: | 5 // Browser test for basic Chrome OS file manager functionality: |
6 // - The file list is updated when a file is added externally to the Downloads | 6 // - The file list is updated when a file is added externally to the Downloads |
7 // folder. | 7 // folder. |
8 // - Selecting a file and copy-pasting it with the keyboard copies the file. | 8 // - Selecting a file and copy-pasting it with the keyboard copies the file. |
9 // - Selecting a file and pressing delete deletes it. | 9 // - Selecting a file and pressing delete deletes it. |
10 | 10 |
11 #include <deque> | 11 #include <deque> |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "apps/app_window.h" | 14 #include "apps/app_window.h" |
15 #include "apps/app_window_registry.h" | 15 #include "apps/app_window_registry.h" |
16 #include "ash/session/session_state_delegate.h" | 16 #include "ash/session_state_delegate.h" |
17 #include "ash/shell.h" | 17 #include "ash/shell.h" |
18 #include "base/bind.h" | 18 #include "base/bind.h" |
19 #include "base/callback.h" | 19 #include "base/callback.h" |
20 #include "base/file_util.h" | 20 #include "base/file_util.h" |
21 #include "base/files/file_path.h" | 21 #include "base/files/file_path.h" |
22 #include "base/json/json_reader.h" | 22 #include "base/json/json_reader.h" |
23 #include "base/json/json_value_converter.h" | 23 #include "base/json/json_value_converter.h" |
24 #include "base/json/json_writer.h" | 24 #include "base/json/json_writer.h" |
25 #include "base/prefs/pref_service.h" | 25 #include "base/prefs/pref_service.h" |
26 #include "base/strings/string_piece.h" | 26 #include "base/strings/string_piece.h" |
(...skipping 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1057 // (bob and charlie) are added in the test. Thus the existing test verifies | 1057 // (bob and charlie) are added in the test. Thus the existing test verifies |
1058 // that the feature is effectively working with lastly logged in users. | 1058 // that the feature is effectively working with lastly logged in users. |
1059 AddExtraUsersForStressTesting(); | 1059 AddExtraUsersForStressTesting(); |
1060 | 1060 |
1061 set_test_case_name("multiProfileVisitDesktopMenu"); | 1061 set_test_case_name("multiProfileVisitDesktopMenu"); |
1062 StartTest(); | 1062 StartTest(); |
1063 } | 1063 } |
1064 | 1064 |
1065 } // namespace | 1065 } // namespace |
1066 } // namespace file_manager | 1066 } // namespace file_manager |
OLD | NEW |