Commit graph

20 commits

Author SHA1 Message Date
rfm
c79b9844bd fix non-portable code in testcase 2024-06-23 08:20:52 +01:00
Gregory Casamento
ced4cd0531
Merge pull request #410 from gnustep/NSExpression_branch 2024-06-11 11:46:56 -04:00
hmelder
8024082027 NSPredicate: Add tests for constant expressions 2024-05-31 14:24:57 +02:00
Gregory John Casamento
d3d53ab23f Clean up tests 2024-05-31 00:20:09 -04:00
Gregory John Casamento
392a626444 Add missing enum values, add skeleton implementations for metods, add simple tests 2024-05-25 00:39:34 -04:00
Gregory John Casamento
84e1ef9881 Add extremely simple tests to make sure that each of the methods returns non-nil 2024-05-24 23:04:13 -04:00
Richard Frith-Macdonald
531d3b8559 Small array keyword fixes for NSPredicate 2023-10-08 13:48:33 +01:00
Frederik Seiffert
179158dbc5 Fix NSPredicate test using GCC 2022-09-15 10:57:17 +02:00
Hugo Melder
7fd20d1ae3
NSPredicate Value Fix
* Check if object is an NSExpression object

* Fix Indentation

* Update Changelog

* Add test case
2022-08-24 18:01:30 +02:00
Richard Frith-Macdonald
ae72ee4593 Fix for #243 2022-03-07 10:13:44 +00:00
Richard Frith-MacDonald
1f786ad7a8 fixes for #47618
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40462 72102866-910b-0410-8b05-ffd578937521
2017-04-09 12:45:18 +00:00
Niels Grewe
cb6b795926 Fix test for sum() aggregate: It was calling the count operator on
the array instead of actually summing up the values.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39851 72102866-910b-0410-8b05-ffd578937521
2016-06-08 07:45:56 +00:00
Richard Frith-MacDonald
5d51d364d8 remove bad test
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39805 72102866-910b-0410-8b05-ffd578937521
2016-05-25 06:33:49 +00:00
Richard Frith-MacDonald
7332655ada fix error in predicate test
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39804 72102866-910b-0410-8b05-ffd578937521
2016-05-25 06:18:49 +00:00
Richard Frith-MacDonald
8a9d9597b0 tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39779 72102866-910b-0410-8b05-ffd578937521
2016-05-19 07:21:36 +00:00
Niels Grewe
fcbbe0431f Implement -evaluateWithObject:substitutionVariables: (OS X 10.5 method),
and mark one of the GSBlockPredicate tests as hopeful on OS X.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39506 72102866-910b-0410-8b05-ffd578937521
2016-03-09 15:38:32 +00:00
Richard Frith-MacDonald
ecd0657dee Make test work when GS_GENERIC_CLASS is not defined.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39495 72102866-910b-0410-8b05-ffd578937521
2016-03-09 13:35:20 +00:00
Niels Grewe
6e6ee05a80 Implement [NSPredicate predicateWithBlock:].
Fixes https://savannah.gnu.org/bugs/?46418


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39493 72102866-910b-0410-8b05-ffd578937521
2016-03-09 13:19:35 +00:00
Richard Frith-MacDonald
1d582cabdb add a couple of substitution tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36143 72102866-910b-0410-8b05-ffd578937521
2013-02-15 09:59:26 +00:00
Richard Frith-MacDonald
0e02133729 import testsuite
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32187 72102866-910b-0410-8b05-ffd578937521
2011-02-16 08:21:17 +00:00