1 |
naota 11/05/07 09:05:23 |
2 |
|
3 |
Added: twittering-mode-9999-proxy-test.patch |
4 |
Log: |
5 |
New ebuild app-emacs/twittering-mode written by me. Emacs major mode |
6 |
for Twitter. |
7 |
|
8 |
(Portage version: 2.2.0_alpha31/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 app-emacs/twittering-mode/files/twittering-mode-9999-proxy-test.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/twittering-mode/files/twittering-mode-9999-proxy-test.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/twittering-mode/files/twittering-mode-9999-proxy-test.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: twittering-mode-9999-proxy-test.patch |
17 |
=================================================================== |
18 |
diff --git a/ChangeLog b/ChangeLog |
19 |
index 54255e0..0a9f20b 100644 |
20 |
--- a/ChangeLog |
21 |
+++ b/ChangeLog |
22 |
@@ -1,3 +1,8 @@ |
23 |
+2011-05-07 Naohiro Aota <naota@×××××.net> |
24 |
+ |
25 |
+ * test/test-twittering-mode.el (test-toggle-proxy): Improve proxy |
26 |
+ test. |
27 |
+ |
28 |
2011-05-06 Tadashi MATSUO <tad@×××××××××××.jp> |
29 |
|
30 |
* twittering-mode.el: Replace the symbol `us-ascii' for a |
31 |
diff --git a/test/test-twittering-mode.el b/test/test-twittering-mode.el |
32 |
index a686cf9..2b8eff6 100644 |
33 |
--- a/test/test-twittering-mode.el |
34 |
+++ b/test/test-twittering-mode.el |
35 |
@@ -17,7 +17,13 @@ |
36 |
(test-assert-eq nil (assocref 'quxx '((baz . qux) (foo . bar))))) |
37 |
|
38 |
(defcase test-toggle-proxy nil nil |
39 |
- (setq twittering-proxy-use nil) |
40 |
+ (setq twittering-proxy-use nil |
41 |
+ twittering-http-proxy-server nil |
42 |
+ twittering-http-proxy-port nil) |
43 |
+ (twittering-toggle-proxy) |
44 |
+ (test-assert-ok (not twittering-proxy-use)) |
45 |
+ (setq twittering-http-proxy-server "proxy.example.com" |
46 |
+ twittering-http-proxy-port 8080) |
47 |
(twittering-toggle-proxy) |
48 |
(test-assert-ok twittering-proxy-use) |
49 |
(twittering-toggle-proxy) |
50 |
@@ -565,4 +571,4 @@ |
51 |
access-token access-token-secret |
52 |
oauth-params)) |
53 |
"OAuth oauth_nonce=\"oElnnMTQIZvqvlfXM56aBLAf5noGD0AQR3Fmi7Q6Y\",oauth_signature_method=\"HMAC-SHA1\",oauth_timestamp=\"1272325550\",oauth_consumer_key=\"GDdmIQH6jhtmLUypg82g\",oauth_token=\"819797-Jxq8aYUDRmykzVKrgoLhXSq67TEa5ruc4GJC2rWimw\",oauth_version=\"1.0\",oauth_signature=\"yOahq5m0YjDDjfjxHaXEsW9D%2BX0%3D\"") |
54 |
- ) |
55 |
\ No newline at end of file |
56 |
+ ) |