Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Side by Side Diff: extensions/test/data/system/storage/test_storage_api.js

Issue 797023006: s/app_shell_browsertests/extensions_browsertests/g (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge, actually add extensions_tests.gyp Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 // system.storage api test 5 // system.storage api test
6 // app_shell_browsertests --gtest_filter=SystemStorageApiTest.Storage 6 // extensions_browsertests --gtest_filter=SystemStorageApiTest.Storage
7 7
8 // Testing data should be the same as |kTestingData| in 8 // Testing data should be the same as |kTestingData| in
9 // system_storage_apitest.cc. 9 // system_storage_apitest.cc.
10 var testData = [ 10 var testData = [
11 { id:"", name: "0xbeaf", type: "removable", capacity: 4098, 11 { id:"", name: "0xbeaf", type: "removable", capacity: 4098,
12 availableCapacity: 1}, 12 availableCapacity: 1},
13 { id:"", name: "/home", type: "fixed", capacity: 4098, 13 { id:"", name: "/home", type: "fixed", capacity: 4098,
14 availableCapacity: 2}, 14 availableCapacity: 2},
15 { id:"", name: "/data", type: "fixed", capacity: 10000, 15 { id:"", name: "/data", type: "fixed", capacity: 10000,
16 availableCapacity: 3} 16 availableCapacity: 3}
(...skipping 23 matching lines...) Expand all
40 if (info.id == testData[j].id) { 40 if (info.id == testData[j].id) {
41 chrome.test.assertEq(testData[j].availableCapacity, 41 chrome.test.assertEq(testData[j].availableCapacity,
42 info.availableCapacity); 42 info.availableCapacity);
43 } 43 }
44 } 44 }
45 }); 45 });
46 } 46 }
47 })); 47 }));
48 } 48 }
49 ]); 49 ]);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698