public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-emacs/twittering-mode/files: twittering-mode-9999-proxy-test.patch
@ 2011-05-07  9:05 Naohiro Aota (naota)
  0 siblings, 0 replies; 2+ messages in thread
From: Naohiro Aota (naota) @ 2011-05-07  9:05 UTC (permalink / raw
  To: gentoo-commits

naota       11/05/07 09:05:23

  Added:                twittering-mode-9999-proxy-test.patch
  Log:
  New ebuild app-emacs/twittering-mode written by me. Emacs major mode
  for Twitter.
  
  (Portage version: 2.2.0_alpha31/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-emacs/twittering-mode/files/twittering-mode-9999-proxy-test.patch

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
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

Index: twittering-mode-9999-proxy-test.patch
===================================================================
diff --git a/ChangeLog b/ChangeLog
index 54255e0..0a9f20b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-07  Naohiro Aota  <naota@elisp.net>
+
+	* test/test-twittering-mode.el (test-toggle-proxy): Improve proxy
+	test.
+
 2011-05-06  Tadashi MATSUO  <tad@mymail.twin.jp>
 
 	* twittering-mode.el: Replace the symbol `us-ascii' for a
diff --git a/test/test-twittering-mode.el b/test/test-twittering-mode.el
index a686cf9..2b8eff6 100644
--- a/test/test-twittering-mode.el
+++ b/test/test-twittering-mode.el
@@ -17,7 +17,13 @@
   (test-assert-eq nil (assocref 'quxx '((baz . qux) (foo . bar)))))
 
 (defcase test-toggle-proxy nil nil
-  (setq twittering-proxy-use nil)
+  (setq twittering-proxy-use nil
+	twittering-http-proxy-server nil
+	twittering-http-proxy-port nil)
+  (twittering-toggle-proxy)
+  (test-assert-ok (not twittering-proxy-use))
+  (setq twittering-http-proxy-server "proxy.example.com"
+	twittering-http-proxy-port 8080)
   (twittering-toggle-proxy)
   (test-assert-ok twittering-proxy-use)
   (twittering-toggle-proxy)
@@ -565,4 +571,4 @@
       access-token access-token-secret
       oauth-params))
    "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\"")
-  )
\ No newline at end of file
+  )






^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in app-emacs/twittering-mode/files: twittering-mode-9999-proxy-test.patch
@ 2012-03-13 14:47 Naohiro Aota (naota)
  0 siblings, 0 replies; 2+ messages in thread
From: Naohiro Aota (naota) @ 2012-03-13 14:47 UTC (permalink / raw
  To: gentoo-commits

naota       12/03/13 14:47:58

  Removed:              twittering-mode-9999-proxy-test.patch
  Log:
  Remove proxy test patch. Bug #407971
  
  (Portage version: 2.2.0_alpha90/cvs/Linux x86_64)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-13 14:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-07  9:05 [gentoo-commits] gentoo-x86 commit in app-emacs/twittering-mode/files: twittering-mode-9999-proxy-test.patch Naohiro Aota (naota)
  -- strict thread matches above, loose matches on Subject: below --
2012-03-13 14:47 Naohiro Aota (naota)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox