Commit Graph

12 Commits

Author SHA1 Message Date
ionutboangiu
0f70af84e9 centralize test flags for shared use across tests 2024-08-15 18:17:33 +02:00
ionutboangiu
0dfb3b860d Centralize RPCClient constructor 2024-08-15 18:17:33 +02:00
ionutboangiu
4c34d321de Add sanity check to prevent xml reader panic
HierarchyPath parser now returns nil when
the path is empty (instead of a string slice with one
EmptyString element).

If isAbsolute is set to true, when calling the AsString
method on a nil HierarchyPath, only the separator will
be returned. Alternatively, if isAbsolute is false, it
will just return . to signal that the path currently
being processed is the one required.This avoids a nil
expr error coming from the xmlquery library.

Use the Query and QueryAll functions from the xmlquery
package to be able to handle the errors ourselves and
avoid panics.

Remove config default value for xmlRootPath. The field
will remain commented in config_defaults for reference.

Add tests for HierarchyPath.AsString function.

Add comments for XmlProvider and xmlRootPath opt.

Update XmlProvider String() func based on the comment
which specifies that it should display the already
parsed values out of cache.
2023-10-19 17:19:30 +02:00
andronache98
ecdf5e54ea Changed headers 2022-03-09 14:14:30 +01:00
andronache98
9ec56f5155 Changed headers 2022-03-09 14:14:30 +01:00
Trial97
2390bbf139 Added example for file_csv ers with multiple methods 2021-06-11 13:11:00 +02:00
Trial97
fbab732f46 Added config for partial csv with multiple methods 2021-06-11 13:11:00 +02:00
Trial97
746c750189 Added tests for flatstore with ACK and LazyQuotes 2021-05-19 15:54:14 +02:00
Trial97
06e4fd13c3 Updated integration tests 2020-12-09 17:00:04 +01:00
TeoV
e7c24c9d0f Add support for inflate templates in ERs ( + integration test) 2020-08-07 09:22:07 +02:00
TeoV
eaa3469aa2 Add test for *json type for ERs 2020-04-01 16:27:55 +02:00
adragusin
a836232021 Updated it tests 2020-01-15 10:45:59 -05:00