home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.bin / SourceCode / MiscKit1.2.6 / Examples / MiscString / StringTestNEXTSTEP.m < prev    next >
Encoding:
Text File  |  1994-02-06  |  1.4 KB  |  38 lines

  1. //
  2. // StringTestNEXTSTEP.m -- test out the String class' NEXTSTEP category
  3. //        Written by Don Yacktman (c) 1994 by Don Yacktman.
  4. //                Version 1.0.  All rights reserved.
  5. //
  6. //        This notice may not be removed from this source code.
  7. //
  8. //    This program is included in the MiscKit by permission from the author
  9. //    and its use is governed by the MiscKit license, found in the file
  10. //    "LICENSE.rtf" in the MiscKit distribution.  Please refer to that file
  11. //    for a list of all applicable permissions and restrictions.
  12. //    
  13.  
  14. void testMiscStringNEXTSTEP()
  15. {
  16.     printf("***** Testing MiscStringNEXTSTEP category\n");
  17.  
  18. // Test MiscStringNEXTSTEP.m methods:
  19.     // -read:, -write:
  20.     // The typed stream methods could be tested here, but since
  21.     // the IB palette works just fine, and IB uses read/write to
  22.     // move objects off the palette and into the .nib, I assume
  23.     // that these methods are working fine.  Maybe in the future
  24.     // I'll write something here.  (I should.)
  25.  
  26.     // -encodeUsing:, -decodeUsing:, -encodeRemotelyFor:
  27.     // I have successfully used the NXTransport methods in my own
  28.     // DO-based apps.  I therefore assume they work fine, since I've
  29.     // had no troubles with them.  We still need to test this, but
  30.     // the code to do it is pretty extensive, so it's on hold for now.
  31.  
  32.     // -getInspectorClassName, -getIBImage
  33.     // The IB support works, as witnessed by the palette.  That's
  34.     // good enough for me.
  35.     printf("There is currently no test for the NEXTSTEP methods.\n");
  36. }
  37.  
  38.