Hi all,
I am running a junit test case. The code there wants to load a file that
resides in the Resources folder from the framework bundle. That framework is
where the class I am testing and the junit class reside.
However, this returns null:
NSBundle bundle = NSBundle.bundleForClass
Apparently we’re back up.
> On Feb 4, 2017, at 6:13 PM, Theodore Petrosky wrote:
>
> are we back up? or is this the end?
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (Webobjects-dev@lists.appl
apparently not!
> On Aug 14, 2016, at 10:30 AM, Theodore Petrosky wrote:
>
> Is there a problem with the webobjects dev email system?
>
> Just a test
>
> Ted
> ___
> Do not post admin requests to the list. They will b
gt;>
>>
>>
>> On 2016-04-07, 11:24 AM, "Paul Yu" wrote:
>>
>>> So if I’ve got it compiled and loaded into Apache 2.4 and apachectl -M
>>> shows the module loaded then I should be fine?
>>>
>>> Paul
>>>
>&g
On 12/04/2016 12:48,
"webobjects-dev-bounces+pmiddleton=onestep.co...@lists.apple.com on behalf of
Paul Yu" wrote:
>Chuck
>
>If I have Apache 2.4 running and I can access it, and I can access JavaMonitor
>and I can access WOTaskd, and when I tick ON in JavaMonitor I can tail -f
>App-1 and s
hows
>> the module loaded then I should be fine?
>>
>> Paul
>>
>>> On Apr 7, 2016, at 2:22 PM, Chuck Hill wrote:
>>>
>>> Install it and use it to access the app. If it compiles, it is pretty much
>>> a binary test, either it cras
>>
>> Install it and use it to access the app. If it compiles, it is pretty much
>> a binary test, either it crashes or it works fine. Try a file upload too.
>> I don’t recall ever hearing of any “it mostly works except for this one edge
>> case” bugs due to vers
So if I’ve got it compiled and loaded into Apache 2.4 and apachectl -M shows
the module loaded then I should be fine?
Paul
> On Apr 7, 2016, at 2:22 PM, Chuck Hill wrote:
>
> Install it and use it to access the app. If it compiles, it is pretty much a
> binary test, either it c
Install it and use it to access the app. If it compiles, it is pretty much a
binary test, either it crashes or it works fine. Try a file upload too. I
don’t recall ever hearing of any “it mostly works except for this one edge
case” bugs due to version updates.
Chuck
On 2016-04-07, 6:00
Once I have the woadaptor built, how do I know that it is actually working by
itself?
Paul
Sent from my iPad
> On Apr 6, 2016, at 5:43 PM, Chuck Hill wrote:
>
> Testing? Seriously? :-P If it does not crash, it is tested.
>
> Look in the archives for these threads:
> WebObjects and Apache
Testing? Seriously? :-P If it does not crash, it is tested.
Look in the archives for these threads:
WebObjects and Apache 2.4 on El Capitan
Apache Adaptor on debian:jessie
That should get you started.
Chuck
On 2016-04-06, 11:45 AM,
"webobjects-dev-bounces+chill=gevityinc@lists.apple
Hi List
Is there a procedure for building and testing WOAdaptor?
Paul
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https:
ot; wrote:
Anyway, back to the original question --
On 20. 2. 2015, at 18:27, OC mailto:o...@ocs.cz>> wrote:
Actually _this_ should not be weird, this should be quite a normal code; the
only requirement is that check-and-save, i.e., conceptually,
===
if (TEST(eo.someRelationship().someAttribut
all the best,
OC
> On 2015-02-21, 3:42 AM, "OC" wrote:
>
> Anyway, back to the original question --
>
> On 20. 2. 2015, at 18:27, OC wrote:
> Actually _this_ should not be weird, this should be quite a normal code; the
> only requirement is that check-and
e:
Anyway, back to the original question --
On 20. 2. 2015, at 18:27, OC mailto:o...@ocs.cz>> wrote:
Actually _this_ should not be weird, this should be quite a normal code; the
only requirement is that check-and-save, i.e., conceptually,
===
if (TEST(eo.someRelationship().someAttribute(),n
I don’t know, I suggest asking on the FrontBase developers list.
On 2015-02-21, 2:55 AM, "OC" wrote:
Chuck,
On 20. 2. 2015, at 19:37, Chuck Hill
mailto:ch...@gevityinc.com>> wrote:
One way would be to twist the DB to do the complete restraint to me, something
like to a pseudo-code “inserted_r
Hello there,
after having played for a time with constraints, I have decided to use a
trigger instead -- main reason is that I really want the validation performed
on INSERT only; a constraint might get evaluated in other occassions, too.
Nevertheless, I can't find a decent way of doing that in
Anyway, back to the original question --
On 20. 2. 2015, at 18:27, OC wrote:
>>> Actually _this_ should not be weird, this should be quite a normal code;
>>> the only requirement is that check-and-save, i.e., conceptually,
>>>
>>> ===
>>>
Chuck,
On 20. 2. 2015, at 19:37, Chuck Hill wrote:
>> One way would be to twist the DB to do the complete restraint to me,
>> something like to a pseudo-code “inserted_row.attr>=MAX(SELECT attr FROM
>> this_table WHERE another_attr.isValid) AND couple more similar conditions”
>> -- frankly I
On 2015-02-20, 12:30 PM, "Ramsey Gurley" wrote:
On Feb 20, 2015, at 12:09 PM, OC mailto:o...@ocs.cz>> wrote:
it must pass a slightly more complex test than uniqueness:
- when inserted into PRICE_OFFERS table,
- the newly inserted object must have value in column PRICE, which i
On Feb 20, 2015, at 12:09 PM, OC wrote:
> it must pass a slightly more complex test than uniqueness:
>
> - when inserted into PRICE_OFFERS table,
> - the newly inserted object must have value in column PRICE, which is higher,
> - than any (max) of the already existing object
Chuck,
On 20. 2. 2015, at 19:37, Chuck Hill wrote:
>> Actually _this_ should not be weird, this should be quite a normal code; the
>> only requirement is that check-and-save, i.e., conceptually,
>> === [1]
>> if (TEST(eo.someRelationship().someAttribute(),newAttr
On 2015-02-20, 9:27 AM, "OC" wrote:
Chuck,
Actually _this_ should not be weird, this should be quite a normal code; the
only requirement is that check-and-save, i.e., conceptually,
===
if (TEST(eo.someRelationship().someAttribute(),newAttributeValue)) {
Chuck,
>> Actually _this_ should not be weird, this should be quite a normal code; the
>> only requirement is that check-and-save, i.e., conceptually,
>>
>> ===
>> if (TEST(eo.someRelationship().someAttribute(),newAttributeValue)) {
>> def
>&g
#x27;t successfully registered on this list since I haven't
> received my mail below.
> How do I register?
>
> -Phil
>
> On 2/28/2014 2:05 AM, Phil Wright wrote:
>> Greetings,
>> Just a test.
>>
>> -Phil
>
> __
Greetings Everyone,
Seems like I haven't successfully registered on this list since I
haven't received my mail below.
How do I register?
-Phil
On 2/28/2014 2:05 AM, Phil Wright wrote:
Greetings,
Just a test.
-Phil
___
Do not post admi
Greetings,
Just a test.
-Phil
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options
Deploy through Apache on your laptop or test server. Then use something
like JMeter to simulate load that is editing the EOs.
Chuck
On 2013-10-09 12:06 PM, "Ken Anderson" wrote:
>All,
>
>I have an app that I want to use groups sync to keep multiple instances
>
All,
I have an app that I want to use groups sync to keep multiple instances up to
date. I have it running, but haven't come up with a great way to test. Is
there an easier way than doing a typical production setup? using wotaskd ?
Right now, I test with apache, but with a URL that has
fail
> to date when I run only this test class. If I run the complete project tests,
> I still have intermittent fail at the same place even after adding the model
> name to all the MockEditingContext constructors. I hate intermittent
> problems!
>
> Maybe Henrique Prange u
Hi Chuck,
I think your last comment was correct:
>> I think that means a model is being used that is not yet in an EOModelGroup.
I added the model name to the new MockEditingContext() call and no more fail to
date when I run only this test class. If I run the complete project tests, I
Hi Chuck,
> Hi Samuel,
>
> JUnit can/will run tests in a different order each time. So if your tests
> depend on something else having happened (EOF getting fully initialized, some
> other test running first) you will see random failures like this. I think it
> an/will run
Hi Samuel,
JUnit can/will run tests in a different order each time. So if your tests
depend on something else having happened (EOF getting fully initialized, some
other test running first) you will see random failures like this. I think it
an/will run tests in multiple threads too (I use
Hi,
I have a test that succeed sometime and fail other times. If I run the jUnit
source that contain this test, it fail sometime in the loadPermission() method.
I have no idea where to look at. It is even more strange that sometime, I can
have 6 successful tests and after 4 failed in a row
m Worman wrote:
> Hi David:
>
> The plugin install is done by the P2 director script which should be
> downloaded to /tmp (then deleted at completion). I haven't made any changes
> in the way that works.
>
> I haven't run go_wolips from within my target direc
Hi David:
The plugin install is done by the P2 director script which should be downloaded
to /tmp (then deleted at completion). I haven't made any changes in the way
that works.
I haven't run go_wolips from within my target directory but I'll give it a try
to test. What
ommons.httpclient.NoHttpResponseException) caught when
>>>>>> processing request: The server download.eclipse.org failed to respond
>>>>>> Apr 23, 2013 2:10:50 PM org.apache.commons.httpclient.HttpMethodDirector
>>>>>> executeWithRetry
>
t;>>> executeWithRetry
> >>>> INFO: Retrying request
> >>>> Installation failed.
> >>>> The installable unit
> >>>> org.zeroturnaround.eclipse.debug.feature.feature.group has not been
> >>>> found.
> >>&g
iled.
>>>> The installable unit
>>>> org.zeroturnaround.eclipse.debug.feature.feature.group has not been found.
>>>> Application failed, log file location:
>>>> /Users/worman/Desktop/eclipse/configuration/1366751366848.log
>>>> Cl
orman/Desktop/eclipse/configuration/1366751366848.log
>>> Cleaning up …
>>>
>>> Tim
>>> UCLA GSE&IS
>>>
>>> On Apr 23, 2013, at 11:31 AM, Bastian Triller
>>> wrote:
>>>
>>>> On Tue, Apr 23, 2013 at 8:13 PM, Tim
#x27;m
>>> just beginning so I'm not sure yet which options might break yet. I'm
>>> examining the script, looking at all the plugins that get installed and
>>> their associated update sites.
>>>
>>> The update site for WOLips is: http
> > their associated update sites.
> >
> > The update site for WOLips is: http://wocommunity.org/wolips/3.7/stable
> >
> > Do we have an update site for a WOLips 3.8 or should 3.7 stable be used
> > with Eclipse 3.8?
> > Eclipse 3.8 is only a bugfix
WOLips is: http://wocommunity.org/wolips/3.7/stable
> >
> > Do we have an update site for a WOLips 3.8 or should 3.7 stable be used
> with Eclipse 3.8?
> > Eclipse 3.8 is only a bugfix release for 3.7, so WOLips 3.7 works with
> Eclipse 3.8 as well.
> >
>
or should 3.7 stable be used with
> Eclipse 3.8?
> Eclipse 3.8 is only a bugfix release for 3.7, so WOLips 3.7 works with
> Eclipse 3.8 as well.
>
> Also, if anyone wants to test it, let me know.
>
> Tim
> ___
>
rks with
Eclipse 3.8 as well.
>
> Also, if anyone wants to test it, let me know.
>
> Tim
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
> Help
for WOLips is: http://wocommunity.org/wolips/3.7/stable
Do we have an update site for a WOLips 3.8 or should 3.7 stable be used with
Eclipse 3.8?
Also, if anyone wants to test it, let me know.
Tim
___
Do not post admin requests to the list. They will be ign
bounce test
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive
test - ignore
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive
test, please ignore
This email, including any attachments, is confidential and intended solely
for the person or organisation to whom it is addressed. If you are not the
intended recipient you must not disseminate, distribute or copy any part
of this email nor take any action in reliance on it
TEST please ignore
(have not received anything from the apple list server for two days)
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your
,
Alex
2012/4/17 g.alexandre
> hi,
> I want open database connection for create unit testing initialization
> with database access.
> I have test:
>
> @Test
> public void test(){
> ERXExtensions.initApp(Application.*class*, *new* String[0]);
> EOModel model = *new*
hi,
I want open database connection for create unit testing initialization with
database access.
I have test:
@Test
public void test(){
ERXExtensions.initApp(Application.class, new String[0]);
EOModel model = new EOModel(new
URL("file:///Users/dev1/Documents/head/fi
Sorry, it is a Test
Ken
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects
r_loc_WOLips:YOURPROJECT} for this to work.
>
> John
>
> On Tue, Feb 1, 2011 at 3:44 PM, Joe Kramer wrote:
>
>> Hi Everyone,
>>
>> I'm writing my first JUnit test for a WebObjects Application and I've hit
>> a roadblock. I need acc
this to work.
John
On Tue, Feb 1, 2011 at 3:44 PM, Joe Kramer wrote:
> Hi Everyone,
>
> I'm writing my first JUnit test for a WebObjects Application and I've hit a
> roadblock. I need access to some of the data in the database. When I just
> try to ru
Hi Everyone,
I'm writing my first JUnit test for a WebObjects Application and I've hit a
roadblock. I need access to some of the data in the database. When I just
try to run the test I get an error: "java.lang.IllegalArgumentException: An
object store for the entity "Account
> Regards, Kieran
>
>
> On Sep 13, 2010, at 9:12 PM, Louis Demers wrote:
>
>> Hi Kierian,
>>
>> to further test your new e-mail, could you tell me if you distributed the
>> long response utilities you talked about at WOWODC2010 ? and how to ge
sper reports presentation slides or have not succeeded
in connecting to the WOWODC 2010 podcast feed, let me know and I can email the
repository details to you.
Regards, Kieran
On Sep 13, 2010, at 9:12 PM, Louis Demers wrote:
> Hi Kierian,
>
> to further test your new e-mail, could
Hi Kierian,
to further test your new e-mail, could you tell me if you distributed the long
response utilities you talked about at WOWODC2010 ? and how to get to it. If so
is there a place that uses it that I can peruse ... 8-)
Cheers.
On 2010-09-13, at 13:51 , Kieran Kelleher wrote
since my mac.com emails are not going thru it seems.. let's switch to gmail
address... ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update you
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.c
Tried send topic twice, but no appeared there
Sorry about this,
Kevin
"This e-mail and any attachments to it (the "Communication") is, unless
otherwise stated, confidential, may contain copyright material and is for the
use only of the intended recipient. If you receive the Communication in
stubs for already existing test classes. It needs a bit of
> adjustment so it can find your test classes, but if you have some naming
> convention for your test classes you should be OK. Here's the link:
>
> http://moreunit.sourceforge.net/index.html
>
> Cheers,
> Katya
&
Hi Ramsey,
You should try the moreUnit plug-in for Eclipse. It is capable of
adding single method stubs for already existing test classes. It needs
a bit of adjustment so it can find your test classes, but if you have
some naming convention for your test classes you should be OK. Here
On Dec 12, 2009, at 7:02 PM, Ray Kiddy wrote:
>
> On Dec 12, 2009, at 8:14 AM, Ramsey Lee Gurley wrote:
>
>> Hi all,
>>
>> I'm wondering if there is an easier way to generate a JUnit test method stub
>> for a test class that already exists. Let's
On Dec 12, 2009, at 8:14 AM, Ramsey Lee Gurley wrote:
Hi all,
I'm wondering if there is an easier way to generate a JUnit test
method stub for a test class that already exists. Let's say I have
a class Foo with method bar(). When I generate the JUnit test
FooTest in ecli
Hi all,
I'm wondering if there is an easier way to generate a JUnit test method stub
for a test class that already exists. Let's say I have a class Foo with method
bar(). When I generate the JUnit test FooTest in eclipse, I can select the
methods and generate the source stub f
I am running to some annoying stuff using JMeter to test my wo app.
I used the HTTP Proxy Server to layout the samplers. Then had the Regular
expression extractor to handle the session_id. But when I run the JMeter
script. I often get a "You backtracked too far" error. On some of the
You can use-it, it works very well.
Le 18 mai 09 à 08:41, Amiel Montecillo a écrit :
I am trying out JMeter for the first time. It seems straightforward
and powerful. May I ask what's the best way to determine that a
particular request operation succeeded? Is it through the use of
Respo
I am trying out JMeter for the first time. It seems straightforward and
powerful. May I ask what's the best way to determine that a particular
request operation succeeded? Is it through the use of Response Assertions
checking for some desired text to be returned?
Amiel
On Mon, May 11, 2009 at 3:5
Thank you John,
Other useful link
http://wiki.objectstyle.org/confluence/display/WO/Testing-Load+Testing+WO+Apps+with+JMeter
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple
We use Jmeter all the time to test our WO apps. The trick is to use the
Regular Expression Extractor component (located under Post Processors). Add
this component after the first WO page that creates the session id. Set the
following fields:
Reference Name: wovars
Regular Expression: /MyApp
On May 8, 2009, at 6:05 PM, Antoine LAGIER wrote:
We try to use a simple test with Jmeter to test a WO dev.
so we need to get and set the wosid (wosid =
3V8YgnSQikFjJleLOXbGzw ) and to get and set the number of the
instance (/2 ) in the Jmeter process
You don't actually need t
We try to use a simple test with Jmeter to test a WO dev.
- In this script we try to connect to the site
/cgi-bin/WebObjects/myapp.woa/
- Login with a account :
/cgi-bin/WebObjects/myapp.woa/2/wa/LoginAction/doLogin
so we need to get and set the wosid (wosid =
3V8YgnSQikFjJleLOXbGzw
Hi Mike,
Copied from bug 5941664:
This problem occurs because of a conversion from URL to String in the
NSBundle class. The Java URLDecoder class could be used to solve this
problem. Below is a possible fix that could be done on
__exctractStringFromURL private method of NSBundle:
String url
tp://wiki.objectstyle.org/confluence/display/WO/Web+Applications-Development-Development+on+Windows
Cheers
Cheong Hee
Message: 9
Date: Wed, 29 Apr 2009 10:09:12 -0300
From: Henrique Prange
Subject: Re: Problem loading EOModel in a unit test on Windows
(NSBundle fails to load .jar bundles)
T
(as an aside - wouldn't it be nice if this were an open source
project and we could see each other's bug reports and submit
patches? - one can only dream)
dream away, dreamer ... jad works great, though. always submit a
patch if you have one :)
ms
_
'path' component and
a 'file path' is that URLs escape spaces as %20, while 'file paths' leave
them as spaces.
I've attached a unit test demonstrating the problem (and a potential
solution) and I've reported the bug to Apple (6841776).
Out of interest Henri
ndle()' to a list and
then adding all of the 'NSBundle.frameworkBundles()'. The problem is
that when running a unit test on Windows NSBundle.mainBundle() returns
null and 'modelGroupForLoadedBundles()' doesn't bother to check for null
before adding the 'main bun
2. Shall I bother submitting a bug report via Radar (given that Mike
fixed the last bug I found before I'd managed to finish writing the
bug report)?
yeah .. because this one is annoying :)
ms
___
Do not post admin requests to the list. They will b
;NSBundle.mainBundle()' to a list and then
adding all of the 'NSBundle.frameworkBundles()'. The problem is that when
running a unit test on Windows NSBundle.mainBundle() returns null and
'modelGroupForLoadedBundles()' doesn't bother to check for null before
adding the 'ma
I have not received any emails for since 1/1/2009. This is just a test to
see if the message does arrive at the list.
Cheers
Cheong Hee
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list
test, sorry for any inconvenience
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options
Testing
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-ar
Hello;
I keep getting this NSLog line...
Instance Request: Error parsing:
STATISTICS
Has anybody else had this --- does this mean that I need to update the
apache adaptor?
cheers.
___
Andrew Lindesay
www.lindesay.co.nz
___
Do not post admin
However, if you are under pressure to Just Fix It right now, then
Chuck's solution might be easiest and quickest.
Actually, if you're under pressure to Just Fix It right now ... I
would Just Leave It Alone :) It's only "wrong" because we're grumpy
software developers. Your current code gets
Kieran,
"Hmm. Your ideas are intriguing to me and I wish to subscribe to your
newsletter."
I'm going to take a serious look at using this in the future as I can
see adding other classes and being able to morph from one behavior to
another could be helpful as well.
Thanks for the heads u
On Apr 7, 2008, at 10:50 AM, David Avendasora wrote:
On Apr 7, 2008, at 1:23 PM, Chuck Hill wrote:
I have 2 types of Parts. One purchased from an outside vendor
(RawMaterial), and ones that are manufactured (ManufacturedPart).
A ManufacturedPart is made up of any number of component Par
An alternative way to handle this is to use the Strategy design
pattern and just have one Entity ... Part.
You would then create a PartBehaviour interface that encapsulates all
the things that vary among the various parts. It would give you great
flexibility to easily (easier than adding/ma
Just my 2 cents to the discussion )
If we consider the object model to be correct then the task of
traversing the array with 2 types of objects seems to be ideal for the
Visitor pattern. Am I missing something?
On 4/8/08, David Avendasora <[EMAIL PROTECTED]> wrote:
> Unfortunately, no. There's _lo
Unfortunately, no. There's _lots_ of differences. There are a number
of attributes that they share, but they each have completely different
business logic for deriving those values, and they each have
attributes that are unique to themselves that would make no sense to
have on the other.
What are the other differences between RawMaterial and ManufacturedPart?
Wouldn’t it be enough to just flag the RawMaterial ones as such and
just have one class for both?
atze
Am 07.04.2008 um 18:02 schrieb David Avendasora:
You know, I was hoping to avoid the whole question if the d
On Apr 7, 2008, at 1:23 PM, Chuck Hill wrote:
I have 2 types of Parts. One purchased from an outside vendor
(RawMaterial), and ones that are manufactured (ManufacturedPart).
A ManufacturedPart is made up of any number of component Parts.
These component Parts can be _either_ a RawMateri
On Apr 7, 2008, at 9:02 AM, David Avendasora wrote:
You know, I was hoping to avoid the whole question if the domain was
actually well-modeled or not, but with such dispersions cast on my
flawless modeling skills, I must respond! :-P
:-)
I have 2 types of Parts. One purchased from an out
You know, I was hoping to avoid the whole question if the domain was
actually well-modeled or not, but with such dispersions cast on my
flawless modeling skills, I must respond! :-P
I have 2 types of Parts. One purchased from an outside vendor
(RawMaterial), and ones that are manufactured (
On Apr 7, 2008, at 8:45 AM, Mike Schrag wrote:
Using instanceof on a member of an inheritance hierarchy is a bad
code smell. It is the code's ways of telling you that your design
is wrong. IMO.
I was going to say in my original that instanceof is a code smell,
also, actually, but we disa
Fetch only ManufacturedParts.
Don’t use the relationship to Parts (if that’s what you do) to get the
NSArray.
Either create a relationship to ManufacturedParts or fetch them using
a qualifier.
Iterating over a mixed NSArray wanting only one special class is bad
design. Filter it before yo
On Apr 7, 2008, at 8:45 AM, Ken Anderson wrote:
Using instanceof on a member of an inheritance hierarchy is a bad
code smell. It is the code's ways of telling you that your design
is wrong. IMO.
Almost as bad as using case statements! (doh!)
Case statements are right out!
Chuck
--
Using instanceof on a member of an inheritance hierarchy is a bad
code smell. It is the code's ways of telling you that your design
is wrong. IMO.
I was going to say in my original that instanceof is a code smell,
also, actually, but we disagree on the level of ugliness :) You're
just ch
On Apr 7, 2008, at 11:28 AM, Chuck Hill wrote:
On Apr 7, 2008, at 8:26 AM, Bob Stuart wrote:
At 11:20 AM -0400 4/7/08, David Avendasora wrote:
On Apr 7, 2008, at 10:36 AM, Mike Schrag wrote:
I'd expect the instanceof check will be much more efficient than
catching an exception.
By far .
1 - 100 of 123 matches
Mail list logo