Commit Graph

29 Commits

Author SHA1 Message Date
d5e57ac02d reimplement using C++11 2024-07-30 00:33:44 -04:00
eeaa1eadeb add test for value tokenizer to check limits 2024-07-29 11:57:09 -04:00
a3bacfca65 more unit tests for tokenizer functions constains() and matches() 2024-07-05 18:55:55 -04:00
8fcde04097 add a "matches()" method to the Tokenizer and ValueTokenizer classes using utils::strmatch() 2024-07-05 15:45:49 -04:00
3c4b0a0c04 expand homepage checker tool to check a few more folders and apply updates 2022-10-24 10:58:39 -04:00
6bc8da05b9 reformat unittest tree with clang-format 2021-08-23 17:06:30 -04:00
594bf56ee3 silence compiler warnings on macOS 2021-07-23 12:12:40 -04:00
2e6a0112d3 update URLs in some more files 2021-05-24 16:19:37 -04:00
462f27d661 Use copy-and-swap in Tokenizers
Ensures that the classes behave consistently when copied, moved, copy assigned,
and move assigned.
2021-04-26 14:28:13 -04:00
66f690004d correctly test move constructors 2021-04-24 07:14:49 -04:00
cf81f72aad more tests for tokenizer classes 2021-04-24 01:22:06 -04:00
67d4302fc7 add tests for tokenizer skip() function and throwing an exception 2021-04-04 21:51:06 -04:00
487c55edf0 simplify and apply clang-format 2021-03-24 11:24:55 -04:00
a6a2879807 add a few more tokenizer test cases for added use cases. 2021-03-15 12:02:58 -04:00
4c17217ad2 add unit tests for the exceptions thrown by ValueTokenizer when data is missing 2021-03-14 17:28:03 -04:00
569a000e6b reformat unittest sources with clang-format 2020-11-25 16:51:41 -05:00
adf74b3a22 use https://lammps.sandia.gov based URLs consistently 2020-10-21 16:45:30 -04:00
f19ce32bf5 a few more small tweaks 2020-09-04 09:42:11 -04:00
5a22f4d7f2 support that LAMMPS_POTENTIALS is a real path variable with multiple entries, not just a single folder 2020-08-29 22:22:03 -04:00
7413dc783e add tokenizer tests for splitting path environment variables 2020-08-29 22:07:22 -04:00
c9dc5d90d2 Merge remote-tracking branch 'origin/master' into refactor-reading 2020-07-17 23:08:26 -04:00
3db944decc apply clang-format settings to the c++ sources in the unittest tree 2020-06-13 01:54:58 -04:00
9945f73743 fix spelling in a few more files 2020-06-11 01:05:58 -04:00
81d937ee97 Performance optimization of Tokenizer
Reduces string allocations and removes std::vector from Tokenizer
Most processing now happens on-demand.
2020-06-11 00:22:04 -04:00
c1f6c004ca Add contains method to ValueTokenizer 2020-06-09 12:11:53 -04:00
644ef3da4c add LAMMPS copyright header 2020-06-01 19:08:59 -04:00
7ac0f869ef Add ValueTokenizer 2020-05-20 15:53:50 -04:00
9e3759d0fc Add missing newlines 2020-05-20 15:53:29 -04:00
d41927b056 Add Tokenizer class 2020-05-20 15:49:02 -04:00