octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #31751] Tests don't work for object member fun


From: Pascal Dupuis
Subject: [Octave-bug-tracker] [bug #31751] Tests don't work for object member functions
Date: Fri, 03 Dec 2010 16:09:32 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/10.04 (lucid) Firefox/3.6.12

Follow-up Comment #1, bug #31751 (project octave):

Hello,
everything under a directory whose name starts with '@' is private, and only
allowed to be used inside class members. So, if you want to define a test case
the directory layout has to be

@testclass/testclass.m <= the class constructor
@testclass/subsref.m   <= an overloaded method for the object
testclass              <= a script with the tests

the script defining the test must be put one layer above the class
definition.

Regards

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31751>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]