Changeset 15 in tmcsimulator for trunk/test/tmcsim/paramicscommunicator/ParamicsFileReaderTest.java
- Timestamp:
- 04/22/2016 03:04:30 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/tmcsim/paramicscommunicator/ParamicsFileReaderTest.java
r13 r15 98 98 FileIOUpdate msg = (FileIOUpdate) obj; 99 99 assertEquals("1", msg.ioID); 100 assertEquals((long) 1 + kFileContents.length(), (long) msg.ioBytes); 100 // Windows and Unix have different EOL characters, so we have 101 // to approximate the answer here. 102 boolean result = kFileContents.length() - msg.ioBytes < 2; 103 assertTrue(result); 101 104 } else if (obj instanceof Document) 102 105 {
Note: See TracChangeset
for help on using the changeset viewer.
