Project

General

Profile

Actions

Task(タスク) #3403

closed

OpenPNE の既存のテストコードが正常に動作するように修正を行う

Added by Youichi Kimura about 11 years ago. Updated over 8 years ago.

Status:
Invalid(無効)
Priority:
Normal(通常)
Target version:
Start date:
2012-02-02
Due date:
% Done:

0%

Estimated time:
(Total: 0:00 h)

Description

現象

OpenPNE に同梱されているユニットテスト・機能テストのコードの幾つかが正常に動作しない。特に機能テストについては、最近追加された activityPostWithImageTest.phpmemberSearchActionTest.php を除いてほぼ全て動作しない状態になっている。

このチケットでは既存のテストコードが動作しない原因を調査し、原因ごとに子チケットを作成していく。問題の修正についてはそれぞれの子チケットで取り扱う。全ての問題が解決して ./symfony test:all が成功した時点でこのタスクは完了とする。


Files

memberActionsTest_c7ce43f0.log (630 KB) memberActionsTest_c7ce43f0.log Youichi Kimura, 2013-09-20 14:21
memberActionsTest_57491595.log (17.6 KB) memberActionsTest_57491595.log Youichi Kimura, 2013-09-26 13:24
adminActionsTest_03554f57.log (10.5 KB) adminActionsTest_03554f57.log Youichi Kimura, 2013-10-07 14:56
testall-3.8.x_f563ccb4.log (9.18 KB) testall-3.8.x_f563ccb4.log Youichi Kimura, 2013-11-13 16:38

Subtasks 14 (0 open14 closed)

Bug(バグ) #3404: テストデータのカテゴライズ機能がfunctionalテストで正しく動作していないWon't fix(対応せず)Youichi Kimura2013-09-20

Actions
Bug(バグ) #3405: アクションの基底クラスとその派生クラスでメソッドのシグニチャが一致していないWon't fix(対応せず)Youichi Kimura2013-09-20

Actions
Bug(バグ) #3406: opMobileUserAgent::__construct() で E_STRICT エラーが発生するWon't fix(対応せず)Youichi Kimura

Actions
Bug(バグ) #3423: OpenPNE 本体のテストコードに opCommunityTopicPlugin 依存のテストが含まれているWon't fix(対応せず)Youichi Kimura2013-10-07

Actions
Bug(バグ) #3424: opI18N::generateApplicationMessages() から呼ばれる sfMessageSource::factory() の引数の型が適切でないWon't fix(対応せず)Youichi Kimura2013-10-07

Actions
Bug(バグ) #3425: pc_backendの機能テスト designActionsTest.php の実行に失敗するWon't fix(対応せず)Youichi Kimura2013-10-07

Actions
Bug(バグ) #3426: pc_backend の存在しないアクションに対するテストコードを削除するWon't fix(対応せず)Youichi Kimura2013-10-07

Actions
Bug(バグ) #3427: snsActionsTest.php でsfTestFunctionalクラスに存在しないisStatusCodeメソッドを呼び出しているWon't fix(対応せず)Youichi Kimura2013-10-07

Actions
Bug(バグ) #3428: opFormItemGenerator::generateValidator() に渡すフィールドの IsRequired や IsTrim を省略すると E_NOTICE レベルのエラーが発生するWon't fix(対応せず)Youichi Kimura2013-10-07

Actions
Bug(バグ) #3431: 機能テストに存在する雛形のままのテストコードを削除するWon't fix(対応せず)Youichi Kimura2013-10-08

Actions
Bug(バグ) #2773: テンプレートを使用するアクティビティの表示時に、対応するテンプレートが activity_template.yml 内に存在しない場合が想定されていないWon't fix(対応せず)Youichi Kimura2012-02-02

Actions
Bug(バグ) #3443: MemberConfigFormTest, MemberRelationshipTableTest がsendmailコマンドを実行しようとするWon't fix(対応せず)Youichi Kimura2013-10-08

Actions
Bug(バグ) #3445: #927 の修正によって無関係なCommunityMemberインスタンスが解放される問題の回避Won't fix(対応せず)Youichi Kimura2013-10-09

Actions
Bug(バグ) #3447: zlib 拡張の入っていない環境で opDoctrineRecordTest.php のテストが実行できないWon't fix(対応せず)Youichi Kimura2013-10-09

Actions

Related issues 2 (0 open2 closed)

Related to OpenPNE 3 - Bug(バグ) #1453: 文言設定で指定の言語がない場合FatalエラーとなるFixed(完了)Itsuro Tajima2010-07-29

Actions
Related to OpenPNE 3 - Bug(バグ) #2618: pc_frontend の test で opWebResponse を利用しないことによるテスト阻害Won't fix(対応せず)Shogo Kawahara2011-11-23

Actions
Actions #1

Updated by Youichi Kimura about 11 years ago

  • File memberActionsTest_c7ce43f0.log added

手始めに source:test/functional/pc_frontend/memberActionsTest.php@c7ce43f0 から。
現時点で master ブランチの最新である c7ce43f00f8e5b1c613673b59038692cdb26c317 にて実行した結果を添付します。

php --version の結果:

PHP 5.5.2-1 (cli) (built: Aug 20 2013 12:18:17) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
    with Zend OPcache v7.0.3-dev, Copyright (c) 1999-2013, by Zend Technologies

mysqld --version の結果:

mysqld  Ver 5.5.31-1-log for debian-linux-gnu on x86_64 ((Debian))

Actions #2

