summaryrefslogtreecommitdiffstats
path: root/chrome/test/data/components
diff options
context:
space:
mode:
authorcpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-22 19:57:46 +0000
committercpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-22 19:57:46 +0000
commit534b2ea0e41937778fe56dcbf5ef9f777dc981de (patch)
treebecc083cc561e45744396219b50467032dd958a3 /chrome/test/data/components
parent9c17fff2c408943b756fe02df619bb98fa1bd90a (diff)
downloadchromium_src-534b2ea0e41937778fe56dcbf5ef9f777dc981de.zip
chromium_src-534b2ea0e41937778fe56dcbf5ef9f777dc981de.tar.gz
chromium_src-534b2ea0e41937778fe56dcbf5ef9f777dc981de.tar.bz2
Component updater fourth installment
The test files, one component and two response files. the component1.dll is a valid do-nothing windows dll. BUG=61602 TEST=yup Review URL: http://codereview.chromium.org/7486013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93689 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data/components')
-rw-r--r--chrome/test/data/components/jebgalgnebhfojomionfpkfelancnnkf.crxbin0 -> 1843 bytes
-rw-r--r--chrome/test/data/components/jebgalgnebhfojomionfpkfelancnnkf.pem15
-rwxr-xr-xchrome/test/data/components/jebgalgnebhfojomionfpkfelancnnkf/component1.dllbin0 -> 1024 bytes
-rw-r--r--chrome/test/data/components/jebgalgnebhfojomionfpkfelancnnkf/manifest.json8
-rw-r--r--chrome/test/data/components/updatecheck_reply_1.xml6
-rw-r--r--chrome/test/data/components/updatecheck_reply_empty1
6 files changed, 30 insertions, 0 deletions
diff --git a/chrome/test/data/components/jebgalgnebhfojomionfpkfelancnnkf.crx b/chrome/test/data/components/jebgalgnebhfojomionfpkfelancnnkf.crx
new file mode 100644
index 0000000..4fb2a3b
--- /dev/null
+++ b/chrome/test/data/components/jebgalgnebhfojomionfpkfelancnnkf.crx
Binary files differ
diff --git a/chrome/test/data/components/jebgalgnebhfojomionfpkfelancnnkf.pem b/chrome/test/data/components/jebgalgnebhfojomionfpkfelancnnkf.pem
new file mode 100644
index 0000000..f3dddf2
--- /dev/null
+++ b/chrome/test/data/components/jebgalgnebhfojomionfpkfelancnnkf.pem
@@ -0,0 +1,15 @@
+-----BEGIN PRIVATE KEY-----
+MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBALrxtbyL9HNJp5c5w
+0u4HDRI/37Vt2jnKwuoep8upmzpfIlYTIvRTp/VrE9HovBWKS7bWSB1zo8jnbh5vw
+Kv5r+JcaBnxJ29lNx9D+D+6TCVuUWa2ph8OhWnPTdTysND1voPF4kEXivjxM2UU5G
+CCsCI1Hbqpt/WLXvwC7XYDNa3AgMBAAECgYAmWJxBr6eV2l7hGz0fFAXdB7g4yRfV
+Ec33lziH3GbQ4lfkSFNzPpzVFlxA6t3WVKYf8WhnyyJypAifJYHzyCcZesyKGSf+N
+icwm2j01UNVyCejFgWxM8f+H656C88eFHh2ciRzjTSJUB0Q8usszeYGRiKT2gqnDB
+yZDQPaeUlvyQJBAOzq1DPhUdYYFpuWUwKoOSKDxmSRrxCxVczI8DRDxLQGFIOuG3Y
+/t2Ga+ynFYL86/hYWGJRg8FQgB25N8PC1dnMCQQDKAHLbZEBN1n2oKZ//B+lsvsuG
+ewx4Sh4a7HJYncDZniXN7qlDPR/FqjYNKhWy7sJGFvpAl5xjYWUqS8Qoh0mtAkAdb
+vc6Es4l+Qwl/EEH3XprrU9igy7qtf1g2b3t4FV5wB+gVGsY/8V6nNSDVgA1AdE7UT
+dwh7KT4P7LV2eNoB29AkAJ5N+7Uzu7FEhvViqaCT8rrmS1n41KzwaOdwpawM9TWWW
+sooXz3yiRO/cNygPqEbu+Rx3W0BY+3+Ren/tpqMa5AkBNDHqOX+yGLJbkM21B9Exi
+eFbHHhDDW0lWf6pfcnLHGCFi0Vdx2xOjhH+JhM1v8TzoLWsy9GFqrkmqsofhDduI
+-----END PRIVATE KEY-----
diff --git a/chrome/test/data/components/jebgalgnebhfojomionfpkfelancnnkf/component1.dll b/chrome/test/data/components/jebgalgnebhfojomionfpkfelancnnkf/component1.dll
new file mode 100755
index 0000000..d981136
--- /dev/null
+++ b/chrome/test/data/components/jebgalgnebhfojomionfpkfelancnnkf/component1.dll
Binary files differ
diff --git a/chrome/test/data/components/jebgalgnebhfojomionfpkfelancnnkf/manifest.json b/chrome/test/data/components/jebgalgnebhfojomionfpkfelancnnkf/manifest.json
new file mode 100644
index 0000000..afe33e6
--- /dev/null
+++ b/chrome/test/data/components/jebgalgnebhfojomionfpkfelancnnkf/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "Component Test 1",
+ "version": "1.0",
+ "description": "A test component.",
+ "plugins": [
+ { "path": "component1.dll" }
+ ]
+}
diff --git a/chrome/test/data/components/updatecheck_reply_1.xml b/chrome/test/data/components/updatecheck_reply_1.xml
new file mode 100644
index 0000000..5d0a6c6
--- /dev/null
+++ b/chrome/test/data/components/updatecheck_reply_1.xml
@@ -0,0 +1,6 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
+ <app appid='jebgalgnebhfojomionfpkfelancnnkf'>
+ <updatecheck codebase='http://localhost/download/jebgalgnebhfojomionfpkfelancnnkf.crx' version='1.0' prodversionmin='11.0.1.0' />
+ </app>
+</gupdate>
diff --git a/chrome/test/data/components/updatecheck_reply_empty b/chrome/test/data/components/updatecheck_reply_empty
new file mode 100644
index 0000000..0519ecba
--- /dev/null
+++ b/chrome/test/data/components/updatecheck_reply_empty
@@ -0,0 +1 @@
+ \ No newline at end of file