Author: mlytwyn
Date: Mon Oct  3 14:51:49 2016
New Revision: 40116

URL: http://svn.gna.org/viewcvs/gnustep?rev=40116&view=rev
Log:
Merges of Test with base trunk 40072

Modified:
    
libs/base/branches/gnustep_testplant_branch/Tests/base/Functions/NSByteSwapping.m
    
libs/base/branches/gnustep_testplant_branch/Tests/base/Functions/NSPathUtilities.m
    libs/base/branches/gnustep_testplant_branch/Tests/base/coding/basictypes.m

Modified: 
libs/base/branches/gnustep_testplant_branch/Tests/base/Functions/NSByteSwapping.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/branches/gnustep_testplant_branch/Tests/base/Functions/NSByteSwapping.m?rev=40116&r1=40115&r2=40116&view=diff
==============================================================================
--- 
libs/base/branches/gnustep_testplant_branch/Tests/base/Functions/NSByteSwapping.m
   (original)
+++ 
libs/base/branches/gnustep_testplant_branch/Tests/base/Functions/NSByteSwapping.m
   Mon Oct  3 14:51:49 2016
@@ -4,7 +4,6 @@
 int main()
 { 
   NSAutoreleasePool   *pool = [NSAutoreleasePool new];
-  id   o;
   float flt=M_PI;
   double dbl=M_PI;
 

Modified: 
libs/base/branches/gnustep_testplant_branch/Tests/base/Functions/NSPathUtilities.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/branches/gnustep_testplant_branch/Tests/base/Functions/NSPathUtilities.m?rev=40116&r1=40115&r2=40116&view=diff
==============================================================================
--- 
libs/base/branches/gnustep_testplant_branch/Tests/base/Functions/NSPathUtilities.m
  (original)
+++ 
libs/base/branches/gnustep_testplant_branch/Tests/base/Functions/NSPathUtilities.m
  Mon Oct  3 14:51:49 2016
@@ -21,6 +21,9 @@
   PASS([o length] > 0, "we can get a temporary directory");
   NSLog(@"NSOpenStepRootDirectory() %@", o = NSOpenStepRootDirectory());
   PASS([o length] > 0, "we can get a root directory");
+  NSLog(@"NSHomeDirectoryForUser(@\"non-existent-user\") %@",
+    o = NSHomeDirectoryForUser(@"non-existent-user"));
+  PASS(nil == o, "home directory for non existent user is nil");
 
   /* These functions have been removed in recent OSX but are retained in 
GNUstep
    */

Modified: 
libs/base/branches/gnustep_testplant_branch/Tests/base/coding/basictypes.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/branches/gnustep_testplant_branch/Tests/base/coding/basictypes.m?rev=40116&r1=40115&r2=40116&view=diff
==============================================================================
--- libs/base/branches/gnustep_testplant_branch/Tests/base/coding/basictypes.m  
(original)
+++ libs/base/branches/gnustep_testplant_branch/Tests/base/coding/basictypes.m  
Mon Oct  3 14:51:49 2016
@@ -154,6 +154,7 @@
 #define VAL_TEST(testx, testy) EQ(testx,testy)
 TEST_DECL(float, float);
 TEST_DECL(double, double);
+TEST_DECL(BOOL, BOOL);
 
 int main()
 {
@@ -184,6 +185,8 @@
   float f2;
   double d = 1.7976931348623157e+308;
   double d2;
+  BOOL b = YES;
+  BOOL b2;
   
   fm = [NSFileManager defaultManager];
   
@@ -222,6 +225,9 @@
   
   testWriteBasicType_ushort("ushort", &us);
   testReadBasicType_ushort("ushort", &us, &us2);
+  
+  testWriteBasicType_BOOL("BOOL", &b);
+  testReadBasicType_BOOL("BOOL", &b, &b2);
   
   obj1 = [Model new];
   [obj1 setValues];


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to