Igor Wiedler
71c99422f3
[Locale] convenience createStubFormatter method for StubIntlDateFormatter tests
2011-02-23 14:20:47 +01:00
Igor Wiedler
ee5bc36c55
[Locale] add docblocks to StubIntlDateFormatter and adjust some things to be more like StubNumberFormatter
2011-02-23 14:20:47 +01:00
Igor Wiedler
5fdf68a08a
[Locale] add license docblock to LocaleTestCase
2011-02-23 14:20:47 +01:00
Igor Wiedler
31313f183a
[Locale] use is64Bit helper for StubIntlDateFormatterTest
2011-02-23 14:20:46 +01:00
Igor Wiedler
17e2d4e24c
[Locale] StubCollator: asort with initial tests
2011-02-23 14:20:46 +01:00
Igor Wiedler
3cc60f7cb4
[Locale] throw NotImplementedException on unimplemented chars
2011-02-23 14:20:45 +01:00
Igor Wiedler
d555049342
[Locale] only test BC era if on 64bit
2011-02-23 14:20:45 +01:00
Igor Wiedler
4fb79b715a
[Locale] split another StubIntlDateFormatter test into two
2011-02-23 14:20:45 +01:00
Igor Wiedler
53839f9235
[Locale] refactor tests, make use of specialized exception
2011-02-23 14:20:45 +01:00
Igor Wiedler
77258223f1
[Locale] re-order StubIntlDateFormatter methods, rename timezoneId to timeZoneId, add setLenient method
2011-02-23 14:20:44 +01:00
Igor Wiedler
1191ab4b56
[Locale] add remaining IntlDateFormatter methods with tests
2011-02-23 14:20:44 +01:00
Igor Wiedler
69b38faff7
[Locale] refactoring and some more tests
2011-02-23 14:20:44 +01:00
Igor Wiedler
e95df5d2a7
[Locale] fix failing test case
2011-02-23 14:20:44 +01:00
Igor Wiedler
8dab760160
[Locale] use eriksens intl test helpers
2011-02-23 14:20:43 +01:00
Jordi Boggiano
47c1110166
[Locale] Fixed two tests
2011-02-23 14:20:43 +01:00
Igor Wiedler
e962c4a633
[Locale] add another failing escape test case
2011-02-23 14:20:42 +01:00
Igor Wiedler
c7380fbb4c
[Locale] support standard date and time types if no format is set, refactoring and more tests
2011-02-23 14:20:42 +01:00
Igor Wiedler
85e6c5e426
[Locale] add some more test cases with escaping
2011-02-23 14:20:42 +01:00
Igor Wiedler
632ded5c96
[Locale] use UTC if timezone is unsupported
2011-02-23 14:20:42 +01:00
Igor Wiedler
a883a3f62a
[Locale] adjust to new quoting format, some tests failing
2011-02-23 14:20:42 +01:00
Igor Wiedler
cbfaaef76e
[Locale] support for z (timezone offset from GMT)
2011-02-23 14:20:41 +01:00
Igor Wiedler
d68c5fa7fd
[Locale] refactor to use DateTime and DateTimeZone, adding timezone support
2011-02-23 14:20:41 +01:00
Igor Wiedler
7efe476693
[Locale] support for s (second)
2011-02-23 14:20:41 +01:00
Igor Wiedler
87d3547679
[Locale] support for m (minute of hour)
2011-02-23 14:20:40 +01:00
Igor Wiedler
6b26f8296d
[Locale] support for K (12-hour (0-11))
2011-02-23 14:20:40 +01:00
Igor Wiedler
5a767045b6
[Locale] implement k (24-hour (1-24)
2011-02-23 14:20:40 +01:00
Igor Wiedler
bfc7e55692
[Locale] support for H (24 hour)
2011-02-23 14:20:39 +01:00
Igor Wiedler
71e3c97358
[Locale] support for a (AM/PM)
2011-02-23 14:20:39 +01:00
Igor Wiedler
49752f104b
[Locale] support for E (day of week)
2011-02-23 14:20:39 +01:00
Igor Wiedler
d4c1357f11
[Locale] support for D (day of year)
2011-02-23 14:20:39 +01:00
Igor Wiedler
5ffce2d6a2
[Locale] add support for h
2011-02-23 14:20:39 +01:00
Igor Wiedler
3b9f52ae9a
[Locale] use assertSame instead of assertEquals
2011-02-23 14:20:39 +01:00
Igor Wiedler
ae3ee5d896
[Locale] add support for L, which is the same as M
2011-02-23 14:20:38 +01:00
Igor Wiedler
b702ce86b5
[Locale] support for G and Q placeholders in StubIntlDateFormatter::format
2011-02-23 14:20:38 +01:00
Igor Wiedler
69f56dbbd9
[Locale] move intl bugs to skipped tests
2011-02-23 14:20:38 +01:00
Igor Wiedler
8c1146974f
[Locale] add support for escaping, give specifics on implementation used in tests
2011-02-23 14:20:38 +01:00
Igor Wiedler
55ac407458
[Locale] first implementation of StubIntlDateFormatter
2011-02-23 14:20:37 +01:00
Eriksen Costa
b649843e00
[Locale] added implementation to StubNumberFormatter::getLocale(), matching StubIntlDateFormatter::getLocale()
2011-02-23 13:26:05 +01:00
Eriksen Costa
b58e25cc83
[Locale] added static constructor
2011-02-23 13:26:05 +01:00
Eriksen Costa
69b0e09d6a
[Locale] added stub implementations of Locale and NumberFormatter classes
...
Updated update-data.php script to extract locales, countries names, languages and currencies
from ICU to be used by the stub implementations
2011-02-23 13:26:05 +01:00
Kris Wallsmith
fb005396dc
[HttpKernel] fixed another test where an explicit cache-control header is necessary
2011-02-21 21:53:04 -08:00
Kris Wallsmith
3e131f5b70
[HttpKernel] fixed invalid test
...
According to ResponseHeaderBag::computeCacheControlValue(), a response with an ETag but no explicit Cache-Control header should have a sensible Cache-Control of "private, must-revalidate" set. According to Response::isCacheable(), a response that includes a private Cache-Controls is not considered cacheable. Therefore, in order for this test response to be cacheable and stored, it requires an explicit Cache-Control of public.
2011-02-21 20:09:50 -08:00
Kris Wallsmith
a0bae94f88
[HttpFoundation] updated ResponseHeaderBag to compute Cache-Control whenever any of the headers it considers changes
2011-02-21 19:57:05 -08:00
Fabien Potencier
fc372bc217
[HttpKernel] changed core.view event to use notifyUntil() instead of filter() -- as soon as a listener returns a Response, we are done
2011-02-21 18:24:55 +01:00
Fabien Potencier
bf20238178
fixed a bug in Response content-type auto-detection
...
Without this patch, if you call __toString() on a Response,
the content-type auto-detection would never be trigerred
as __toString() changes the default content-type.
2011-02-21 16:57:25 +01:00
Fabien Potencier
9619c7dade
[Routing] removing the routing hack where we add a / at the beginning if it does not exist
2011-02-21 10:25:22 +01:00
Matthew Lewinski
c56bcd9ff4
Fix unit test breakage from ProfilerStorageInterface change.
2011-02-20 20:06:36 -06:00
yclian
092403909e
[DependencyInjection] Test for Symfony\Component\DependencyInjection\Compiler\ReplaceAliasByActualDefinitionPass.
2011-02-20 20:23:40 +08:00
yclian
3275820a6f
[DependencyInjection] Add Symfony\Tests\Component\DependencyInjection\ContainerBuilderTest::testAddGetCompilerPass().
2011-02-20 20:23:32 +08:00
Yuen-Chi Lian
a0e00ff159
[DependencyInjection] Aesthetic changes on ContainerTest, consequence of not using a formatter.
2011-02-19 19:50:57 +01:00