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
3 // found in the LICENSE file.
5 var testGetNetworkInterfaces = function() {
6 chrome
.system
.network
.getNetworkInterfaces(function(list
) {
7 chrome
.test
.assertTrue(!!list
, "Interface list is undefined.");
8 chrome
.test
.assertTrue(list
.length
> 0, "Interface list is empty.");
13 chrome
.test
.runTests([testGetNetworkInterfaces
]);