Yukihiro "Matz" Matsumoto
|
0529f5fc31
|
mruby-io/test/file.rb: add tests for File#atime, File#ctime
|
2023-03-03 13:33:29 +09:00 |
|
John Bampton
|
ea8964ef35
|
ruby: standardize whitespace
|
2022-10-31 16:25:56 +10:00 |
|
Yukihiro "Matz" Matsumoto
|
8b65e4b73c
|
Add test to ensure #5077
|
2020-09-13 11:38:06 +09:00 |
|
KOBAYASHI Shuji
|
aeb86d953e
|
Avoid changing directory in mruby-io test
|
2020-04-29 17:48:01 +09:00 |
|
dearblue
|
6d9ac89f92
|
Implement File#size and File#truncate
|
2019-12-14 15:10:57 +09:00 |
|
dearblue
|
6ad2442fb9
|
Create a symbolic link in the temporary directory; fix #4642
Because the linker gives a warning on FreeBSD 12.0.
```
warning: mktemp() possibly used unsafely; consider using mkstemp()
```
|
2019-08-24 11:11:00 +09:00 |
|
dearblue
|
734a7f52a7
|
Make symbolic link names unique for test
|
2019-08-18 22:10:41 +09:00 |
|
KOBAYASHI Shuji
|
35943e7beb
|
Refactor mrb_str_to_cstr and mrb_string_value_cstr
- Extract null byte check to function.
- Avoid string allocation if null byte is included.
- Use `str_new` instead of `mrb_str_dup` + `mrb_str_modify`
|
2019-05-07 23:01:13 +09:00 |
|
KOBAYASHI Shuji
|
8cc2ad3348
|
Fix missing assertions in mruby-io test
|
2019-04-29 11:09:35 +09:00 |
|
KOBAYASHI Shuji
|
c6cd69970b
|
Remove unneeded const_defined?(:Time) in mruby-io test
`mruby-time` is included in test dependencies.
|
2019-02-26 21:12:41 +09:00 |
|
KOBAYASHI Shuji
|
e85cb9799c
|
Remove no meaning statements in mruby-io tests
|
2019-01-27 20:35:41 +09:00 |
|
KOBAYASHI Shuji
|
e9a6ec05b6
|
Use assertion methods in File test
|
2019-01-25 20:12:24 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d88d7aaf4b
|
Use $mrbtest_io_wfname for chmod test.
|
2019-01-09 13:04:23 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
c095736002
|
Try to fix a fragile File#mtime test.
|
2018-08-13 23:15:52 +09:00 |
|
take-cheeze
|
8f808cc9b1
|
Use temporary name for File#mtime test to avoid conflicts.
|
2018-06-20 21:42:48 +09:00 |
|
Yasuhiro Matsumoto
|
f4f006ba40
|
add File#mtime
|
2018-01-30 16:02:00 +09:00 |
|
Hiroshi Mimaki
|
5ef8f18e9b
|
Fixed mruby-io test failure on Windows platform.
|
2017-12-12 16:57:13 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
b103fa229d
|
File.symlink may not be implemented on some platforms; ref #3877
|
2017-12-09 14:22:03 +09:00 |
|
bamchoh
|
0ded91c806
|
Skip "File.readlink fails" test on MSVC
When MSVC, "File.readlink fails with non-symlink" test was failed even if raising NotImplementedError
|
2017-12-09 03:27:05 +09:00 |
|
Yukihiro "Matz" Matsumoto
|
d75266dd1b
|
Add 'mrbgems/mruby-io/' from commit '3c8e1f94c44252c836f79a48bb17726da28e2756'
git-subtree-dir: mrbgems/mruby-io
git-subtree-mainline: 10ed730e4b
git-subtree-split: 3c8e1f94c4
|
2017-12-07 18:11:06 +09:00 |
|