• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

shogi-server source


Commit MetaInfo

Revisiónabaf5a8c9f6ec6fe8ec4cf2859fb249e60bfaa0d (tree)
Tiempo2011-12-04 14:42:05
AutorDaigo Moriwaki <beatles@user...>
CommiterDaigo Moriwaki

Log Message

Corrected timing issue.

Cambiar Resumen

Diferencia incremental

--- a/test/TC_before_agree.rb
+++ b/test/TC_before_agree.rb
@@ -1,4 +1,6 @@
1-require "baseclient"
1+$:.unshift File.join(File.dirname(__FILE__), "..")
2+$topdir = File.expand_path File.dirname(__FILE__)
3+require "test/baseclient"
24 require "kconv"
35
46 class TestBeforeAgree < BaseClient
@@ -7,6 +9,7 @@ class TestBeforeAgree < BaseClient
79 login
810
911 @p1.puts "AGREE"
12+ sleep 0.1
1013 @p2.puts "LOGOUT"
1114 @p1.wait /^REJECT/
1215 @p2.wait /^REJECT/
@@ -17,6 +20,7 @@ class TestBeforeAgree < BaseClient
1720 login
1821
1922 @p2.puts "AGREE"
23+ sleep 0.1
2024 @p1.puts "LOGOUT"
2125 @p1.wait /^REJECT/
2226 @p2.wait /^REJECT/
@@ -26,6 +30,7 @@ class TestBeforeAgree < BaseClient
2630 def test_gote_logout_before_sente_agree
2731 login
2832
33+ sleep 0.1
2934 @p2.puts "LOGOUT"
3035 @p1.wait /^REJECT/
3136 @p2.wait /^REJECT/
@@ -35,6 +40,7 @@ class TestBeforeAgree < BaseClient
3540 def test_sente_logout_before_gote_agree
3641 login
3742
43+ sleep 0.1
3844 @p1.puts "LOGOUT"
3945 @p1.wait /^REJECT/
4046 @p2.wait /^REJECT/