Commit Graph

113 Commits

Author SHA1 Message Date
Steve Nygard
0970c7297d Update copyrights. 2019-03-01 23:58:53 -07:00
Steve Nygard
d82a2ea0aa Apply Xcode 9 beta recommended settings. 2017-06-05 23:27:03 -06:00
Steve Nygard
69d1f19afb Update copyrights for 2015. 2015-04-21 21:19:12 -06:00
Steve Nygard
5dae84a50a Update copyrights for 2014. 2014-02-10 17:39:41 -07:00
Steve Nygard
5c9dae2a8f Convert to XCTest. 2013-11-16 12:11:28 -07:00
Steve Nygard
490b1f7567 Update copyrights for 2013. 2013-09-29 23:42:53 -06:00
Steve Nygard
defb9a98c4 Merge pull request #35 from 0xced/arm64
New `arm64` architecture support
2013-09-19 17:12:27 -07:00
Cédric Luthi
2c24e47ca0 Add arm64 unit tests 2013-09-11 15:11:28 +02:00
Cédric Luthi
f1a57ff1f0 Add unit test for block signature with BOOL arguments 2013-06-18 11:19:29 +02:00
Cédric Luthi
3c6ac05ec6 Add unit tests for block signature 2013-06-18 11:00:53 +02:00
Steve Nygard
42abae5ff9 Add test cases, including a failing test case. 2012-09-19 13:31:19 -06:00
Steve Nygard
859f7247e5 Ignore the capability bits on the cpusubtype when matching architectures.
Add tests.  Grab.app has LIB64 capability bits on 10.8.
2012-09-19 13:08:14 -06:00
Steve Nygard
ffd18a4c60 Remove -test_fubar, and align some code. 2012-09-19 12:01:34 -06:00
Steve Nygard
d5788aac1f Add some failing tests. 2012-09-19 12:01:21 -06:00
Steve Nygard
38fb7fc013 Add ARM tests, one fails. 2012-09-19 09:44:06 -06:00
Steve Nygard
93b3a4a662 Add tests for getting a machOFile of a particular architecture.
Xcode's testing is broken, and incorrectly claims that some tests did not finish.
2012-09-19 09:25:43 -06:00
Steve Nygard
85f0587390 Change fixtures to use stub CDMachOFile instances. 2012-09-18 13:07:36 -06:00
Steve Nygard
1964264a2f Rename properties to all lower case (cputype, cpusubtype), to match the underlying structure and other parts of the api. 2012-09-18 12:45:45 -06:00
Steve Nygard
da9414a0bf Keep references to the individual CDFatArch instances in these test cases. 2012-09-18 12:20:52 -06:00
Steve Nygard
23b9b19d1f Add test cases for matching best architecture in fat files. 2012-09-18 12:09:34 -06:00
Steve Nygard
fcfb96a935 Add tests for CDArchFromName(). Recognize armv7s as a special case. 2012-09-15 15:27:22 -06:00
Steve Nygard
fad6e5602d Add tests for other current processors. 2012-09-15 14:53:40 -06:00
Steve Nygard
66b865dcd7 Add failing test case for armv7s. 2012-09-15 11:18:51 -06:00
Steve Nygard
8c05c6b563 Rename UnitTests to TestCDNameForCPUType. 2012-09-15 11:09:25 -06:00
Steve Nygard
68748511ee Move old, unused unit tests aside and create a new unit test bundle. 2012-09-15 10:11:13 -06:00
Steve Nygard
a8f187eea2 Updated copyrights for 2012. 2012-02-24 00:30:28 -07:00
Steve Nygard
45f18c4c8d Changed compiler to LLVM 2.0.
Fixing warnings:
- use __cmd instead of _cmd
- Fixed many formatting string warnings

Removed GCC model tuning option.
2011-06-11 19:20:08 -06:00
Steve Nygard
f7e22718dc Added underscores to enum names. 2011-05-13 02:10:14 -06:00
Steve Nygard
4dd0196fb0 Updated copyrights. 2011-05-13 01:25:11 -06:00
Steve Nygard
163b6f8256 Updated copyrights. 2010-05-05 03:35:11 -06:00
Steve Nygard
184cb0e973 Committing a couple tests from earlier. 2009-08-04 10:40:14 +00:00
Steve Nygard
093133067f Improved handling of the second set of problem with parsing C++ template types.
Added suffix to CDTypeName to record the suffix.  Currently it only seems to be an optional trailing *.
2009-07-09 08:12:04 +00:00
Steve Nygard
52723fa9f4 Handle a few different variations of that Safari special case type. 2009-07-09 07:23:48 +00:00
Steve Nygard
cb7db5adfe Testing and tweaking type formatting.
Working on the Safari special case of a lone ^ in a structure.  Cleaning up output of the formatType tool.  Added three test case
files for the problematic type.
2009-07-09 07:19:19 +00:00
Steve Nygard
90d92ff574 Removed old file. 2007-11-05 19:42:06 +00:00
Steve Nygard
90f736d35a Removed test test case. 2007-11-05 17:46:46 +00:00
Steve Nygard
fd87bd9d8a Removed old bit of code. 2007-11-05 17:29:07 +00:00
Steve Nygard
b053a6a13b Tweaked, use DEVELOPER_DIR. More tweaking to come -- just set OTEST_TEST_CLASS in the project instead of defaulting to AllTests. 2007-11-05 13:56:18 +00:00
Steve Nygard
3870e5cd84 Fixed a regression in how we treat paths. It turns out doTests was invoking it with a trailing slash, which started producing
different results that it used to.
2007-11-04 14:21:42 +00:00
Steve Nygard
12f5e62a6f Killed testFoobar. 2007-11-03 15:17:13 +00:00
Steve Nygard
e30a60ef5f Trying to get better error reporting from the horrible mixture of NSException and NSError, ugh.
All while I'm in -testFoobar...
2007-11-03 15:15:23 +00:00
Steve Nygard
fcecef4d36 Added workaround for some problems in Pages '08 by preprocessing type, replacing <unnamed>:: with unnamed::. We'll see how well
it works in practice.
2007-11-03 13:58:06 +00:00
Steve Nygard
e8ba330e54 Made this use OTEST_TEST_CLASS, so I can test one thing at a time. 2007-11-03 13:13:29 +00:00
Steve Nygard
b0abe840f9 Renamed two test suites to be "Order" and "Chaos". 2007-11-03 12:49:40 +00:00
Steve Nygard
3632b4e21c I finally got all the old tests running! 2007-11-03 12:47:59 +00:00
Steve Nygard
d77fef1881 Converting another test case. I now copy the input/ouput test files into the bundle so that it works when Xcode runs the tests. 2007-11-03 12:43:13 +00:00
Steve Nygard
0c4ad57dd3 Converted another unit test. 2007-11-03 12:13:34 +00:00
Steve Nygard
e214aef5bc Testing my unit tests uncovered a bug in the testing code. Fixed. Add unordered tests to unordered suite! 2007-11-03 11:50:36 +00:00
Steve Nygard
67ca9813f2 Jump through some hoops to make sure the test suites are run in my desired order. 2007-11-03 11:28:28 +00:00
Steve Nygard
5f954357c9 Added a simple shell script to run a specific test suite, so that I can make sure they're run in the order I want them to be run. 2007-11-03 11:25:29 +00:00