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

Unified Diff: chrome/common/extensions/docs/server2/api_list_data_source_test.py

Issue 344453003: Docserver: separate models for apps and extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase/Add comment Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/server2/api_list_data_source_test.py
diff --git a/chrome/common/extensions/docs/server2/api_list_data_source_test.py b/chrome/common/extensions/docs/server2/api_list_data_source_test.py
index 566dad3201a47e909cfbddbf8490f682493a9598..77c8ee9b141c07b4c41c3a4029ca005eff6fdbd7 100755
--- a/chrome/common/extensions/docs/server2/api_list_data_source_test.py
+++ b/chrome/common/extensions/docs/server2/api_list_data_source_test.py
@@ -141,13 +141,11 @@ class APIListDataSourceTest(unittest.TestCase):
'stable': [
{
'name': 'alarms',
- 'platforms': ['apps', 'extensions'],
'version': 5,
'description': u'<code>alarms</code>'
},
{
'name': 'app.window',
- 'platforms': ['apps'],
# Availability logic will look for a camelCase format filename
# (i.e. 'app.window.html') at version 20 and below, but the
# unix_name format above won't be found at these versions.
@@ -156,7 +154,6 @@ class APIListDataSourceTest(unittest.TestCase):
},
{
'name': 'storage',
- 'platforms': ['apps', 'extensions'],
'last': True,
'version': 5,
'description': u'<code>storage</code>'
@@ -164,7 +161,6 @@ class APIListDataSourceTest(unittest.TestCase):
'dev': [
{
'name': 'sockets.udp',
- 'platforms': ['apps', 'extensions'],
'last': True,
'description': u'<code>sockets.udp</code>'
}],
@@ -176,12 +172,10 @@ class APIListDataSourceTest(unittest.TestCase):
self.assertEqual([
{
'name': 'experimental.bluetooth',
- 'platforms': ['apps'],
'description': u'<code>experimental.bluetooth</code>'
},
{
'name': 'experimental.power',
- 'platforms': ['apps', 'extensions'],
'last': True,
'description': u'<code>experimental.power</code>'
}], self._api_list.get('apps').get('experimental'))
@@ -191,26 +185,22 @@ class APIListDataSourceTest(unittest.TestCase):
'stable': [
{
'name': 'alarms',
- 'platforms': ['apps', 'extensions'],
'version': 5,
'description': u'<code>alarms</code>'
},
{
'name': 'browserAction',
- 'platforms': ['extensions'],
# See comment above for 'app.window'.
'version': 21,
'description': u'<code>browserAction</code>'
},
{
'name': 'infobars',
- 'platforms': ['extensions'],
'version': 5,
'description': u'<code>infobars</code>'
},
{
'name': 'storage',
- 'platforms': ['apps', 'extensions'],
'last': True,
'version': 5,
'description': u'<code>storage</code>'
@@ -218,7 +208,6 @@ class APIListDataSourceTest(unittest.TestCase):
'dev': [
{
'name': 'sockets.udp',
- 'platforms': ['apps', 'extensions'],
'last': True,
'description': u'<code>sockets.udp</code>'
}],
@@ -230,12 +219,10 @@ class APIListDataSourceTest(unittest.TestCase):
self.assertEqual([
{
'name': 'experimental.history',
- 'platforms': ['extensions'],
'description': u'<code>experimental.history</code>'
},
{
'name': 'experimental.power',
- 'platforms': ['apps', 'extensions'],
'description': u'<code>experimental.power</code>',
'last': True
}], self._api_list.get('extensions').get('experimental'))
« no previous file with comments | « chrome/common/extensions/docs/server2/api_list_data_source.py ('k') | chrome/common/extensions/docs/server2/api_models.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698