Updated by Youichi Kimura about 11 years ago

  • File deleted (memberActionsTest_c7ce43f0.log)
Actions #3

Updated by Youichi Kimura about 11 years ago

実行結果添付し直します。

Actions #4

Updated by Youichi Kimura about 11 years ago

大量に出力されている `Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in ...' は、PHP5.5 から非推奨となった preg_replace の /e 修飾子についての警告です。大抵は symfony や Doctrine のコードで発生しているようです。

Actions #5

Updated by Youichi Kimura about 11 years ago

  • Tracker changed from Bug(バグ) to Task(タスク)
  • Subject changed from OpenPNE に同梱されているテストコードが正常に動作しない to OpenPNE の既存のテストコードが正常に動作するように修正を行う
  • Description updated (diff)
Actions #6

Updated by Youichi Kimura about 11 years ago

ひとつめ

Bug (バグ) #3404: テストデータのカテゴライズ機能がfunctionalテストで正しく動作していない
https://redmine.openpne.jp/issues/3404

Actions #7

Updated by Youichi Kimura about 11 years ago

note-6 の修正を適用した a3beff99b303105c04cbf40dd3918ed3f1828504 にて再度 memberActionsTest.php を実行した結果 (抜粋):

# post /member/login/authMode/MailAddress
> member/configImage
> 1. When an user tries to post more than 4 photos, he gets an error message. (ref. #3544)
> 1st Post
not ok 1 - last request threw an uncaught exception RuntimeException: PHP sent a strict error at /home/upsilon/git/openpne3/master/apps/pc_frontend/modules/member/actions/actions.class.php line 19 (Declaration of memberActions::executeLogin() should be compatible with opMemberAction::executeLogin($request))

(途中のDeprecatedエラーは省略している)

Actions #8

Updated by Youichi Kimura about 11 years ago

note-7 に対するチケット

Bug (バグ) #3405: opMemberActionクラスとその派生クラスでメソッドのシグニチャが一致していない
https://redmine.openpne.jp/issues/3405

Actions #9

Updated by Youichi Kimura about 11 years ago

次のエラー

# post /member/login/authMode/MailAddress
> member/configImage
> 1. When an user tries to post more than 4 photos, he gets an error message. (ref. #3544)
> 1st Post
not ok 1 - last request threw an uncaught exception RuntimeException: PHP sent a strict error at /home/upsilon/git/openpne3/master/lib/util/opMobileUserAgent.class.php line 29 (Non-static method Net_UserAgent_Mobile::factory() should not be called statically, assuming $this from incompatible context)

(途中のDeprecatedエラーは省略している)

Actions #10

Updated by Youichi Kimura about 11 years ago

note-9 に対するチケット

Bug (バグ) #3406: opMobileUserAgent::__construct() で E_STRICT エラーが発生する
https://redmine.openpne.jp/issues/3406

Actions #11

Updated by Youichi Kimura about 11 years ago

note-10 の修正後。省略なし

# post /member/login/authMode/MailAddress
PHP Deprecated:  preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 409
PHP Deprecated:  preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 409

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 409
PHP Deprecated:  preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 409

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 409
PHP Deprecated:  preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 409

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 409
> member/configImage
> 1. When an user tries to post more than 4 photos, he gets an error message. (ref. #3544)
> 1st Post
# get member/configImage
PHP Deprecated:  preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 409
PHP Deprecated:  preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 409
PHP Deprecated:  preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 409
PHP Deprecated:  preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 409
PHP Deprecated:  preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 409

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 409
PHP Deprecated:  preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 409

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 409
PHP Deprecated:  preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 409

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 409
Actions #12

Updated by Youichi Kimura about 11 years ago

symfony や lime 等から出る E_DEPRECATED レベルのエラーが多いため、ここから先は PHP 5.4 でテストを実行します。(一段落したところで戻します)

PHP 5.4.20 (cli) (built: Sep 26 2013 12:46:15) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
Actions #13

Updated by Youichi Kimura about 11 years ago

note-12 の環境で memberActionsTest.php を実行した結果

Actions #14

Updated by Youichi Kimura about 11 years ago

memberActionsTest.php の実行結果 (note-13) について、ひとまず全てのテストが実行されている(成功しているかどうかに関わらず)ため次のテストコードに移ります。

Actions #15

Updated by Youichi Kimura about 11 years ago

communityActionsTest.php の実行結果 (抜粋)。LogicException によりテストの途中で終了しています。

> /config/communityTopicNotificationMail/1 - CSRF
# post /config/communityTopicNotificationMail/1

  LogicException: The request was not redirected.                      

  at () in lib/vendor/symfony/lib/util/sfBrowserBase.class.php line    
  540                                                                  

  at sfBrowserBase->followRedirect() in n/a line n/a                   

  at call_user_func_array() in                                         
  lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php line      
  433                                                                  

  at sfTestFunctionalBase->__call() in                                 
  test/functional/pc_frontend/communityActionsTest.php line 99         

  at opTestFunctional->followRedirect() in                             
  test/functional/pc_frontend/communityActionsTest.php line 99         

not ok 23 - An uncaught exception has been thrown.
#     Failed test (./lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php at line 511)
1..23
# Looks like you failed 1 tests of 23.
Actions #16

Updated by Youichi Kimura about 11 years ago

note-15 に対するチケット

Bug (バグ) #3423: OpenPNE 本体のテストコードに opCommunityTopicPlugin 依存のテストが含まれている
https://redmine.openpne.jp/issues/3423

Actions #17

Updated by Youichi Kimura about 11 years ago

note-16 の修正により pc_frontend の機能テストは全て実行される状態となりました。

Actions #19

Updated by Youichi Kimura about 11 years ago

->with('reqponse')->debug() を挿入した結果

> Login
# get /  

  Response debug                                                       

# WARNING
# An error occurred when processing this request.  
# The real response content has been replaced with the exception message to ease debugging.
HTTP/1.X 500
Content-Type: text/html; charset=utf-8  

exception 'RuntimeException' with message 'PHP sent a "notice" error at /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/i18n/sfMessageSource_File.class.php line 47 (Array to string conversion)' in /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php:463
Stack trace:
#0 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/i18n/sfMessageSource_File.class.php(47): sfTestFunctionalBase->handlePhpError(8, 'Array to string...', '/home/upsilon/g...', 47, Array)
#1 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/i18n/sfMessageSource.class.php(137): sfMessageSource_File->__construct(Array)
#2 /home/upsilon/git/openpne3/master/lib/i18n/opI18N.class.php(54): sfMessageSource::factory('OpenPNE', Array)
#3 /home/upsilon/git/openpne3/master/lib/i18n/opI18N.class.php(78): opI18N->generateApplicationMessages(Array)
#4 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/i18n/sfI18N.class.php(432): opI18N->setMessageSource(Array)
#5 [internal function]: sfI18N->listenToChangeActionEvent(Object(sfEvent))
#6 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/event_dispatcher/sfEventDispatcher.php(79): call_user_func(Array, Object(sfEvent))
#7 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/controller/sfController.class.php(227): sfEventDispatcher->notify(Object(sfEvent))
#8 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/controller/sfFrontWebController.class.php(48): sfController->forward('default', 'top')
#9 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/util/sfBrowser.class.php(43): sfFrontWebController->dispatch()
#10 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/util/sfBrowserBase.class.php(323): sfBrowser->doCall()
#11 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php(246): sfBrowserBase->call('/', 'get', Array, true)
#12 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php(184): sfTestFunctionalBase->call('/', 'get', Array, true)
#13 /home/upsilon/git/openpne3/master/test/functional/pc_backend/adminActionsTest.php(7): sfTestFunctionalBase->get('/')
#14 {main}
Actions #20

Updated by Youichi Kimura about 11 years ago

note-19 に対するバグチケット

Bug (バグ) #3424: opI18N::generateApplicationMessages() から呼ばれる sfMessageSource::factory() の引数の型が適切でない
https://redmine.openpne.jp/issues/3424

Actions #21

Updated by Youichi Kimura about 11 years ago

source:test/functional/pc_backend/designActionsTest.php@015897d3 の実行結果:

PHP Fatal error:  Class 'ProjectConfiguration' not found in /home/upsilon/git/openpne3/master/test/bootstrap/database.php on line 10

Fatal error: Class 'ProjectConfiguration' not found in /home/upsilon/git/openpne3/master/test/bootstrap/database.php on line 10
Actions #22

Updated by Youichi Kimura about 11 years ago

note-21 に対するバグチケット

Bug (バグ) #3425: pc_backendの機能テスト designActionsTest.php の実行に失敗する
https://redmine.openpne.jp/issues/3425

Actions #23

Updated by Youichi Kimura about 11 years ago

つぎ

Bug (バグ) #3426: pc_backend の存在しないアクションに対するテストコードを削除する
https://redmine.openpne.jp/issues/3426

Actions #24

Updated by Youichi Kimura about 11 years ago

source:test/functional/pc_backend/snsActionsTest.php@66829df2 の実行結果

> 0. Login
# get /default/login
# post /symfony/login

  RuntimeException: PHP sent a "warning" error at                      
  lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php line      
  433 (call_user_func_array() expects parameter 1 to be a valid        
  callback, class 'sfBrowser' does not have a method 'isStatusCode')   

  at () in                                                             
  lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php line      
  459                                                                  

  at sfTestFunctionalBase->handlePhpError() in n/a line n/a            

  at call_user_func_array() in                                         
  lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php line      
  433                                                                  

  at sfTestFunctionalBase->__call() in                                 
  test/functional/pc_backend/snsActionsTest.php line 15                

  at sfTestFunctional->isStatusCode() in                               
  test/functional/pc_backend/snsActionsTest.php line 15                

not ok 1 - An uncaught exception has been thrown.
#     Failed test (./lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php at line 511)
1..1
# Looks like you failed 1 tests of 1.

Actions #25

Updated by Youichi Kimura about 11 years ago

note-24 に対するバグチケット

Bug (バグ) #3427: snsActionsTest.php でsfTestFunctionalクラスに存在しないisStatusCodeメソッドを呼び出している
https://redmine.openpne.jp/issues/3427

Actions #26

Updated by Youichi Kimura about 11 years ago

note-25 修正後の snsActionsTest.php のエラー:

> 1. When an admin user tries to change the SNS configuration. (ref. #3488)
> A category is not selected, admin user can change the general configuration.
# get /sns/config

  Response debug                                                       

# WARNING
# An error occurred when processing this request.
# The real response content has been replaced with the exception message to ease debugging.
HTTP/1.X 500
Content-Type: text/html; charset=utf-8

exception 'RuntimeException' with message 'PHP sent a "notice" error at /home/upsilon/git/openpne3/master/lib/util/opFormItemGenerator.class.php line 171 (Undefined index: IsTrim)' in /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php:463
Stack trace:
#0 /home/upsilon/git/openpne3/master/lib/util/opFormItemGenerator.class.php(171): sfTestFunctionalBase->handlePhpError(8, 'Undefined index...', '/home/upsilon/g...', 171, Array)
#1 /home/upsilon/git/openpne3/master/lib/form/doctrine/SnsConfigForm.class.php(37): opFormItemGenerator::generateValidator(Array)
#2 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/form/sfForm.class.php(70): SnsConfigForm->configure()
#3 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/form/addon/sfFormSymfony.class.php(33): sfForm->__construct(Array, Array, NULL)
#4 /home/upsilon/git/openpne3/master/lib/form/BaseForm.class.php(15): sfFormSymfony->__construct(Array, Array, NULL)
#5 /home/upsilon/git/openpne3/master/apps/pc_backend/modules/sns/actions/actions.class.php(39): BaseForm->__construct(Array, Array)
#6 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/action/sfActions.class.php(60): snsActions->executeConfig(Object(opWebRequest))
#7 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/filter/sfExecutionFilter.class.php(92): sfActions->execute(Object(opWebRequest))
#8 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/filter/sfExecutionFilter.class.php(78): sfExecutionFilter->executeAction(Object(snsActions))
#9 /home/upsilon/git/openpne3/master/lib/filter/opExecutionFilter.class.php(162): sfExecutionFilter->handleAction(Object(sfFilterChain), Object(snsActions))
#10 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/filter/sfExecutionFilter.class.php(42): opExecutionFilter->handleAction(Object(sfFilterChain), Object(snsActions))
#11 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/filter/sfFilterChain.class.php(53): sfExecutionFilter->execute(Object(sfFilterChain))
#12 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/filter/sfBasicSecurityFilter.class.php(72): sfFilterChain->execute()
#13 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/filter/sfFilterChain.class.php(53): sfBasicSecurityFilter->execute(Object(sfFilterChain))
#14 /home/upsilon/git/openpne3/master/lib/filter/opCacheControlFilter.class.php(27): sfFilterChain->execute()
#15 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/filter/sfFilterChain.class.php(53): opCacheControlFilter->execute(Object(sfFilterChain))
#16 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/util/sfBrowser.class.php(165): sfFilterChain->execute()
#17 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/filter/sfFilterChain.class.php(53): sfFakeRenderingFilter->execute(Object(sfFilterChain))
#18 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/controller/sfController.class.php(238): sfFilterChain->execute()
#19 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/controller/sfFrontWebController.class.php(48): sfController->forward('sns', 'config')
#20 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/util/sfBrowser.class.php(43): sfFrontWebController->dispatch()
#21 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/util/sfBrowserBase.class.php(323): sfBrowser->doCall()
#22 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php(246): sfBrowserBase->call('/sns/config', 'get', Array, true)
#23 /home/upsilon/git/openpne3/master/lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php(184): sfTestFunctionalBase->call('/sns/config', 'get', Array, true)
#24 /home/upsilon/git/openpne3/master/test/functional/pc_backend/snsActionsTest.php(19): sfTestFunctionalBase->get('/sns/config')
#25 {main}
not ok 2 - last request threw an uncaught exception RuntimeException: PHP sent a notice error at /home/upsilon/git/openpne3/master/lib/util/opFormItemGenerator.class.php line 171 (Undefined index: IsTrim)
#     Failed test (./lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php at line 425)
1..2
# Looks like you failed 1 tests of 2.
Actions #27

Updated by Youichi Kimura about 11 years ago

note-26 に対するバグチケット

Bug (バグ) #3428: opFormItemGenerator::generateValidator() に渡すフィールドの IsRequired や IsTrim を省略すると E_NOTICE レベルのエラーが発生する
https://redmine.openpne.jp/issues/3428

Actions #28

Updated by Youichi Kimura about 11 years ago

note-27 の修正によって pc_backend の機能テストについても全てのテストが実行される状態となりました

Actions #29

Updated by Youichi Kimura about 11 years ago

Bug (バグ) #3431: mobile_frontend, mobile_mail_frontend の雛形テストコードを削除する
https://redmine.openpne.jp/issues/3431

Actions #30

Updated by Youichi Kimura about 11 years ago

途中で異常終了するユニットテスト:

Actions #31

Updated by Youichi Kimura about 11 years ago

sfConfigurationException: Configuration "config/activity_template.yml" does not exist or is unreadable. に対するバグチケット

Bug (バグ) #2773: テンプレートを使用するアクティビティの表示時に、対応するテンプレートが activity_template.yml 内に存在しない場合が想定されていない
https://redmine.openpne.jp/issues/2773

Actions #32

Updated by Youichi Kimura about 11 years ago

Zend_Mail_Transport_Exception: Unable to send mail. に対するバグチケット

Bug (バグ) #3443: MemberConfigFormTest, MemberRelationshipTableTest がsendmailコマンドを実行しようとする
https://redmine.openpne.jp/issues/3443

Actions #33

Updated by Shinichi Urabe about 11 years ago

  • pc_frontend にもひな形のままのテストコードが存在していますので、 #3431 と同様に削除したほうがよいかと考えます
    • test/functional/pc_frontend/googlemapsActionsTest.php
    • test/functional/pc_frontend/OpenIDActionsTest.php,
Actions #34

Updated by Youichi Kimura about 11 years ago

note-33 の指摘について、 #3431 でまとめて修正を行います

Actions #35

Updated by Youichi Kimura about 11 years ago

Bug (バグ) #3445: #927 の修正によって無関係なCommunityMemberインスタンスが解放される問題の回避
https://redmine.openpne.jp/issues/3445

Actions #36

Updated by Youichi Kimura about 11 years ago

Fatal error: Call to undefined function gzcompress() に対するバグチケット

Bug (バグ) #3447: zlib 拡張の入っていない環境で opDoctrineRecordTest.php のテストが実行できない
https://redmine.openpne.jp/issues/3447

Actions #37

Updated by Youichi Kimura about 11 years ago

note-36 までの修正で、OpenPNE コアに同梱されている全てのテストが(成功か否かに関わらず)実行される状態となりました。
現時点の master ブランチ (3743686e) での test:all 実行結果は下記の通りです。

Failed Test                     Stat  Total   Fail  Errors  List of Failed
--------------------------------------------------------------------------
c_backend/communityActionsTest     0     19      2      0  2 4
_backend/connectionActionsTest     0      5      2      0  2 3
/pc_backend/defaultActionsTest     0      1      1      0  1
l/pc_backend/designActionsTest     0     32     10      0  3 4 16 17 22 23 24 28 30 31
l/pc_backend/memberActionsTest     0     12      2      0  9 10
_backend/monitoringActionsTest     0     10      1      0  2
nal/pc_backend/naviActionsTest     0      4      3      0  1 2 3
l/pc_backend/pluginActionsTest     0      3      3      0  1 2 3
/pc_backend/profileActionsTest     0      8      4      0  1 2 5 6
onal/pc_backend/snsActionsTest     0     17      4      0  3 4 16 17
_frontend/communityActionsTest     0     46      9      0  28 29 31 32 33 34 42 43 44
ontend/communityComponentsTest     0     11      2      0  5 8
ontend/confirmationActionsTest     0     11      2      0  3 4
frontend/connectionActionsTest     0      8      7      0  2 3 4 5 6 7 8
/pc_frontend/memberActionsTest     0     42      4      0  14 21 23 42
unit/api/opJsonApiTest             0     42      9      0  10 11 12 14 18 19 25 26 39
tionLevelCascadingListenerTest     0     22      1      0  1
doctrine/ActivityDataTableTest     0     40      1      0  15
ine/CommunityCategoryTableTest     0     19      3      0  15 17 19
doctrine/CommunityCategoryTest     0      9      1      0  7
trine/CommunityMemberTableTest     0     82      7      0  28 29 30 36 37 38 68
el/doctrine/CommunityTableTest     0     51      4      0  9 10 11 15
t/model/doctrine/CommunityTest     0     36      3      0  26 27 28
unit/model/doctrine/FileTest       0     11      1      0  11
octrine/MemberProfileTableTest     0     12      1      0  12
ne/MemberRelationshipTableTest     0     15      3      0  4 5 6
model/doctrine/MemberTableTest     0     12      1      0  2
unit/model/doctrine/MemberTest     0     59      5      0  10 27 28 57 59
thConsumerInformationTableTest     0      5      2      0  3 5
e/OAuthConsumerInformationTest     0      8      1      0  3
octrine/ProfileOptionTableTest     0      5      1      0  3
odel/doctrine/ProfileTableTest     0     10      1      0  10
nit/model/doctrine/ProfileTest     0     22      1      0  3
ngCategorizedCommunityTaskTest     0     19      1      0  2
til/opToolkitLoadXmlStringTest     0      8      2      0  7 8
Failed 35/88 test scripts, 60.23% okay. 105/1367 subtests failed, 92.32% okay.
Actions #38

Updated by Youichi Kimura about 11 years ago

stable-3.6.x でテストを動作させるために追加でバックポートが必要そうなチケット:

Actions #39

Updated by Mutsumi Imamura about 11 years ago

Youichi Kimura は書きました:

stable-3.6.x でテストを動作させるために追加でバックポートが必要そうなチケット:

#3449 , #3450 でバックポートチケット追加しました。

Actions #40

Updated by Youichi Kimura about 11 years ago

stable-3.6.x ブランチの memberActionsTest.php で出たり出なかったりしたエラー:

> /member/updateActivity - CSRF
# post /member/updateActivity
PHP Fatal error:  Call to a member function pluralize() on a non-object in /home/upsilon/git/openpne3/master/lib/model/doctrine/ActivityDataTable.class.php on line 163

Fatal error: Call to a member function pluralize() on a non-object in /home/upsilon/git/openpne3/master/lib/model/doctrine/ActivityDataTable.class.php on line 163
Fatal error: Call to a member function pluralize() on a non-object in /var/www/sns/ukimura.dazai2.pne.jp/master/lib/model/doctrine/ActivityDataTable.class.php on line 170

Call Stack:
    0.0006     735112   1. {main}() /var/www/sns/ukimura.dazai2.pne.jp/master/test/functional/pc_frontend/memberActionsTest.php:0
   25.8067  226876920   2. sfTestFunctionalBase->post() /var/www/sns/ukimura.dazai2.pne.jp/master/test/functional/pc_frontend/memberActionsTest.php:124
   25.8067  226877264   3. sfTestFunctionalBase->call() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php:220
   25.8069  226877352   4. sfBrowserBase->call() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php:246
   25.8071  226878568   5. sfBrowser->doCall() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/vendor/symfony/lib/util/sfBrowserBase.class.php:323
   25.9249  229404136   6. sfFrontWebController->dispatch() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/vendor/symfony/lib/util/sfBrowser.class.php:43
   25.9250  229404512   7. sfController->forward() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/vendor/symfony/lib/controller/sfFrontWebController.class.php:48
   25.9400  229425304   8. sfFilterChain->execute() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/vendor/symfony/lib/controller/sfController.class.php:238
   25.9404  229425352   9. sfFakeRenderingFilter->execute() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/vendor/symfony/lib/filter/sfFilterChain.class.php:53
   25.9404  229425352  10. sfFilterChain->execute() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/vendor/symfony/lib/util/sfBrowser.class.php:165
   25.9407  229425352  11. opCacheControlFilter->execute() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/vendor/symfony/lib/filter/sfFilterChain.class.php:53
   25.9407  229425352  12. sfFilterChain->execute() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/filter/opCacheControlFilter.class.php:27
   25.9410  229425352  13. opCheckEnabledApplicationFilter->execute() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/vendor/symfony/lib/filter/sfFilterChain.class.php:53
   25.9411  229425432  14. sfFilterChain->execute() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/filter/opCheckEnabledApplicationFilter.class.php:39
   25.9415  229425432  15. opAppendXRDSHeaderFilter->execute() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/vendor/symfony/lib/filter/sfFilterChain.class.php:53
   25.9416  229425432  16. sfFilterChain->execute() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/filter/opAppendXRDSHeaderFilter.class.php:26
   25.9419  229425432  17. sfBasicSecurityFilter->execute() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/vendor/symfony/lib/filter/sfFilterChain.class.php:53
   25.9421  229425432  18. sfFilterChain->execute() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/vendor/symfony/lib/filter/sfBasicSecurityFilter.class.php:72
   25.9424  229425432  19. sfExecutionFilter->execute() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/vendor/symfony/lib/filter/sfFilterChain.class.php:53
   25.9426  229426592  20. opExecutionFilter->handleAction() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/vendor/symfony/lib/filter/sfExecutionFilter.class.php:42
   25.9438  229426552  21. sfExecutionFilter->handleAction() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/filter/opExecutionFilter.class.php:162
   25.9438  229426552  22. sfExecutionFilter->executeAction() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/vendor/symfony/lib/filter/sfExecutionFilter.class.php:78
   25.9691  229466832  23. sfActions->execute() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/vendor/symfony/lib/filter/sfExecutionFilter.class.php:92
   25.9694  229466920  24. opMemberAction->executeUpdateActivity() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/vendor/symfony/lib/action/sfActions.class.php:60
   25.9731  229631176  25. sfFormDoctrine->__construct() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/action/opMemberAction.class.php:575
   25.9732  229631784  26. BaseForm->__construct() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/form/sfFormDoctrine.class.php:52
   25.9732  229631784  27. sfFormSymfony->__construct() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/form/BaseForm.class.php:15
   25.9732  229631784  28. sfForm->__construct() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/vendor/symfony/lib/form/addon/sfFormSymfony.class.php:33
   25.9820  229854064  29. ActivityDataForm->configure() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/vendor/symfony/lib/form/sfForm.class.php:70
   25.9876  229752608  30. ActivityDataTable->getPublicFlags() /var/www/sns/ukimura.dazai2.pne.jp/master/lib/form/doctrine/ActivityDataForm.class.php:30
Actions #41

Updated by Mutsumi Imamura about 11 years ago

php test/functional/pc_frontend/memberActionsTest.php を実行し下記のエラーが出力されました。

> 1. When an user tries to post more than 4 photos, he gets an error message. (ref. #3544)
> 1st Post
# post /member/login/authMode/MailAddress
# get /member/configImage

  InvalidArgumentException: Could not find the element                 
  "アップロードする" (position 1) in the current DOM.          

  at () in lib/vendor/symfony/lib/util/sfBrowserBase.class.php line    
  740                                                                  

  at sfBrowserBase->doClickCssSelector() in n/a line n/a               

  at call_user_func_array() in                                         
  lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php line      
  433                                                                  

  at sfTestFunctionalBase->__call() in                                 
  lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php line      
  302                                                                  

  at opTestFunctional->doClickCssSelector() in                         
  lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php line      
  302                                                                  

  at sfTestFunctionalBase->click() in                                  
  test/functional/pc_frontend/memberActionsTest.php line 16            

not ok 1 - An uncaught exception has been thrown.
#     Failed test (./lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php at line 511)
not ok 2 - last request threw an uncaught exception Doctrine_Connection_Mysql_Exception: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens
#     Failed test (./lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php at line 425)
1..2
# Looks like you failed 2 tests of 2.                                  

Actions #42

Updated by Mutsumi Imamura about 11 years ago

Mutsumi Imamura は書きました:

php test/functional/pc_frontend/memberActionsTest.php を実行し下記のエラーが出力されました。

[...]

のエラーについてスタックトレース

HTTP/1.X 500
Content-Type: text/html; charset=utf-8

exception 'Doctrine_Connection_Mysql_Exception' with message 'SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens' in /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection.php:1082
Stack trace:
#0 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection/Statement.php(269): Doctrine_Connection->rethrowException(Object(PDOException), Object(Doctrine_Connection_Statement))
#1 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection.php(1006): Doctrine_Connection_Statement->execute(Array)
#2 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query/Abstract.php(983): Doctrine_Connection->execute('SELECT m.id AS ...', Array)
#3 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query/Abstract.php(1033): Doctrine_Query_Abstract->_execute(Array)
#4 /Users/imamura/SNS/auto_test_openpne3/lib/util/opDoctrineConnectionMysql.class.php(74): Doctrine_Query_Abstract->execute(Array, NULL)
#5 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Relation/LocalKey.php(63): opDoctrineConnectionMysql->query('FROM Member WHE...', Array)
#6 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Record.php(1380): Doctrine_Relation_LocalKey->fetchRelatedFor(Object(MemberImage))
#7 /Users/imamura/SNS/auto_test_openpne3/lib/util/opDoctrineRecord.class.php(177): Doctrine_Record->_get('Member', true)
#8 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Record.php(1350): opDoctrineRecord->_get('Member', true)
#9 /Users/imamura/SNS/auto_test_openpne3/lib/util/opDoctrineRecord.class.php(158): Doctrine_Record->get('Member', true)
#10 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Access.php(72): opDoctrineRecord->get('Member')
#11 /Users/imamura/SNS/auto_test_openpne3/lib/model/doctrine/MemberImage.class.php(20): Doctrine_Access->__get('Member')
#12 [internal function]: MemberImage->getIsPrimary()
#13 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/escaper/sfOutputEscaperObjectDecorator.class.php(64): call_user_func_array(Array, Array)
#14 /Users/imamura/SNS/auto_test_openpne3/apps/pc_frontend/templates/_partsMemberImagesBox.php(13): sfOutputEscaperObjectDecorator->__call('getIsPrimary', Array)
#15 /Users/imamura/SNS/auto_test_openpne3/apps/pc_frontend/templates/_partsMemberImagesBox.php(13): sfOutputEscaperIteratorDecorator->getIsPrimary()
#16 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/view/sfPHPView.class.php(75): require('/Users/imamura/...')
#17 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/view/sfPartialView.class.php(124): sfPHPView->renderFile('/Users/imamura/...')
#18 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/helper/PartialHelper.php(218): sfPartialView->render()
#19 /Users/imamura/SNS/auto_test_openpne3/lib/helper/opPartsHelper.php(36): get_partial('global/partsMem...', Array)
#20 /Users/imamura/SNS/auto_test_openpne3/apps/pc_frontend/modules/member/templates/configImageSuccess.php(5): op_include_parts('memberImagesBox', 'memberImageUplo...', Array)
#21 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/view/sfPHPView.class.php(75): require('/Users/imamura/...')
#22 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/view/sfPHPView.class.php(185): sfPHPView->renderFile('/Users/imamura/...')
#23 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/filter/sfExecutionFilter.class.php(155): sfPHPView->render()
#24 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/filter/sfExecutionFilter.class.php(116): sfExecutionFilter->executeView('member', 'configImage', 'Success', Array)
#25 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/filter/sfExecutionFilter.class.php(47): sfExecutionFilter->handleView(Object(sfFilterChain), Object(memberActions), 'Success')
#26 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/filter/sfFilterChain.class.php(53): sfExecutionFilter->execute(Object(sfFilterChain))
#27 /Users/imamura/SNS/auto_test_openpne3/lib/filter/opEmojiFilter.class.php(29): sfFilterChain->execute()
#28 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/filter/sfFilterChain.class.php(53): opEmojiFilter->execute(Object(sfFilterChain))
#29 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/filter/sfBasicSecurityFilter.class.php(72): sfFilterChain->execute()
#30 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/filter/sfFilterChain.class.php(53): sfBasicSecurityFilter->execute(Object(sfFilterChain))
#31 /Users/imamura/SNS/auto_test_openpne3/lib/filter/opAppendXRDSHeaderFilter.class.php(26): sfFilterChain->execute()
#32 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/filter/sfFilterChain.class.php(53): opAppendXRDSHeaderFilter->execute(Object(sfFilterChain))
#33 /Users/imamura/SNS/auto_test_openpne3/lib/filter/opCheckEnabledApplicationFilter.class.php(39): sfFilterChain->execute()
#34 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/filter/sfFilterChain.class.php(53): opCheckEnabledApplicationFilter->execute(Object(sfFilterChain))
#35 /Users/imamura/SNS/auto_test_openpne3/lib/filter/opCacheControlFilter.class.php(27): sfFilterChain->execute()
#36 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/filter/sfFilterChain.class.php(53): opCacheControlFilter->execute(Object(sfFilterChain))
#37 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/util/sfBrowser.class.php(165): sfFilterChain->execute()
#38 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/filter/sfFilterChain.class.php(53): sfFakeRenderingFilter->execute(Object(sfFilterChain))
#39 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/controller/sfController.class.php(238): sfFilterChain->execute()
#40 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/controller/sfFrontWebController.class.php(48): sfController->forward('member', 'configImage')
#41 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/util/sfBrowser.class.php(43): sfFrontWebController->dispatch()
#42 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/util/sfBrowserBase.class.php(323): sfBrowser->doCall()
#43 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php(246): sfBrowserBase->call('/member/configI...', 'get', Array, true)
#44 /Users/imamura/SNS/auto_test_openpne3/lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php(184): sfTestFunctionalBase->call('/member/configI...', 'get', Array, true)
#45 /Users/imamura/SNS/auto_test_openpne3/test/functional/pc_frontend/memberActionsTest.php(15): sfTestFunctionalBase->get('/member/configI...')
#46 {main}
not ok 1 - last request threw an uncaught exception Doctrine_Connection_Mysql_Exception: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens
#     Failed test (./lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php at line 425)
1..1
# Looks like you failed 1 tests of 1.                                  

Actions #43

Updated by Youichi Kimura about 11 years ago

stable-3.6.x ブランチでの test:all タスク実行結果:

Failed Test                     Stat  Total   Fail  Errors  List of Failed
--------------------------------------------------------------------------
c_backend/communityActionsTest     0     19      2      0  2 4
_backend/connectionActionsTest     0      5      2      0  2 3
/pc_backend/defaultActionsTest     0      1      1      0  1
l/pc_backend/designActionsTest     0     32     10      0  3 4 16 17 22 23 24 28 30 31
nal/pc_backend/mailActionsTest     0      2      2      0  1 2
l/pc_backend/memberActionsTest     0     12      2      0  9 10
_backend/monitoringActionsTest     0     10      1      0  2
nal/pc_backend/naviActionsTest     0      4      3      0  1 2 3
l/pc_backend/pluginActionsTest     0      3      3      0  1 2 3
/pc_backend/profileActionsTest     0      8      4      0  1 2 5 6
onal/pc_backend/snsActionsTest     0     16      3      0  2 3 7
/pc_frontend/OpenIDActionsTest     0      2      2      0  1 2
_frontend/communityActionsTest     0     28      4      0  13 14 15 16
frontend/connectionActionsTest     0      8      7      0  2 3 4 5 6 7 8
/pc_frontend/memberActionsTest     0     40      4      0  12 19 21 40
tionLevelCascadingListenerTest     0     22      1      0  1
doctrine/ActivityDataTableTest     0     40      1      0  15
trine/CommunityMemberTableTest     0     82      6      0  28 29 30 36 37 38
el/doctrine/CommunityTableTest     0     51      3      0  9 11 15
unit/model/doctrine/FileTest       0     11      1      0  11
octrine/MemberProfileTableTest     0     12      1      0  12
ne/MemberRelationshipTableTest     0     15      3      0  4 5 6
model/doctrine/MemberTableTest     0     12      1      0  2
unit/model/doctrine/MemberTest     0     59      5      0  10 27 28 50 57
thConsumerInformationTableTest     0      5      2      0  3 5
e/OAuthConsumerInformationTest     0      8      1      0  3
octrine/ProfileOptionTableTest     0      5      1      0  3
odel/doctrine/ProfileTableTest     0     10      1      0  10
nit/model/doctrine/ProfileTest     0     22      1      0  3
ngCategorizedCommunityTaskTest     0     19      1      0  2
til/opToolkitLoadXmlStringTest     0      8      2      0  7 8
Failed 31/85 test scripts, 63.53% okay. 81/1178 subtests failed, 93.12% okay.
Actions #44

Updated by Youichi Kimura about 11 years ago

stable-3.8.x ブランチ (f563ccb4) での test:all タスク実行結果:

Failed Test                     Stat  Total   Fail  Errors  List of Failed
--------------------------------------------------------------------------
c_backend/communityActionsTest     0     19      2      0  2 4
_backend/connectionActionsTest     0      5      2      0  2 3
/pc_backend/defaultActionsTest     0      1      1      0  1
l/pc_backend/designActionsTest     0     32     10      0  3 4 16 17 22 23 24 28 30 31
l/pc_backend/memberActionsTest     0     12      2      0  9 10
_backend/monitoringActionsTest     0     10      1      0  2
nal/pc_backend/naviActionsTest     0      4      3      0  1 2 3
l/pc_backend/pluginActionsTest     0      3      3      0  1 2 3
/pc_backend/profileActionsTest     0      8      4      0  1 2 5 6
onal/pc_backend/snsActionsTest     0     17      4      0  3 4 16 17
ontend/confirmationActionsTest     0     11      2      0  3 4
frontend/connectionActionsTest     0      8      7      0  2 3 4 5 6 7 8
/pc_frontend/memberActionsTest     0     42      4      0  14 21 23 42
unit/api/opJsonApiTest             0     42      9      0  10 11 12 14 18 19 25 26 39
tionLevelCascadingListenerTest     0     22      1      0  1
doctrine/ActivityDataTableTest     0     40      1      0  15
doctrine/CommunityCategoryTest     0      9      1      0  7
trine/CommunityMemberTableTest     0     82      6      0  28 29 30 36 37 38
el/doctrine/CommunityTableTest     0     51      3      0  9 11 15
unit/model/doctrine/FileTest       0     11      1      0  11
octrine/MemberProfileTableTest     0     12      1      0  12
ne/MemberRelationshipTableTest     0     15      3      0  4 5 6
model/doctrine/MemberTableTest     0     12      1      0  2
unit/model/doctrine/MemberTest     0     59      4      0  10 27 28 57
thConsumerInformationTableTest     0      5      2      0  3 5
e/OAuthConsumerInformationTest     0      8      1      0  3
octrine/ProfileOptionTableTest     0      5      1      0  3
odel/doctrine/ProfileTableTest     0     10      1      0  10
nit/model/doctrine/ProfileTest     0     22      1      0  3
ngCategorizedCommunityTaskTest     0     19      1      0  2
til/opToolkitLoadXmlStringTest     0      8      2      0  7 8
Failed 31/86 test scripts, 63.95% okay. 85/1247 subtests failed, 93.18% okay.

実行環境:

PHP 5.4.21 (cli) (built: Nov  7 2013 15:37:08) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
Actions #45

Updated by Yuya Watanabe about 11 years ago

communityActionsTest について #3519 にチケットを切りました

Actions #46

Updated by Youichi Kimura over 8 years ago

  • Status changed from Accepted(着手) to Invalid(無効)

新たにチケット #3969 を作成したため当チケットはクローズします

Actions

Also available in: Atom PDF