Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Issue 8 in phpt: Tests without an INI section don't received --ini switches
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
codesite-nore...@google.com  
View profile  
 More options Dec 17 2007, 11:36 pm
From: codesite-nore...@google.com
Date: Mon, 17 Dec 2007 20:36:55 -0800
Local: Mon, Dec 17 2007 11:36 pm
Subject: Issue 8 in phpt: Tests without an INI section don't received --ini switches
Issue 8: Tests without an INI section don't received --ini switches
http://code.google.com/p/phpt/issues/detail?id=8

Comment #1 by tswicegood:
This may not be implemented.  The current behavior of a PHPT test is
not to utilize a
section unless it is explicitly defined.  This makes the tests
independent of the
options they were invoked with.  If implemented, a "--alwayshave
<section>" argument
would need to be added to specify that a section should always have a particular
section, even if it was not explicitly stated.

If implemented, this requires the following tasks:
* implement PHPT_Controller_CLI_Processors_AlwayshaveProcessor to
instantiate default
PHPT_Section_INI
* add some value to the Registry to specify default sections
* change PHTP_Case_Parser add any default sections that aren't present
and/or add
them at the PHPT_Case_Validator stage
* add PHPT_SectionList::add(PHPT_Section $section) method for adding
new sections
after a SectionList is instantiated

Issue attribute updates:
        Labels: -Type-Defect -Priority-Medium Type-Enhancement Priority-Low

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
codesite-nore...@google.com  
View profile  
 More options Dec 17 2007, 11:36 pm
From: codesite-nore...@google.com
Date: Mon, 17 Dec 2007 20:36:55 -0800
Local: Mon, Dec 17 2007 11:36 pm
Subject: Issue 8 in phpt: Tests without an INI section don't received --ini switches
Issue 8: Tests without an INI section don't received --ini switches
http://code.google.com/p/phpt/issues/detail?id=8

Comment #1 by tswicegood:
This may not be implemented.  The current behavior of a PHPT test is
not to utilize a
section unless it is explicitly defined.  This makes the tests
independent of the
options they were invoked with.  If implemented, a "--alwayshave
<section>" argument
would need to be added to specify that a section should always have a particular
section, even if it was not explicitly stated.

If implemented, this requires the following tasks:
* implement PHPT_Controller_CLI_Processors_AlwayshaveProcessor to
instantiate default
PHPT_Section_INI
* add some value to the Registry to specify default sections
* change PHTP_Case_Parser add any default sections that aren't present
and/or add
them at the PHPT_Case_Validator stage
* add PHPT_SectionList::add(PHPT_Section $section) method for adding
new sections
after a SectionList is instantiated

Issue attribute updates:
        Labels: -Type-Defect -Priority-Medium Type-Enhancement Priority-Low

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
codesite-nore...@google.com  
View profile  
 More options Dec 20 2007, 8:26 pm
From: codesite-nore...@google.com
Date: Thu, 20 Dec 2007 17:26:08 -0800
Local: Thurs, Dec 20 2007 8:26 pm
Subject: Issue 8 in phpt: Tests without an INI section don't received --ini switches
Issue 8: Tests without an INI section don't received --ini switches
http://code.google.com/p/phpt/issues/detail?id=8

Comment #2 by tswicegood:
This will be implemented, I'm just not sure how I will implement it
yet.  I have situations where I want to auto
include files such as _skipif.inc if a SKIPIF section has not been
specified.  The code will probably be simplified
 from the above to something like a PHPT_SectionList_Factory that takes
an array of Section objects and adds any
"missing" sections to it.

Issue attribute updates:
        Status: Accepted
        Labels: -Priority-Low Priority-Medium

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
codesite-nore...@google.com  
View profile  
 More options Dec 20 2007, 8:26 pm
From: codesite-nore...@google.com
Date: Thu, 20 Dec 2007 17:26:08 -0800
Local: Thurs, Dec 20 2007 8:26 pm
Subject: Issue 8 in phpt: Tests without an INI section don't received --ini switches
Issue 8: Tests without an INI section don't received --ini switches
http://code.google.com/p/phpt/issues/detail?id=8

Comment #2 by tswicegood:
This will be implemented, I'm just not sure how I will implement it
yet.  I have situations where I want to auto
include files such as _skipif.inc if a SKIPIF section has not been
specified.  The code will probably be simplified
 from the above to something like a PHPT_SectionList_Factory that takes
an array of Section objects and adds any
"missing" sections to it.

Issue attribute updates:
        Status: Accepted
        Labels: -Priority-Low Priority-Medium

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »