@@ -558,11 +558,11 @@ ![C(@"foo") isAbsolutePath] && ![C(@"b:foo") isAbsolutePath]) # elif defined(OF_AMIGAOS) TEST(@"-[isAbsolutePath]", [C(@"dh0:foo") isAbsolutePath] && [C(@"dh0:a/b") isAbsolutePath] && ![C(@"foo/bar") isAbsolutePath] && ![C(@"foo") isAbsolutePath]) -# elif defined(OF_NINTENDO_3DS) +# elif defined(OF_NINTENDO_3DS) || defined(OF_WII) TEST(@"-[isAbsolutePath]", [C(@"sdmc:/foo") isAbsolutePath] && ![C(@"sdmc:foo") isAbsolutePath] && ![C(@"foo/bar") isAbsolutePath] && ![C(@"foo") isAbsolutePath]) # else @@ -684,11 +684,11 @@ [[stringClass pathWithComponents: [OFArray arrayWithObjects: @"foo/", @"bar", @"", @"baz", @"/", nil]] isEqual: @"foo//bar/baz//"] && [[stringClass pathWithComponents: [OFArray arrayWithObjects: @"foo", nil]] isEqual: @"foo"]) -# elif defined(OF_NINTENDO_3DS) +# elif defined(OF_NINTENDO_3DS) || defined(OF_WII) TEST(@"+[pathWithComponents:]", [[stringClass pathWithComponents: [OFArray arrayWithObjects: @"foo", @"bar", @"baz", nil]] isEqual: @"foo/bar/baz"] && [[stringClass pathWithComponents: [OFArray arrayWithObjects: @"sdmc:", @"foo", @"bar", @"baz", nil]] @@ -765,11 +765,11 @@ /* foo// */ (a = [C(@"foo//") pathComponents]) && [a count] == 2 && [[a objectAtIndex: 0] isEqual: @"foo"] && [[a objectAtIndex: 1] isEqual: @"/"] && [[C(@"") pathComponents] count] == 0) -# elif defined(OF_NINTENDO_3DS) +# elif defined(OF_NINTENDO_3DS) || defined(OF_WII) TEST(@"-[pathComponents]", /* sdmc:/tmp */ (a = [C(@"sdmc:/tmp") pathComponents]) && [a count] == 2 && [[a objectAtIndex: 0] isEqual: @"sdmc:"] && [[a objectAtIndex: 1] isEqual: @"tmp"] && @@ -834,11 +834,11 @@ [[C(@"dh0:/") lastPathComponent] isEqual: @"/"] && [[C(@"dh0:") lastPathComponent] isEqual: @"dh0:"] && [[C(@"foo") lastPathComponent] isEqual: @"foo"] && [[C(@"foo/bar") lastPathComponent] isEqual: @"bar"] && [[C(@"foo/bar/baz/") lastPathComponent] isEqual: @"baz"]) -# elif defined(OF_NINTENDO_3DS) +# elif defined(OF_NINTENDO_3DS) || defined(OF_WII) TEST(@"-[lastPathComponent]", [[C(@"sdmc:/tmp") lastPathComponent] isEqual: @"tmp"] && [[C(@"sdmc:/tmp/") lastPathComponent] isEqual: @"tmp"] && [[C(@"sdmc:/") lastPathComponent] isEqual: @"sdmc:/"] && [[C(@"sdmc:") lastPathComponent] isEqual: @"sdmc:"] && @@ -885,11 +885,11 @@ [[C(@"dh0:tmp/foo/") stringByDeletingLastPathComponent] isEqual: @"dh0:tmp"] && [[C(@"foo/bar") stringByDeletingLastPathComponent] isEqual: @"foo"] && [[C(@"foo") stringByDeletingLastPathComponent] isEqual: @""]) -# elif defined(OF_NINTENDO_3DS) +# elif defined(OF_NINTENDO_3DS) || defined(OF_WII) TEST(@"-[stringByDeletingLastPathComponent]", [[C(@"/tmp/") stringByDeletingLastPathComponent] isEqual: @""] && [[C(@"sdmc:/tmp/foo/") stringByDeletingLastPathComponent] isEqual: @"sdmc:/tmp"] && [[C(@"sdmc:/") stringByDeletingLastPathComponent] @@ -934,11 +934,11 @@ [[C(@"foo.bar/") stringByDeletingPathExtension] isEqual: @"foo"] && [[C(@".foo") stringByDeletingPathExtension] isEqual: @".foo"] && [[C(@".foo\\bar") stringByDeletingPathExtension] isEqual: @".foo\\bar"] && [[C(@".foo.bar") stringByDeletingPathExtension] isEqual: @".foo"]) -# elif defined(OF_NINTENDO_3DS) +# elif defined(OF_NINTENDO_3DS) || defined(OF_WII) TEST(@"-[stringByDeletingPathExtension]", [[C(@"foo.bar") stringByDeletingPathExtension] isEqual: @"foo"] && [[C(@"foo..bar") stringByDeletingPathExtension] isEqual: @"foo."] && [[C(@"sdmc:/foo./bar") stringByDeletingPathExtension] isEqual: @"sdmc:/foo./bar"] &&