Overview
Comment: | Add Xcode project for tests on iOS
This currently does not test plugins. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
c7a9c43acd038faf5d89d55fd29268b4 |
User & Date: | js on 2018-01-20 16:26:21 |
Other Links: | manifest | tags |
Context
2018-01-20
| ||
16:53 | Update buildsys check-in: 672bc4ad89 user: js tags: trunk | |
16:26 | Add Xcode project for tests on iOS check-in: c7a9c43acd user: js tags: trunk | |
2018-01-19
| ||
23:31 | Remove Xcode project check-in: 39f9108e51 user: js tags: trunk | |
Changes
Modified .gitignore from [67e19934bc] to [644c27744a].
︙ | |||
20 21 22 23 24 25 26 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | - - - - + + + | config.status configure DerivedData docs extra.mk generators/gen_tables generators/gen_tables.exe |
Modified configure.ac from [747b814821] to [810887c634].
︙ | |||
471 472 473 474 475 476 477 | 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 | + + + + + + + + + + + + - + + + + | ]) AC_SUBST(REEXPORT_RUNTIME, ["-Wl,-reexport-lobjfw-rt"]) ]) AC_CHECK_HEADERS(sysdir.h) AC_CHECK_FUNCS(sysdir_start_search_path_enumeration) AC_MSG_CHECKING(whether host is iOS) AC_EGREP_CPP(yes, [ #include <TargetConditionals.h> #if (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE) || \ (defined(TARGET_OS_SIMULATOR) && \ TARGET_OS_SIMULATOR) yes #endif ], [ AC_MSG_RESULT(yes) AC_SUBST(TESTS_STATIC_LIB, tests.a) |
︙ |
Modified extra.mk.in from [901b193c8a] to [781a72bee4].
︙ | |||
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | + | REEXPORT_RUNTIME = @REEXPORT_RUNTIME@ RUNTIME = @RUNTIME@ RUNTIME_LIBS = @RUNTIME_LIBS@ RUN_TESTS = @RUN_TESTS@ TESTPLUGIN = @TESTPLUGIN@ TESTS_LIBS = @TESTS_LIBS@ TESTS_OBJCFLAGS = @TESTS_OBJCFLAGS@ TESTS_STATIC_LIB = @TESTS_STATIC_LIB@ UNICODE_M = @UNICODE_M@ USE_INCLUDES_ATOMIC = @USE_INCLUDES_ATOMIC@ USE_SRCS_FILES = @USE_SRCS_FILES@ USE_SRCS_PLUGINS = @USE_SRCS_PLUGINS@ USE_SRCS_SOCKETS = @USE_SRCS_SOCKETS@ USE_SRCS_THREADS = @USE_SRCS_THREADS@ WEAK_NSFOUNDATIONVERSIONNUMBER = @WEAK_NSFOUNDATIONVERSIONNUMBER@ WRAPPER = @WRAPPER@ |
Added tests/ImportTest.m version [8696b8d53a].
|
Modified tests/Makefile from [5879b5f371] to [38df2ce704].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | + | include ../extra.mk SUBDIRS = ${TESTPLUGIN} CLEAN = EBOOT.PBP \ boot.dol \ ${PROG_NOINST}.arm9 \ ${PROG_NOINST}.nds PROG_NOINST = tests${PROG_SUFFIX} STATIC_LIB_NOINST = ${TESTS_STATIC_LIB} SRCS = ForwardingTests.m \ OFArrayTests.m \ ${OFBLOCKTESTS_M} \ OFCharacterSetTests.m \ OFDataTests.m \ OFDateTests.m \ OFDictionaryTests.m \ |
︙ |
Modified tests/OFPluginTests.m from [68c05d528b] to [e8e0a8d94e].
︙ | |||
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | + + + + + + - + | #import "OFPlugin.h" #import "OFString.h" #import "OFAutoreleasePool.h" #import "TestsAppDelegate.h" #import "plugin/TestPlugin.h" #ifndef OF_IOS # define PLUGIN_PATH @"plugin/TestPlugin" #else # define PLUGIN_PATH @"PlugIns/TestPlugin" #endif static OFString *module = @"OFPlugin"; @implementation TestsAppDelegate (OFPluginTests) - (void)pluginTests { OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init]; TestPlugin *plugin; TEST(@"+[pluginFromFile:]", |
Modified tests/TestsAppDelegate.m from [296b9e3000] to [67fb65151c].
︙ | |||
19 20 21 22 23 24 25 | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | - + + | #include <stdlib.h> #import "ObjFW.h" #import "TestsAppDelegate.h" |
︙ | |||
431 432 433 434 435 436 437 | 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 | - + | [self XMLParserTests]; [self XMLNodeTests]; [self XMLElementBuilderTests]; #ifdef OF_HAVE_FILES [self serializationTests]; #endif [self JSONTests]; |
︙ |
Added tests/iOS.xcodeproj/project.pbxproj version [2681584e69].