Kare Morstol
|
e74189d008
|
Make tempdirectory a String instead of a NSURL.
The fact that NSURLs cannot be created with string literals makes them too cumbersome to use.
|
2014-12-02 00:17:39 +01:00 |
|
Kare Morstol
|
b33bfb9a5f
|
Move "temporaryDirectory" to new file Files.swift and rename it "tempdirectory".
Because it could be useful in scripts too.
|
2014-11-25 20:38:32 +01:00 |
|
Kare Morstol
|
90d10292c8
|
Add function "open(forWriting:, overwrite:)" for writing and appending to files.
Also added func "temporaryDirectory" to XCTestCase_Additions.
|
2014-11-25 01:15:36 +01:00 |
|
Kare Morstol
|
a377eb18fd
|
Add better error reporting to “open” function. Add public function "printErrorAndExit".
|
2014-11-23 23:31:06 +01:00 |
|
Kare Morstol
|
548e0740d4
|
Tidy up the code some more.
|
2014-10-30 00:28:20 +01:00 |
|
Kare Morstol
|
a144bc2650
|
Fix small typo and excessive whitespace.
|
2014-10-09 18:36:28 +02:00 |
|
Kare Morstol
|
7ef52b67bf
|
Move XCTestCase.pathForTestResource to a file common for all unit test targets.
|
2014-09-15 22:17:06 +02:00 |
|
Kare Morstol
|
676f91befb
|
Add assertion to test.
|
2014-09-09 19:32:02 +02:00 |
|
Kare Morstol
|
0b38585a1e
|
Add testReadFileLineByLine, readfilelinebyline.Swift test script and a short text file for testing.
|
2014-09-09 18:57:39 +02:00 |
|
Kare Morstol
|
c3ae075c5c
|
Renamed File tests to FileHandle* too.
|
2014-08-29 02:42:20 +02:00 |
|