Commit Graph

40 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
d5d9a8bf03 Fix PasswordString getter to never return empty password
Added defensive check in PasswordString getter to ensure it returns the default password when _customPassword is empty, even if Password property is true. This prevents encryption failures when Password is set inconsistently.

Co-authored-by: Kvarkas <3611964+Kvarkas@users.noreply.github.com>
2025-10-16 04:12:08 +00:00
Dimitrij
985feb4b91 name space sync 2023-03-03 23:25:18 +00:00
Faryan Rezagholi
6751ff1af3 removed unused using directives 2020-09-27 15:04:28 +02:00
Faryan Rezagholi
c0a6240764 adjusted namespace 2020-06-13 01:06:41 +02:00
David Sparer
5ee7b3fcbf fixed failing test 2018-11-15 15:44:04 -06:00
David Sparer
b7cdf81665 ensure putty root node returns correct tree node type. Related to #998 2018-06-20 16:20:51 -05:00
David Sparer
a37b5deaa1 finished updating some tests for default inheritance 2018-04-06 15:02:14 -05:00
Chen, Peter
0b065b16b1 Fixed incorrect test name 2017-05-24 22:42:39 +10:00
Chen, Peter
b4d5451b11 Added extra logic to search the hostname and description of the connection instead of just the name. Also added associated tests 2017-05-24 22:36:29 +10:00
David Sparer
d08a46a573 fix 2017-02-11 17:57:49 -07:00
David Sparer
a530e7e70a simplified a few tests 2017-01-26 09:45:28 -07:00
David Sparer
6a871e73e0 modified the interface for the IConfirmer to be generic 2017-01-26 09:38:55 -07:00
David Sparer
1a776359c4 added test for folder expander 2017-01-14 11:44:09 -07:00
David Sparer
113e4035e5 refactored the deletion confirmer to make it testable 2017-01-14 11:14:30 -07:00
David Sparer
d03f830622 added null test for the composite click handler 2017-01-14 10:36:54 -07:00
David Sparer
9b42dc9f10 Refactored some click handlers and created a test for it
During testing I realized that the double and single click handlers were exactly the same thing, so i combined them into the composite click handler.
2017-01-14 10:11:22 -07:00
David Sparer
fd7adf3c64 added some more tests 2017-01-13 17:43:06 -07:00
David Sparer
05d8b7983a reorganized some test files and added tests for null args 2017-01-13 12:12:22 -07:00
David Sparer
6cc668fe83 added more tests for connectiontree delegates 2017-01-12 15:30:30 -07:00
David Sparer
b3e6fd7b96 created test for another tree handler 2017-01-12 15:09:24 -07:00
David Sparer
1d46c44c21 added tests for another click handler 2017-01-12 13:57:44 -07:00
David Sparer
8970a15d4e added tests for one of the click handlers 2017-01-12 13:33:12 -07:00
David Sparer
978d94a2cd resolved issue with unit test. we could not select a tree object without that object being visible 2017-01-12 11:12:18 -07:00
David Sparer
1e213dfff7 resolved issue with deleting the last folder in the tree 2016-12-13 09:58:24 -07:00
David Sparer
d5360c6568 Completed splitting the connection tree from the connection tree window 2016-12-13 09:00:38 -07:00
David Sparer
a0a92b9b40 RootNodeInfo.PasswordString will now return either a custom password (if one is set) otherwise the default password 2016-10-24 11:24:35 -06:00
David Sparer
ba878c7587 Moved some of the responsibility of the default encryption password into the RootNodeInfo class. This simplifies serialization a bit, though may not be the best place for storing encryption passwords 2016-10-24 10:51:59 -06:00
David Sparer
e6a00f7935 Merge branch 'develop' into Create_more_tests
# Conflicts:
#	mRemoteNGTests/mRemoteNGTests.csproj
2016-10-18 08:55:28 -06:00
Sean Kaim
e5d625f294 code clean up 2016-10-17 21:25:04 -04:00
David Sparer
9a1cb822d1 Created tests for the NodeSearcher 2016-10-17 13:14:29 -06:00
David Sparer
ff4e6ab3ca Fixed bug where nodes could be dragged (with errors) above or below the root connections node 2016-09-22 10:45:00 -06:00
David Sparer
2b6367a8a9 Fixed bug where connections/containers could be dragged between putty session nodes 2016-09-21 10:38:41 -06:00
David Sparer
cbe0c1a550 Created tests for model-dropped 2016-09-21 10:22:25 -06:00
David Sparer
d39e2a506f Added tests 2016-09-21 09:55:46 -06:00
David Sparer
a352516176 Fixed a bug where you could try to drag connection/containers onto a root putty session node 2016-09-21 09:38:54 -06:00
David Sparer
07fab69221 Created more tests for drag and drop handler 2016-09-21 09:35:07 -06:00
David Sparer
536d6f7c29 Refactored ConnectionTreeDragAndDropHandler to be more unit-test friendly. Began creating unit tests for it 2016-09-21 09:03:11 -06:00
David Sparer
1e68483deb - Renamed IParent to IHasParent
- Renamed Add, AddRange, Remove, RemoveRange to include the word "Child" to make it more explicit
- Added SetParent and RemoveParent functions
- DeleteNode now works
2016-09-07 09:24:30 -06:00
David Sparer
617ec4cc3e Moved the code for generating a recursive list of children to ContainerInfo where it makes more sense. Left a helper function in ConnectionTreeModel where it may still be useful 2016-09-06 14:55:19 -06:00
David Sparer
454f007e42 Created helper function GetChildList in ConnectionTreeModel to retrieve a flat list of all connections/folders under a particular node 2016-09-06 13:59:10 -06:00